diff options
| author | NoahR02 <noahreppert95@protonmail.com> | 2023-05-20 19:14:19 -0400 |
|---|---|---|
| committer | NoahR02 <noahreppert95@protonmail.com> | 2023-05-20 19:14:19 -0400 |
| commit | f0b08a6c6746e712c40ddf65d9cc9694a45a26eb (patch) | |
| tree | 5f79a57e161b424c36a3770c143372f2c9393cda /vendor/vulkan | |
| parent | a144a49a9ab53abe3747fdecc610b28d92a62caf (diff) | |
Add required metal types
Diffstat (limited to 'vendor/vulkan')
| -rw-r--r-- | vendor/vulkan/_gen/create_vulkan_odin_wrapper.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py b/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py index fb9c5b0b4..26bfc0a82 100644 --- a/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py +++ b/vendor/vulkan/_gen/create_vulkan_odin_wrapper.py @@ -48,8 +48,9 @@ def no_vk(t): return t OPAQUE_STRUCTS = """ -wl_surface :: struct {} // Opaque struct defined by Wayland -wl_display :: struct {} // Opaque struct defined by Wayland +wl_surface :: struct {} // Opaque struct defined by Wayland +wl_display :: struct {} // Opaque struct defined by Wayland +IOSurfaceRef :: struct {} // Opaque struct defined by Appleās CoreGraphics framework """ def convert_type(t, prev_name, curr_name): @@ -766,6 +767,12 @@ when ODIN_OS == .Windows { CAMetalLayer :: struct {} +MTLBuffer_id :: rawptr +MTLTexture_id :: rawptr +MTLSharedEvent_id :: rawptr +MTLDevice_id :: rawptr +MTLCommandQueue_id :: rawptr + /********************************/ """) f.write("\n") |