Skip to content

Commit

Permalink
Regenerate bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed Dec 19, 2023
1 parent bcdc946 commit c0804b7
Show file tree
Hide file tree
Showing 63 changed files with 1,168 additions and 927 deletions.
Binary file modified build/cache/cl.json.gz
Binary file not shown.
Binary file modified build/cache/dstorage.json.gz
Binary file not shown.
Binary file modified build/cache/gl.json.gz
Binary file not shown.
Binary file modified build/cache/glcore.json.gz
Binary file not shown.
Binary file modified build/cache/gles2.json.gz
Binary file not shown.
Binary file modified build/cache/openxr.json.gz
Binary file not shown.
Binary file modified build/cache/sdl.json.gz
Binary file not shown.
Binary file modified build/cache/spirv-reflect.json.gz
Binary file not shown.
Binary file modified build/cache/spirv.json.gz
Binary file not shown.
Binary file modified build/cache/vulkan.json.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion build/submodules/ANGLE
Submodule ANGLE updated from 24dabd to bd5dce
2 changes: 1 addition & 1 deletion build/submodules/MoltenVK
Submodule MoltenVK updated 79 files
+18 −55 Common/MVKOSExtensions.h
+9 −8 Common/MVKOSExtensions.mm
+1 −1 Demos/Cube/Cube.xcodeproj/project.pbxproj
+10 −9 Demos/Cube/iOS/DemoViewController.m
+45 −19 Demos/Cube/macOS/DemoViewController.m
+64 −33 Docs/MoltenVK_Runtime_UserGuide.md
+33 −0 Docs/Whats_New.md
+1 −1 ExternalRevisions/SPIRV-Cross_repo_revision
+1 −1 ExternalRevisions/Vulkan-Headers_repo_revision
+1 −1 ExternalRevisions/Vulkan-Tools_repo_revision
+1 −1 ExternalRevisions/glslang_repo_revision
+30 −20 MoltenVK/MoltenVK.xcodeproj/project.pbxproj
+45 −7 MoltenVK/MoltenVK/API/mvk_config.h
+7 −4 MoltenVK/MoltenVK/API/mvk_datatypes.h
+38 −25 MoltenVK/MoltenVK/API/mvk_private_api.h
+1 −1 MoltenVK/MoltenVK/Commands/MVKCmdDispatch.mm
+4 −2 MoltenVK/MoltenVK/Commands/MVKCmdDraw.h
+21 −18 MoltenVK/MoltenVK/Commands/MVKCmdDraw.mm
+50 −19 MoltenVK/MoltenVK/Commands/MVKCmdPipeline.h
+108 −35 MoltenVK/MoltenVK/Commands/MVKCmdPipeline.mm
+2 −2 MoltenVK/MoltenVK/Commands/MVKCmdQueries.h
+2 −2 MoltenVK/MoltenVK/Commands/MVKCmdQueries.mm
+222 −57 MoltenVK/MoltenVK/Commands/MVKCmdRendering.h
+176 −70 MoltenVK/MoltenVK/Commands/MVKCmdRendering.mm
+9 −15 MoltenVK/MoltenVK/Commands/MVKCmdTransfer.mm
+16 −35 MoltenVK/MoltenVK/Commands/MVKCommandBuffer.h
+99 −85 MoltenVK/MoltenVK/Commands/MVKCommandBuffer.mm
+135 −118 MoltenVK/MoltenVK/Commands/MVKCommandEncoderState.h
+349 −294 MoltenVK/MoltenVK/Commands/MVKCommandEncoderState.mm
+2 −2 MoltenVK/MoltenVK/Commands/MVKCommandPool.h
+2 −2 MoltenVK/MoltenVK/Commands/MVKCommandPool.mm
+23 −28 MoltenVK/MoltenVK/Commands/MVKCommandResourceFactory.h
+12 −13 MoltenVK/MoltenVK/Commands/MVKCommandResourceFactory.mm
+13 −3 MoltenVK/MoltenVK/Commands/MVKCommandTypePools.def
+0 −1 MoltenVK/MoltenVK/Commands/MVKMTLBufferAllocation.h
+62 −7 MoltenVK/MoltenVK/Commands/MVKMTLResourceBindings.h
+3 −9 MoltenVK/MoltenVK/GPUObjects/MVKBuffer.h
+6 −12 MoltenVK/MoltenVK/GPUObjects/MVKBuffer.mm
+1 −1 MoltenVK/MoltenVK/GPUObjects/MVKDescriptor.mm
+39 −35 MoltenVK/MoltenVK/GPUObjects/MVKDevice.h
+240 −140 MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm
+3 −0 MoltenVK/MoltenVK/GPUObjects/MVKDeviceFeatureStructs.def
+23 −20 MoltenVK/MoltenVK/GPUObjects/MVKImage.h
+121 −88 MoltenVK/MoltenVK/GPUObjects/MVKImage.mm
+0 −1 MoltenVK/MoltenVK/GPUObjects/MVKInstance.h
+27 −76 MoltenVK/MoltenVK/GPUObjects/MVKInstance.mm
+53 −11 MoltenVK/MoltenVK/GPUObjects/MVKPipeline.h
+151 −120 MoltenVK/MoltenVK/GPUObjects/MVKPipeline.mm
+8 −13 MoltenVK/MoltenVK/GPUObjects/MVKPixelFormats.mm
+2 −2 MoltenVK/MoltenVK/GPUObjects/MVKQueryPool.h
+3 −3 MoltenVK/MoltenVK/GPUObjects/MVKQueryPool.mm
+81 −46 MoltenVK/MoltenVK/GPUObjects/MVKQueue.h
+336 −181 MoltenVK/MoltenVK/GPUObjects/MVKQueue.mm
+22 −6 MoltenVK/MoltenVK/GPUObjects/MVKRenderPass.h
+39 −19 MoltenVK/MoltenVK/GPUObjects/MVKRenderPass.mm
+1 −3 MoltenVK/MoltenVK/GPUObjects/MVKResource.h
+1 −1 MoltenVK/MoltenVK/GPUObjects/MVKShaderModule.h
+16 −15 MoltenVK/MoltenVK/GPUObjects/MVKShaderModule.mm
+10 −9 MoltenVK/MoltenVK/GPUObjects/MVKSurface.h
+20 −23 MoltenVK/MoltenVK/GPUObjects/MVKSurface.mm
+13 −24 MoltenVK/MoltenVK/GPUObjects/MVKSwapchain.h
+227 −206 MoltenVK/MoltenVK/GPUObjects/MVKSwapchain.mm
+6 −4 MoltenVK/MoltenVK/GPUObjects/MVKSync.h
+6 −1 MoltenVK/MoltenVK/GPUObjects/MVKSync.mm
+3 −0 MoltenVK/MoltenVK/Layers/MVKExtensions.def
+30 −20 MoltenVK/MoltenVK/Utility/MVKBaseObject.h
+50 −24 MoltenVK/MoltenVK/Utility/MVKBaseObject.mm
+83 −0 MoltenVK/MoltenVK/Utility/MVKConfigMembers.def
+32 −43 MoltenVK/MoltenVK/Utility/MVKEnvironment.cpp
+26 −4 MoltenVK/MoltenVK/Utility/MVKEnvironment.h
+38 −0 MoltenVK/MoltenVK/Utility/MVKFoundation.cpp
+81 −56 MoltenVK/MoltenVK/Utility/MVKFoundation.h
+12 −12 MoltenVK/MoltenVK/Utility/MVKLogging.h
+4 −4 MoltenVK/MoltenVK/Utility/MVKSmallVector.h
+49 −30 MoltenVK/MoltenVK/Vulkan/mvk_datatypes.mm
+367 −102 MoltenVK/MoltenVK/Vulkan/vulkan.mm
+1 −0 MoltenVKShaderConverter/MoltenVKShaderConverterTool/MoltenVKShaderConverterTool.cpp
+2 −2 Scripts/runcts
+ Templates/spirv-tools/build.zip
2 changes: 1 addition & 1 deletion build/submodules/SDL
Submodule SDL updated 114 files
2 changes: 1 addition & 1 deletion build/submodules/SPIRV-Cross
Submodule SPIRV-Cross updated 70 files
+11 −2 .github/workflows/main.yml
+13 −5 main.cpp
+24 −0 reference/opt/shaders-hlsl/comp/ssbo-store-array.comp
+1 −0 reference/opt/shaders-msl/asm/comp/image-load-store-short-vector.invalid.asm.comp
+33 −0 reference/opt/shaders-msl/comp/metal3_1_regression_patch.replace-recursive-inputs.msl3.comp
+1 −0 reference/opt/shaders-msl/desktop-only/frag/image-ms.desktop.frag
+159 −0 reference/opt/shaders-msl/frag/runtime_array_as_argument_buffer.msl3.argument-tier-1.rich-descriptor.frag
+1 −3 reference/opt/shaders/asm/vert/invariant-block.sso.asm.vert
+1 −3 reference/opt/shaders/asm/vert/invariant.sso.asm.vert
+1 −1 reference/opt/shaders/vulkan/comp/array-of-buffer-reference.nocompat.vk.comp.vk
+1 −1 reference/opt/shaders/vulkan/comp/buffer-reference-atomic.nocompat.vk.comp.vk
+1 −1 reference/opt/shaders/vulkan/comp/buffer-reference-base-alignment-promote.nocompat.vk.comp.vk
+1 −1 reference/opt/shaders/vulkan/comp/buffer-reference-bitcast-uvec2-2.nocompat.invalid.vk.comp.vk
+1 −1 reference/opt/shaders/vulkan/comp/buffer-reference-bitcast-uvec2.nocompat.vk.comp.vk
+1 −1 reference/opt/shaders/vulkan/comp/buffer-reference-bitcast.nocompat.vk.comp.vk
+1 −1 reference/opt/shaders/vulkan/comp/buffer-reference-decorations.nocompat.vk.comp.vk
+1 −1 reference/opt/shaders/vulkan/comp/buffer-reference.nocompat.vk.comp.vk
+22 −0 reference/shaders-hlsl/comp/ssbo-store-array.comp
+82 −0 reference/shaders-msl-no-opt/comp/extract-atomics-from-function.comp
+70 −0 reference/shaders-msl-no-opt/frag/ray-query-mutability.spv14.vk.msl24.frag
+1 −0 reference/shaders-msl/asm/comp/image-load-store-short-vector.invalid.asm.comp
+31 −0 reference/shaders-msl/comp/metal3_1_regression_patch.replace-recursive-inputs.msl3.comp
+1 −0 reference/shaders-msl/desktop-only/frag/image-ms.desktop.frag
+1 −1 reference/shaders-msl/frag/ray-query-object-in-function.spv14.vk.msl24.frag
+233 −0 reference/shaders-msl/frag/runtime_array_as_argument_buffer.msl3.argument-tier-1.rich-descriptor.frag
+1 −1 reference/shaders-no-opt/asm/comp/bda-to-array-in-buffer.asm.spv16.nocompat.vk.comp.vk
+13 −0 reference/shaders-no-opt/asm/comp/block-undef.noeliminate.invalid.asm.comp
+1 −1 reference/shaders-no-opt/asm/comp/buffer-device-address-ptr-casting.vk.nocompat.asm.comp.vk
+1 −1 reference/shaders-no-opt/asm/comp/buffer-reference-aliased-block-name.nocompat.vk.asm.comp.vk
+1 −1 reference/shaders-no-opt/asm/comp/buffer-reference-pointer-to-pod-in-buffer.asm.nocompat.vk.comp.vk
+1 −1 reference/shaders-no-opt/asm/comp/buffer-reference-pointer-to-unused-pod-in-buffer.asm.nocompat.vk.comp.vk
+1 −1 reference/shaders-no-opt/asm/comp/buffer-reference-synthesized-pointer-2.asm.nocompat.vk.comp.vk
+1 −1 reference/shaders-no-opt/asm/comp/buffer-reference-synthesized-pointer.asm.nocompat.vk.comp.vk
+12 −0 reference/shaders-no-opt/asm/comp/empty-ubo-block.noeliminate.asm.comp
+1 −1 reference/shaders-no-opt/asm/comp/nonuniform-bracket-handling.vk.nocompat.asm.comp.vk
+49 −0 reference/shaders-no-opt/asm/mesh/invariant-position-dx-style.vk.nocompat.spv14.asm.mesh.vk
+35 −0 reference/shaders-no-opt/asm/mesh/mesh-shader-clip-cull.vk.nocompat.spv14.asm.mesh.vk
+11 −0 reference/shaders-no-opt/frag/mesh-shader-perprimitive.spv14.nocompat.vk.frag.vk
+19 −0 reference/shaders-no-opt/mesh/invariant-position-mesh.spv14.nocompat.vk.mesh.vk
+22 −0 reference/shaders-no-opt/vulkan/comp/image-64bit.vk.nocompat.comp.vk
+1 −3 reference/shaders/asm/vert/invariant-block.sso.asm.vert
+1 −3 reference/shaders/asm/vert/invariant.sso.asm.vert
+1 −1 reference/shaders/vulkan/comp/array-of-buffer-reference.nocompat.vk.comp.vk
+1 −1 reference/shaders/vulkan/comp/buffer-reference-atomic.nocompat.vk.comp.vk
+1 −1 reference/shaders/vulkan/comp/buffer-reference-base-alignment-promote.nocompat.vk.comp.vk
+1 −1 reference/shaders/vulkan/comp/buffer-reference-bitcast-uvec2-2.nocompat.invalid.vk.comp.vk
+1 −1 reference/shaders/vulkan/comp/buffer-reference-bitcast-uvec2.nocompat.vk.comp.vk
+1 −1 reference/shaders/vulkan/comp/buffer-reference-bitcast.nocompat.vk.comp.vk
+1 −1 reference/shaders/vulkan/comp/buffer-reference-decorations.nocompat.vk.comp.vk
+1 −1 reference/shaders/vulkan/comp/buffer-reference.nocompat.vk.comp.vk
+19 −0 shaders-hlsl/comp/ssbo-store-array.comp
+69 −0 shaders-msl-no-opt/comp/extract-atomics-from-function.comp
+26 −0 shaders-msl-no-opt/frag/ray-query-mutability.spv14.vk.msl24.frag
+21 −0 shaders-msl/comp/metal3_1_regression_patch.replace-recursive-inputs.msl3.comp
+90 −0 shaders-msl/frag/runtime_array_as_argument_buffer.msl3.argument-tier-1.rich-descriptor.frag
+34 −0 shaders-no-opt/asm/comp/block-undef.noeliminate.invalid.asm.comp
+21 −0 shaders-no-opt/asm/comp/empty-ubo-block.noeliminate.asm.comp
+151 −0 shaders-no-opt/asm/mesh/invariant-position-dx-style.vk.nocompat.spv14.asm.mesh
+104 −0 shaders-no-opt/asm/mesh/mesh-shader-clip-cull.vk.nocompat.spv14.asm.mesh
+10 −0 shaders-no-opt/frag/mesh-shader-perprimitive.spv14.nocompat.vk.frag
+18 −0 shaders-no-opt/mesh/invariant-position-mesh.spv14.nocompat.vk.mesh
+16 −0 shaders-no-opt/vulkan/comp/image-64bit.vk.nocompat.comp
+84 −33 spirv_cross.cpp
+5 −0 spirv_cross.hpp
+39 −0 spirv_cross.natvis
+60 −7 spirv_glsl.cpp
+6 −1 spirv_hlsl.cpp
+301 −68 spirv_msl.cpp
+22 −1 spirv_msl.hpp
+7 −0 test_shaders.py
2 changes: 1 addition & 1 deletion build/submodules/SPIRV-Reflect
Submodule SPIRV-Reflect updated 45 files
+5 −1 .github/workflows/linux-cmake-build.yml
+118 −116 CMakeLists.txt
+13 −0 SECURITY.md
+54 −8 common/output_stream.cpp
+2 −1 common/output_stream.h
+7 −2 examples/common.cpp
+81 −55 spirv_reflect.c
+10 −0 spirv_reflect.h
+1 −1 tests/entry_exec_mode/geom_inv_out_vert.spv.yaml
+ tests/execution_mode/local_size_id.spv
+25 −0 tests/execution_mode/local_size_id.spv.yaml
+ tests/execution_mode/local_size_id_spec.spv
+25 −0 tests/execution_mode/local_size_id_spec.spv.yaml
+1 −1 tests/glsl/built_in_format.spv.yaml
+2 −2 tests/glsl/frag_array_input.spv.yaml
+20 −0 tests/glsl/frag_barycentric.glsl
+ tests/glsl/frag_barycentric.spv
+152 −0 tests/glsl/frag_barycentric.spv.yaml
+1 −1 tests/glsl/io_vars_vs.spv.yaml
+1 −1 tests/glsl/texel_buffer.spv.yaml
+1 −1 tests/hlsl/constantbuffer.spv.yaml
+1 −1 tests/hlsl/constantbuffer_nested_structs.spv.yaml
+21 −0 tests/interface/geom_input_builtin_array.glsl
+ tests/interface/geom_input_builtin_array.spv
+208 −0 tests/interface/geom_input_builtin_array.spv.yaml
+ tests/interface/vertex_input_builtin_block.spv
+245 −0 tests/interface/vertex_input_builtin_block.spv.yaml
+12 −0 tests/interface/vertex_input_builtin_non_block.glsl
+ tests/interface/vertex_input_builtin_non_block.spv
+190 −0 tests/interface/vertex_input_builtin_non_block.spv.yaml
+1 −1 tests/issues/178/vertex_input_struct.spv.yaml
+1 −1 tests/issues/178/vertex_input_struct2.spv.yaml
+1 −0 tests/issues/227/README.md
+ tests/issues/227/null_node.spv
+248 −0 tests/issues/227/null_node.spv.yaml
+1 −1 tests/multi_entrypoint/multi_entrypoint.spv.yaml
+1 −1 tests/push_constants/non_zero_block_offset.spv.yaml
+3 −3 tests/raytrace/rayquery_init_ds.spv.yaml
+2 −2 tests/raytrace/rayquery_init_hs.spv.yaml
+0 −10 util/stripper/CMakeLists.txt
+0 −78 util/stripper/io.h
+0 −66 util/stripper/main.cpp
+ util/stripper/sample.spv
+0 −64 util/stripper/stripper.cpp
+0 −13 util/stripper/stripper.h
2 changes: 1 addition & 1 deletion build/submodules/SPIRV-Tools
Submodule SPIRV-Tools updated 67 files
+25 −0 .github/dependabot.yml
+6 −2 .github/workflows/autoroll.yml
+2 −2 .github/workflows/bazel.yml
+1 −1 .github/workflows/release.yml
+53 −0 .github/workflows/scorecard.yml
+1 −1 .github/workflows/wasm.yml
+2 −0 Android.mk
+4 −0 BUILD.gn
+27 −0 CHANGES
+4 −4 CONTRIBUTING.md
+3 −3 DEPS
+1 −0 README.md
+1 −1 docs/downloads.md
+2 −2 docs/projects.md
+0 −122 include/spirv-tools/instrument.hpp
+9 −0 include/spirv-tools/libspirv.h
+9 −8 include/spirv-tools/linker.hpp
+14 −6 include/spirv-tools/optimizer.hpp
+10 −6 source/assembly_grammar.cpp
+10 −5 source/link/linker.cpp
+25 −45 source/operand.cpp
+4 −0 source/opt/CMakeLists.txt
+2 −0 source/opt/aggressive_dead_code_elim_pass.cpp
+8 −3 source/opt/decoration_manager.cpp
+5 −4 source/opt/decoration_manager.h
+42 −613 source/opt/inst_bindless_check_pass.cpp
+4 −11 source/opt/inst_bindless_check_pass.h
+86 −221 source/opt/inst_buff_addr_check_pass.cpp
+4 −9 source/opt/inst_buff_addr_check_pass.h
+236 −0 source/opt/inst_debug_printf_pass.cpp
+125 −3 source/opt/inst_debug_printf_pass.h
+0 −400 source/opt/instrument_pass.cpp
+15 −182 source/opt/instrument_pass.h
+493 −0 source/opt/invocation_interlock_placement_pass.cpp
+158 −0 source/opt/invocation_interlock_placement_pass.h
+6 −0 source/opt/ir_context.h
+2 −1 source/opt/local_access_chain_convert_pass.cpp
+3 −1 source/opt/local_single_block_elim_pass.cpp
+3 −1 source/opt/local_single_store_elim_pass.cpp
+8 −0 source/opt/module.h
+52 −11 source/opt/optimizer.cpp
+2 −0 source/opt/passes.h
+46 −0 source/opt/switch_descriptorset_pass.cpp
+52 −0 source/opt/switch_descriptorset_pass.h
+351 −101 source/opt/trim_capabilities_pass.cpp
+57 −11 source/opt/trim_capabilities_pass.h
+1 −1 source/print.cpp
+2 −0 source/val/validate.cpp
+8 −0 source/val/validate.h
+160 −9 source/val/validate_image.cpp
+2 −0 source/val/validate_memory.cpp
+42 −30 source/val/validation_state.cpp
+18 −0 source/val/validation_state.h
+16 −0 test/link/binary_version_test.cpp
+47 −15 test/operand_capabilities_test.cpp
+2 −0 test/opt/CMakeLists.txt
+44 −1 test/opt/aggressive_dead_code_elim_test.cpp
+2,017 −2,395 test/opt/inst_bindless_check_test.cpp
+173 −338 test/opt/inst_buff_addr_check_test.cpp
+613 −0 test/opt/invocation_interlock_placement_test.cpp
+193 −0 test/opt/switch_descriptorset_test.cpp
+1,432 −44 test/opt/trim_capabilities_pass_test.cpp
+1,381 −8 test/val/val_image_test.cpp
+9 −0 tools/link/linker.cpp
+4 −0 tools/opt/opt.cpp
+3 −3 tools/sva/yarn.lock
+13 −11 utils/update_build_version.py
2 changes: 1 addition & 1 deletion build/submodules/SwiftShader
Submodule SwiftShader updated 6708 files
2 changes: 1 addition & 1 deletion build/submodules/Vulkan-Loader
2 changes: 1 addition & 1 deletion src/Microsoft/Silk.NET.DirectStorage/DStorage.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public unsafe partial class DStorage : NativeAPI
public const int FacilityGame = unchecked((int) 0x924);
[NativeName("Type", "int")]
[NativeName("Name", "DSTORAGE_SDK_VERSION")]
public const int SdkVersion = unchecked((int) 0xC9);
public const int SdkVersion = unchecked((int) 0xCA);
[NativeName("Type", "int")]
[NativeName("Name", "DSTORAGE_MIN_QUEUE_CAPACITY")]
public const int MinQueueCapacity = unchecked((int) 0x80);
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion src/Native/Silk.NET.DirectStorage.Native/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1
1.2.2
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,34 @@
namespace Silk.NET.OpenCL.Extensions.IMG
{
[Obsolete("The \"ungrouped\" enums (CLEnum, KHR, etc...) are deprecated in favour of the \"grouped\" enums (ErrorCodes, DeviceType, etc...). Not only is this akin to how the original specification represents enums, it also ensures that the size of the enum is correct which is a guarantee the \"ungrouped\" enums do not provide. As such, we have made every attempt to prevent functions known to use these ungrouped enums problematically from compiling; but regardless of whether usage of these deprecated enums compiles please use the other enums to ensure that all functions will work as intended. ")]
[Flags]
[NativeName("Name", "CLenum")]
public enum IMG : int
{
[NativeName("Name", "CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")]
RelaxRequirements = 0x1,
[NativeName("Name", "CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")]
MemAllocRelaxRequirementsImg = 0x1,
[NativeName("Name", "CL_MEM_ALLOC_GPU_WRITE_COMBINE_IMG")]
GpuWriteCombine = 0x2,
[NativeName("Name", "CL_MEM_ALLOC_GPU_WRITE_COMBINE_IMG")]
MemAllocGpuWriteCombineImg = 0x2,
[NativeName("Name", "CL_MEM_ALLOC_GPU_CACHED_IMG")]
GpuCached = 0x4,
[NativeName("Name", "CL_MEM_ALLOC_GPU_CACHED_IMG")]
MemAllocGpuCachedImg = 0x4,
[NativeName("Name", "CL_MEM_ALLOC_CPU_LOCAL_IMG")]
CpuLocal = 0x8,
[NativeName("Name", "CL_MEM_ALLOC_CPU_LOCAL_IMG")]
MemAllocCpuLocalImg = 0x8,
[NativeName("Name", "CL_MEM_ALLOC_GPU_LOCAL_IMG")]
GpuLocal = 0x10,
[NativeName("Name", "CL_MEM_ALLOC_GPU_LOCAL_IMG")]
MemAllocGpuLocalImg = 0x10,
[NativeName("Name", "CL_MEM_ALLOC_GPU_PRIVATE_IMG")]
GpuPrivate = 0x20,
[NativeName("Name", "CL_MEM_ALLOC_GPU_PRIVATE_IMG")]
MemAllocGpuPrivateImg = 0x20,
[NativeName("Name", "CL_MIPMAP_FILTER_ANY_IMG")]
Any = 0x0,
[NativeName("Name", "CL_MIPMAP_FILTER_ANY_IMG")]
Expand All @@ -41,6 +62,10 @@ public enum IMG : int
GenerateMipmapImg = 0x40D6,
[NativeName("Name", "CL_COMMAND_GENERATE_MIPMAP_IMG")]
CommandGenerateMipmapImg = 0x40D6,
[NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")]
MemoryCapabilitiesImg = 0x40D8,
[NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")]
DeviceMemoryCapabilitiesImg = 0x40D8,
[NativeName("Name", "CL_GRALLOC_RESOURCE_NOT_ACQUIRED_IMG")]
GrallocResourceNotAcquiredImg = 0x40D4,
[NativeName("Name", "CL_INVALID_GRALLOC_OBJECT_IMG")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,15 @@ public enum MemAllocFlags : ulong
None = 0,
[NativeName("Name", "CL_MEM_ALLOC_RELAX_REQUIREMENTS_IMG")]
RelaxRequirements = 0x1,
[NativeName("Name", "CL_MEM_ALLOC_GPU_WRITE_COMBINE_IMG")]
GpuWriteCombine = 0x2,
[NativeName("Name", "CL_MEM_ALLOC_GPU_CACHED_IMG")]
GpuCached = 0x4,
[NativeName("Name", "CL_MEM_ALLOC_CPU_LOCAL_IMG")]
CpuLocal = 0x8,
[NativeName("Name", "CL_MEM_ALLOC_GPU_LOCAL_IMG")]
GpuLocal = 0x10,
[NativeName("Name", "CL_MEM_ALLOC_GPU_PRIVATE_IMG")]
GpuPrivate = 0x20,
}
}
4 changes: 4 additions & 0 deletions src/OpenCL/Silk.NET.OpenCL/Enums/CLEnum.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1366,6 +1366,10 @@ public enum CLEnum : int
BuiltInKernelsWithVersionKhr = 0x1062,
[NativeName("Name", "CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION_KHR")]
DeviceBuiltInKernelsWithVersionKhr = 0x1062,
[NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")]
MemoryCapabilitiesImg = 0x40D8,
[NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")]
DeviceMemoryCapabilitiesImg = 0x40D8,
[NativeName("Name", "CL_DEVICE_CONTROLLED_TERMINATION_CAPABILITIES_ARM")]
ControlledTerminationCapabilitiesArm = 0x41EE,
[NativeName("Name", "CL_DEVICE_CONTROLLED_TERMINATION_CAPABILITIES_ARM")]
Expand Down
2 changes: 2 additions & 0 deletions src/OpenCL/Silk.NET.OpenCL/Enums/DeviceInfo.gen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ public enum DeviceInfo : int
IlsWithVersionKhr = 0x1061,
[NativeName("Name", "CL_DEVICE_BUILT_IN_KERNELS_WITH_VERSION_KHR")]
BuiltInKernelsWithVersionKhr = 0x1062,
[NativeName("Name", "CL_DEVICE_MEMORY_CAPABILITIES_IMG")]
MemoryCapabilitiesImg = 0x40D8,
[NativeName("Name", "CL_DEVICE_CONTROLLED_TERMINATION_CAPABILITIES_ARM")]
ControlledTerminationCapabilitiesArm = 0x41EE,
[NativeName("Name", "CL_DEVICE_QUEUE_FAMILY_PROPERTIES_INTEL")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
namespace Silk.NET.SPIRV.Reflect
{
[Flags]
[NativeName("Name", "__AnonymousEnum_spirv_reflect_L275_C1")]
public enum AnonymousEnumSpirvReflectL275C1 : int
[NativeName("Name", "__AnonymousEnum_spirv_reflect_L281_C1")]
public enum AnonymousEnumSpirvReflectL281C1 : int
{
[NativeName("Name", "")]
None = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

namespace Silk.NET.SPIRV.Reflect
{
[NativeName("Name", "__AnonymousEnum_spirv_reflect_L280_C1")]
public enum AnonymousEnumSpirvReflectL280C1 : int
[NativeName("Name", "__AnonymousEnum_spirv_reflect_L286_C1")]
public enum AnonymousEnumSpirvReflectL286C1 : int
{
[NativeName("Name", "SPV_REFLECT_BINDING_NUMBER_DONT_CHANGE")]
BindingNumberDontChange = unchecked((int) 0xFFFFFFFFFFFFFFFF),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,11 @@ public enum DecorationFlagBits : int
RelaxedPrecision = 0x100,
[NativeName("Name", "SPV_REFLECT_DECORATION_NON_READABLE")]
NonReadable = 0x200,
[NativeName("Name", "SPV_REFLECT_DECORATION_PATCH")]
Patch = 0x400,
[NativeName("Name", "SPV_REFLECT_DECORATION_PER_VERTEX")]
PerVertex = 0x800,
[NativeName("Name", "SPV_REFLECT_DECORATION_PER_TASK")]
PerTask = 0x1000,
}
}
18 changes: 18 additions & 0 deletions src/SPIRV/Silk.NET.SPIRV.Reflect/Enums/ExecutionModeValue.gen.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.


using System;
using Silk.NET.Core.Attributes;

#pragma warning disable 1591

namespace Silk.NET.SPIRV.Reflect
{
[NativeName("Name", "SpvReflectExecutionModeValue")]
public enum ExecutionModeValue : int
{
[NativeName("Name", "SPV_REFLECT_EXECUTION_MODE_SPEC_CONSTANT")]
SpecConstant = unchecked((int) 0xFFFFFFFFFFFFFFFF),
}
}
Loading

0 comments on commit c0804b7

Please sign in to comment.