react-native-webgpu 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/Package.swift +86 -56
  2. package/android/CMakeLists.txt +10 -4
  3. package/android/build.gradle +23 -0
  4. package/cpp/rnwgpu/SurfaceRegistry.h +2 -2
  5. package/package.json +6 -8
  6. package/react-native-webgpu.podspec +38 -2
  7. package/cpp/webgpu/webgpu.h +0 -5063
  8. package/cpp/webgpu/webgpu_cpp.h +0 -10401
  9. package/cpp/webgpu/webgpu_cpp_chained_struct.h +0 -57
  10. package/cpp/webgpu/webgpu_cpp_print.h +0 -2868
  11. package/cpp/webgpu/webgpu_enum_class_bitmasks.h +0 -163
  12. package/libs/android/arm64-v8a/libwebgpu_dawn.so +0 -0
  13. package/libs/android/armeabi-v7a/libwebgpu_dawn.so +0 -0
  14. package/libs/android/x86/libwebgpu_dawn.so +0 -0
  15. package/libs/android/x86_64/libwebgpu_dawn.so +0 -0
  16. package/libs/apple/libwebgpu_dawn.xcframework/Info.plist +0 -65
  17. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/dawn_proc_table.h +0 -329
  18. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/native/DawnNative.h +0 -367
  19. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/native/NullBackend.h +0 -39
  20. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/native/OpenGLBackend.h +0 -89
  21. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/native/VulkanBackend.h +0 -183
  22. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/native/dawn_native_export.h +0 -49
  23. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/webgpu.h +0 -5063
  24. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/webgpu.ixx +0 -358
  25. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/webgpu_cpp.h +0 -10401
  26. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/webgpu_cpp_print.h +0 -2868
  27. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/wire/client/webgpu.h +0 -369
  28. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/wire/client/webgpu_cpp.h +0 -10584
  29. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/dawn/wire/client/webgpu_cpp_print.h +0 -2868
  30. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu/webgpu.h +0 -33
  31. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu/webgpu_cpp.h +0 -33
  32. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu/webgpu_cpp_chained_struct.h +0 -57
  33. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu/webgpu_cpp_print.h +0 -33
  34. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu/webgpu_enum_class_bitmasks.h +0 -163
  35. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu_upstream/webgpu/webgpu_cpp.h +0 -5932
  36. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu_upstream/webgpu/webgpu_cpp_chained_struct.h +0 -54
  37. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu_upstream/webgpu/webgpu_cpp_print.h +0 -2059
  38. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/Headers/webgpu_upstream/webgpu/webgpu_enum_class_bitmasks.h +0 -163
  39. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64/libwebgpu_dawn.a +0 -0
  40. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/dawn_proc_table.h +0 -329
  41. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/native/DawnNative.h +0 -367
  42. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/native/NullBackend.h +0 -39
  43. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/native/OpenGLBackend.h +0 -89
  44. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/native/VulkanBackend.h +0 -183
  45. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/native/dawn_native_export.h +0 -49
  46. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/webgpu.h +0 -5063
  47. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/webgpu.ixx +0 -358
  48. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/webgpu_cpp.h +0 -10401
  49. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/webgpu_cpp_print.h +0 -2868
  50. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/wire/client/webgpu.h +0 -369
  51. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/wire/client/webgpu_cpp.h +0 -10584
  52. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/dawn/wire/client/webgpu_cpp_print.h +0 -2868
  53. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu/webgpu.h +0 -33
  54. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu/webgpu_cpp.h +0 -33
  55. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu/webgpu_cpp_chained_struct.h +0 -57
  56. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu/webgpu_cpp_print.h +0 -33
  57. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu/webgpu_enum_class_bitmasks.h +0 -163
  58. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu_upstream/webgpu/webgpu_cpp.h +0 -5932
  59. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu_upstream/webgpu/webgpu_cpp_chained_struct.h +0 -54
  60. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu_upstream/webgpu/webgpu_cpp_print.h +0 -2059
  61. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/Headers/webgpu_upstream/webgpu/webgpu_enum_class_bitmasks.h +0 -163
  62. package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/libwebgpu_dawn.a +0 -4
  63. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/dawn_proc_table.h +0 -329
  64. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/native/DawnNative.h +0 -367
  65. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/native/NullBackend.h +0 -39
  66. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/native/OpenGLBackend.h +0 -89
  67. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/native/VulkanBackend.h +0 -183
  68. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/native/dawn_native_export.h +0 -49
  69. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/webgpu.h +0 -5063
  70. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/webgpu.ixx +0 -358
  71. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/webgpu_cpp.h +0 -10401
  72. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/webgpu_cpp_print.h +0 -2868
  73. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/wire/client/webgpu.h +0 -369
  74. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/wire/client/webgpu_cpp.h +0 -10584
  75. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/dawn/wire/client/webgpu_cpp_print.h +0 -2868
  76. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu/webgpu.h +0 -33
  77. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu/webgpu_cpp.h +0 -33
  78. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu/webgpu_cpp_chained_struct.h +0 -57
  79. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu/webgpu_cpp_print.h +0 -33
  80. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu/webgpu_enum_class_bitmasks.h +0 -163
  81. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu_upstream/webgpu/webgpu_cpp.h +0 -5932
  82. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu_upstream/webgpu/webgpu_cpp_chained_struct.h +0 -54
  83. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu_upstream/webgpu/webgpu_cpp_print.h +0 -2059
  84. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/Headers/webgpu_upstream/webgpu/webgpu_enum_class_bitmasks.h +0 -163
  85. package/libs/apple/libwebgpu_dawn.xcframework/macos-arm64_x86_64/libwebgpu_dawn.a +0 -4
@@ -1,163 +0,0 @@
1
- // Copyright 2017 The Dawn & Tint Authors
2
- //
3
- // Redistribution and use in source and binary forms, with or without
4
- // modification, are permitted provided that the following conditions are met:
5
- //
6
- // 1. Redistributions of source code must retain the above copyright notice, this
7
- // list of conditions and the following disclaimer.
8
- //
9
- // 2. Redistributions in binary form must reproduce the above copyright notice,
10
- // this list of conditions and the following disclaimer in the documentation
11
- // and/or other materials provided with the distribution.
12
- //
13
- // 3. Neither the name of the copyright holder nor the names of its
14
- // contributors may be used to endorse or promote products derived from
15
- // this software without specific prior written permission.
16
- //
17
- // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
18
- // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19
- // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20
- // DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
21
- // FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22
- // DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
23
- // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
24
- // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25
- // OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26
- // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
-
28
- #ifndef WEBGPU_ENUM_CLASS_BITMASKS_H_
29
- #define WEBGPU_ENUM_CLASS_BITMASKS_H_
30
-
31
- #include <type_traits>
32
-
33
- // The operators in wgpu:: namespace need be introduced into other namespaces with
34
- // using-declarations for C++ Argument Dependent Lookup to work.
35
- #define WGPU_IMPORT_BITMASK_OPERATORS \
36
- using wgpu::operator|; \
37
- using wgpu::operator&; \
38
- using wgpu::operator^; \
39
- using wgpu::operator~; \
40
- using wgpu::operator&=; \
41
- using wgpu::operator|=; \
42
- using wgpu::operator^=; \
43
- using wgpu::HasZeroOrOneBits;
44
-
45
- namespace wgpu {
46
-
47
- template <typename T>
48
- struct IsWGPUBitmask {
49
- static constexpr bool enable = false;
50
- };
51
-
52
- template <typename T, typename Enable = void>
53
- struct LowerBitmask {
54
- static constexpr bool enable = false;
55
- };
56
-
57
- template <typename T>
58
- struct LowerBitmask<T, typename std::enable_if<IsWGPUBitmask<T>::enable>::type> {
59
- static constexpr bool enable = true;
60
- using type = T;
61
- constexpr static T Lower(T t) { return t; }
62
- };
63
-
64
- template <typename T>
65
- struct BoolConvertible {
66
- using Integral = typename std::underlying_type<T>::type;
67
-
68
- explicit constexpr BoolConvertible(Integral value) : value(value) {}
69
- // NOLINTNEXTLINE(google-explicit-constructor)
70
- constexpr operator bool() const { return value != 0; }
71
- // NOLINTNEXTLINE(google-explicit-constructor)
72
- constexpr operator T() const { return static_cast<T>(value); }
73
-
74
- Integral value;
75
- };
76
-
77
- template <typename T>
78
- struct LowerBitmask<BoolConvertible<T>> {
79
- static constexpr bool enable = true;
80
- using type = T;
81
- static constexpr type Lower(BoolConvertible<T> t) { return t; }
82
- };
83
-
84
- template <
85
- typename T1,
86
- typename T2,
87
- typename = typename std::enable_if<LowerBitmask<T1>::enable && LowerBitmask<T2>::enable>::type>
88
- constexpr BoolConvertible<typename LowerBitmask<T1>::type> operator|(T1 left, T2 right) {
89
- using T = typename LowerBitmask<T1>::type;
90
- using Integral = typename std::underlying_type<T>::type;
91
- return BoolConvertible<T>(static_cast<Integral>(LowerBitmask<T1>::Lower(left)) |
92
- static_cast<Integral>(LowerBitmask<T2>::Lower(right)));
93
- }
94
-
95
- template <
96
- typename T1,
97
- typename T2,
98
- typename = typename std::enable_if<LowerBitmask<T1>::enable && LowerBitmask<T2>::enable>::type>
99
- constexpr BoolConvertible<typename LowerBitmask<T1>::type> operator&(T1 left, T2 right) {
100
- using T = typename LowerBitmask<T1>::type;
101
- using Integral = typename std::underlying_type<T>::type;
102
- return BoolConvertible<T>(static_cast<Integral>(LowerBitmask<T1>::Lower(left)) &
103
- static_cast<Integral>(LowerBitmask<T2>::Lower(right)));
104
- }
105
-
106
- template <
107
- typename T1,
108
- typename T2,
109
- typename = typename std::enable_if<LowerBitmask<T1>::enable && LowerBitmask<T2>::enable>::type>
110
- constexpr BoolConvertible<typename LowerBitmask<T1>::type> operator^(T1 left, T2 right) {
111
- using T = typename LowerBitmask<T1>::type;
112
- using Integral = typename std::underlying_type<T>::type;
113
- return BoolConvertible<T>(static_cast<Integral>(LowerBitmask<T1>::Lower(left)) ^
114
- static_cast<Integral>(LowerBitmask<T2>::Lower(right)));
115
- }
116
-
117
- template <typename T1>
118
- constexpr BoolConvertible<typename LowerBitmask<T1>::type> operator~(T1 t) {
119
- using T = typename LowerBitmask<T1>::type;
120
- using Integral = typename std::underlying_type<T>::type;
121
- return BoolConvertible<T>(
122
- static_cast<Integral>(~static_cast<Integral>(LowerBitmask<T1>::Lower(t))));
123
- }
124
-
125
- template <
126
- typename T,
127
- typename T2,
128
- typename = typename std::enable_if<IsWGPUBitmask<T>::enable && LowerBitmask<T2>::enable>::type>
129
- constexpr T& operator&=(T& l, T2 right) {
130
- T r = LowerBitmask<T2>::Lower(right);
131
- l = l & r;
132
- return l;
133
- }
134
-
135
- template <
136
- typename T,
137
- typename T2,
138
- typename = typename std::enable_if<IsWGPUBitmask<T>::enable && LowerBitmask<T2>::enable>::type>
139
- constexpr T& operator|=(T& l, T2 right) {
140
- T r = LowerBitmask<T2>::Lower(right);
141
- l = l | r;
142
- return l;
143
- }
144
-
145
- template <
146
- typename T,
147
- typename T2,
148
- typename = typename std::enable_if<IsWGPUBitmask<T>::enable && LowerBitmask<T2>::enable>::type>
149
- constexpr T& operator^=(T& l, T2 right) {
150
- T r = LowerBitmask<T2>::Lower(right);
151
- l = l ^ r;
152
- return l;
153
- }
154
-
155
- template <typename T>
156
- constexpr bool HasZeroOrOneBits(T value) {
157
- using Integral = typename std::underlying_type<T>::type;
158
- return (static_cast<Integral>(value) & (static_cast<Integral>(value) - 1)) == 0;
159
- }
160
-
161
- } // namespace wgpu
162
-
163
- #endif // WEBGPU_ENUM_CLASS_BITMASKS_H_
@@ -1,4 +0,0 @@
1
- [diffend] Oversized file quarantined before diffing.
2
- name: package/libs/apple/libwebgpu_dawn.xcframework/ios-arm64_x86_64-simulator/libwebgpu_dawn.a
3
- size: 42656720 bytes
4
- sha256: 95078993275bccc969b1dfa1ad0934cbacc05ae59e8aa2a6cc46ce93e97d4f69
@@ -1,329 +0,0 @@
1
-
2
- #ifndef DAWN_DAWN_PROC_TABLE_H_
3
- #define DAWN_DAWN_PROC_TABLE_H_
4
-
5
- #include "dawn/webgpu.h"
6
-
7
- // Note: Often allocated as a static global. Do not add a complex constructor.
8
- typedef struct DawnProcTable {
9
- uint8_t version[20]{};
10
-
11
- WGPUProcCreateInstance createInstance = nullptr;
12
- WGPUProcGetInstanceFeatures getInstanceFeatures = nullptr;
13
- WGPUProcGetInstanceLimits getInstanceLimits = nullptr;
14
- WGPUProcHasInstanceFeature hasInstanceFeature = nullptr;
15
- WGPUProcGetProcAddress getProcAddress = nullptr;
16
-
17
- WGPUProcAdapterCreateDevice adapterCreateDevice = nullptr;
18
- WGPUProcAdapterGetFeatures adapterGetFeatures = nullptr;
19
- WGPUProcAdapterGetFormatCapabilities adapterGetFormatCapabilities = nullptr;
20
- WGPUProcAdapterGetInfo adapterGetInfo = nullptr;
21
- WGPUProcAdapterGetInstance adapterGetInstance = nullptr;
22
- WGPUProcAdapterGetLimits adapterGetLimits = nullptr;
23
- WGPUProcAdapterHasFeature adapterHasFeature = nullptr;
24
- WGPUProcAdapterRequestDevice adapterRequestDevice = nullptr;
25
- WGPUProcAdapterAddRef adapterAddRef = nullptr;
26
- WGPUProcAdapterRelease adapterRelease = nullptr;
27
-
28
- WGPUProcAdapterInfoFreeMembers adapterInfoFreeMembers = nullptr;
29
-
30
- WGPUProcAdapterPropertiesMemoryHeapsFreeMembers adapterPropertiesMemoryHeapsFreeMembers = nullptr;
31
-
32
- WGPUProcAdapterPropertiesSubgroupMatrixConfigsFreeMembers adapterPropertiesSubgroupMatrixConfigsFreeMembers = nullptr;
33
-
34
- WGPUProcBindGroupSetLabel bindGroupSetLabel = nullptr;
35
- WGPUProcBindGroupAddRef bindGroupAddRef = nullptr;
36
- WGPUProcBindGroupRelease bindGroupRelease = nullptr;
37
-
38
- WGPUProcBindGroupLayoutSetLabel bindGroupLayoutSetLabel = nullptr;
39
- WGPUProcBindGroupLayoutAddRef bindGroupLayoutAddRef = nullptr;
40
- WGPUProcBindGroupLayoutRelease bindGroupLayoutRelease = nullptr;
41
-
42
- WGPUProcBufferCreateTexelView bufferCreateTexelView = nullptr;
43
- WGPUProcBufferDestroy bufferDestroy = nullptr;
44
- WGPUProcBufferGetConstMappedRange bufferGetConstMappedRange = nullptr;
45
- WGPUProcBufferGetMappedRange bufferGetMappedRange = nullptr;
46
- WGPUProcBufferGetMapState bufferGetMapState = nullptr;
47
- WGPUProcBufferGetSize bufferGetSize = nullptr;
48
- WGPUProcBufferGetUsage bufferGetUsage = nullptr;
49
- WGPUProcBufferMapAsync bufferMapAsync = nullptr;
50
- WGPUProcBufferReadMappedRange bufferReadMappedRange = nullptr;
51
- WGPUProcBufferSetLabel bufferSetLabel = nullptr;
52
- WGPUProcBufferUnmap bufferUnmap = nullptr;
53
- WGPUProcBufferWriteMappedRange bufferWriteMappedRange = nullptr;
54
- WGPUProcBufferAddRef bufferAddRef = nullptr;
55
- WGPUProcBufferRelease bufferRelease = nullptr;
56
-
57
- WGPUProcCommandBufferSetLabel commandBufferSetLabel = nullptr;
58
- WGPUProcCommandBufferAddRef commandBufferAddRef = nullptr;
59
- WGPUProcCommandBufferRelease commandBufferRelease = nullptr;
60
-
61
- WGPUProcCommandEncoderBeginComputePass commandEncoderBeginComputePass = nullptr;
62
- WGPUProcCommandEncoderBeginRenderPass commandEncoderBeginRenderPass = nullptr;
63
- WGPUProcCommandEncoderClearBuffer commandEncoderClearBuffer = nullptr;
64
- WGPUProcCommandEncoderCopyBufferToBuffer commandEncoderCopyBufferToBuffer = nullptr;
65
- WGPUProcCommandEncoderCopyBufferToTexture commandEncoderCopyBufferToTexture = nullptr;
66
- WGPUProcCommandEncoderCopyTextureToBuffer commandEncoderCopyTextureToBuffer = nullptr;
67
- WGPUProcCommandEncoderCopyTextureToTexture commandEncoderCopyTextureToTexture = nullptr;
68
- WGPUProcCommandEncoderFinish commandEncoderFinish = nullptr;
69
- WGPUProcCommandEncoderInjectValidationError commandEncoderInjectValidationError = nullptr;
70
- WGPUProcCommandEncoderInsertDebugMarker commandEncoderInsertDebugMarker = nullptr;
71
- WGPUProcCommandEncoderPopDebugGroup commandEncoderPopDebugGroup = nullptr;
72
- WGPUProcCommandEncoderPushDebugGroup commandEncoderPushDebugGroup = nullptr;
73
- WGPUProcCommandEncoderResolveQuerySet commandEncoderResolveQuerySet = nullptr;
74
- WGPUProcCommandEncoderSetLabel commandEncoderSetLabel = nullptr;
75
- WGPUProcCommandEncoderWriteBuffer commandEncoderWriteBuffer = nullptr;
76
- WGPUProcCommandEncoderWriteTimestamp commandEncoderWriteTimestamp = nullptr;
77
- WGPUProcCommandEncoderAddRef commandEncoderAddRef = nullptr;
78
- WGPUProcCommandEncoderRelease commandEncoderRelease = nullptr;
79
-
80
- WGPUProcComputePassEncoderDispatchWorkgroups computePassEncoderDispatchWorkgroups = nullptr;
81
- WGPUProcComputePassEncoderDispatchWorkgroupsIndirect computePassEncoderDispatchWorkgroupsIndirect = nullptr;
82
- WGPUProcComputePassEncoderEnd computePassEncoderEnd = nullptr;
83
- WGPUProcComputePassEncoderInsertDebugMarker computePassEncoderInsertDebugMarker = nullptr;
84
- WGPUProcComputePassEncoderPopDebugGroup computePassEncoderPopDebugGroup = nullptr;
85
- WGPUProcComputePassEncoderPushDebugGroup computePassEncoderPushDebugGroup = nullptr;
86
- WGPUProcComputePassEncoderSetBindGroup computePassEncoderSetBindGroup = nullptr;
87
- WGPUProcComputePassEncoderSetImmediates computePassEncoderSetImmediates = nullptr;
88
- WGPUProcComputePassEncoderSetLabel computePassEncoderSetLabel = nullptr;
89
- WGPUProcComputePassEncoderSetPipeline computePassEncoderSetPipeline = nullptr;
90
- WGPUProcComputePassEncoderSetResourceTable computePassEncoderSetResourceTable = nullptr;
91
- WGPUProcComputePassEncoderWriteTimestamp computePassEncoderWriteTimestamp = nullptr;
92
- WGPUProcComputePassEncoderAddRef computePassEncoderAddRef = nullptr;
93
- WGPUProcComputePassEncoderRelease computePassEncoderRelease = nullptr;
94
-
95
- WGPUProcComputePipelineGetBindGroupLayout computePipelineGetBindGroupLayout = nullptr;
96
- WGPUProcComputePipelineSetLabel computePipelineSetLabel = nullptr;
97
- WGPUProcComputePipelineAddRef computePipelineAddRef = nullptr;
98
- WGPUProcComputePipelineRelease computePipelineRelease = nullptr;
99
-
100
- WGPUProcDawnDrmFormatCapabilitiesFreeMembers dawnDrmFormatCapabilitiesFreeMembers = nullptr;
101
-
102
- WGPUProcDeviceCreateBindGroup deviceCreateBindGroup = nullptr;
103
- WGPUProcDeviceCreateBindGroupLayout deviceCreateBindGroupLayout = nullptr;
104
- WGPUProcDeviceCreateBuffer deviceCreateBuffer = nullptr;
105
- WGPUProcDeviceCreateCommandEncoder deviceCreateCommandEncoder = nullptr;
106
- WGPUProcDeviceCreateComputePipeline deviceCreateComputePipeline = nullptr;
107
- WGPUProcDeviceCreateComputePipelineAsync deviceCreateComputePipelineAsync = nullptr;
108
- WGPUProcDeviceCreateErrorBuffer deviceCreateErrorBuffer = nullptr;
109
- WGPUProcDeviceCreateErrorComputePipeline deviceCreateErrorComputePipeline = nullptr;
110
- WGPUProcDeviceCreateErrorExternalTexture deviceCreateErrorExternalTexture = nullptr;
111
- WGPUProcDeviceCreateErrorRenderPipeline deviceCreateErrorRenderPipeline = nullptr;
112
- WGPUProcDeviceCreateErrorShaderModule deviceCreateErrorShaderModule = nullptr;
113
- WGPUProcDeviceCreateErrorTexture deviceCreateErrorTexture = nullptr;
114
- WGPUProcDeviceCreateExternalTexture deviceCreateExternalTexture = nullptr;
115
- WGPUProcDeviceCreatePipelineLayout deviceCreatePipelineLayout = nullptr;
116
- WGPUProcDeviceCreateQuerySet deviceCreateQuerySet = nullptr;
117
- WGPUProcDeviceCreateRenderBundleEncoder deviceCreateRenderBundleEncoder = nullptr;
118
- WGPUProcDeviceCreateRenderPipeline deviceCreateRenderPipeline = nullptr;
119
- WGPUProcDeviceCreateRenderPipelineAsync deviceCreateRenderPipelineAsync = nullptr;
120
- WGPUProcDeviceCreateResourceTable deviceCreateResourceTable = nullptr;
121
- WGPUProcDeviceCreateSampler deviceCreateSampler = nullptr;
122
- WGPUProcDeviceCreateShaderModule deviceCreateShaderModule = nullptr;
123
- WGPUProcDeviceCreateTexture deviceCreateTexture = nullptr;
124
- WGPUProcDeviceDestroy deviceDestroy = nullptr;
125
- WGPUProcDeviceForceLoss deviceForceLoss = nullptr;
126
- WGPUProcDeviceGetAdapter deviceGetAdapter = nullptr;
127
- WGPUProcDeviceGetAdapterInfo deviceGetAdapterInfo = nullptr;
128
- WGPUProcDeviceGetAHardwareBufferProperties deviceGetAHardwareBufferProperties = nullptr;
129
- WGPUProcDeviceGetFeatures deviceGetFeatures = nullptr;
130
- WGPUProcDeviceGetLimits deviceGetLimits = nullptr;
131
- WGPUProcDeviceGetLostFuture deviceGetLostFuture = nullptr;
132
- WGPUProcDeviceGetQueue deviceGetQueue = nullptr;
133
- WGPUProcDeviceHasFeature deviceHasFeature = nullptr;
134
- WGPUProcDeviceImportSharedBufferMemory deviceImportSharedBufferMemory = nullptr;
135
- WGPUProcDeviceImportSharedFence deviceImportSharedFence = nullptr;
136
- WGPUProcDeviceImportSharedTextureMemory deviceImportSharedTextureMemory = nullptr;
137
- WGPUProcDeviceInjectError deviceInjectError = nullptr;
138
- WGPUProcDevicePopErrorScope devicePopErrorScope = nullptr;
139
- WGPUProcDevicePushErrorScope devicePushErrorScope = nullptr;
140
- WGPUProcDeviceSetLabel deviceSetLabel = nullptr;
141
- WGPUProcDeviceSetLoggingCallback deviceSetLoggingCallback = nullptr;
142
- WGPUProcDeviceTick deviceTick = nullptr;
143
- WGPUProcDeviceValidateTextureDescriptor deviceValidateTextureDescriptor = nullptr;
144
- WGPUProcDeviceAddRef deviceAddRef = nullptr;
145
- WGPUProcDeviceRelease deviceRelease = nullptr;
146
-
147
- WGPUProcExternalTextureDestroy externalTextureDestroy = nullptr;
148
- WGPUProcExternalTextureExpire externalTextureExpire = nullptr;
149
- WGPUProcExternalTextureRefresh externalTextureRefresh = nullptr;
150
- WGPUProcExternalTextureSetLabel externalTextureSetLabel = nullptr;
151
- WGPUProcExternalTextureAddRef externalTextureAddRef = nullptr;
152
- WGPUProcExternalTextureRelease externalTextureRelease = nullptr;
153
-
154
- WGPUProcInstanceCreateSurface instanceCreateSurface = nullptr;
155
- WGPUProcInstanceGetWGSLLanguageFeatures instanceGetWGSLLanguageFeatures = nullptr;
156
- WGPUProcInstanceHasWGSLLanguageFeature instanceHasWGSLLanguageFeature = nullptr;
157
- WGPUProcInstanceProcessEvents instanceProcessEvents = nullptr;
158
- WGPUProcInstanceRequestAdapter instanceRequestAdapter = nullptr;
159
- WGPUProcInstanceWaitAny instanceWaitAny = nullptr;
160
- WGPUProcInstanceAddRef instanceAddRef = nullptr;
161
- WGPUProcInstanceRelease instanceRelease = nullptr;
162
-
163
- WGPUProcPipelineLayoutSetLabel pipelineLayoutSetLabel = nullptr;
164
- WGPUProcPipelineLayoutAddRef pipelineLayoutAddRef = nullptr;
165
- WGPUProcPipelineLayoutRelease pipelineLayoutRelease = nullptr;
166
-
167
- WGPUProcQuerySetDestroy querySetDestroy = nullptr;
168
- WGPUProcQuerySetGetCount querySetGetCount = nullptr;
169
- WGPUProcQuerySetGetType querySetGetType = nullptr;
170
- WGPUProcQuerySetSetLabel querySetSetLabel = nullptr;
171
- WGPUProcQuerySetAddRef querySetAddRef = nullptr;
172
- WGPUProcQuerySetRelease querySetRelease = nullptr;
173
-
174
- WGPUProcQueueCopyExternalTextureForBrowser queueCopyExternalTextureForBrowser = nullptr;
175
- WGPUProcQueueCopyTextureForBrowser queueCopyTextureForBrowser = nullptr;
176
- WGPUProcQueueOnSubmittedWorkDone queueOnSubmittedWorkDone = nullptr;
177
- WGPUProcQueueSetLabel queueSetLabel = nullptr;
178
- WGPUProcQueueSubmit queueSubmit = nullptr;
179
- WGPUProcQueueWriteBuffer queueWriteBuffer = nullptr;
180
- WGPUProcQueueWriteTexture queueWriteTexture = nullptr;
181
- WGPUProcQueueAddRef queueAddRef = nullptr;
182
- WGPUProcQueueRelease queueRelease = nullptr;
183
-
184
- WGPUProcRenderBundleSetLabel renderBundleSetLabel = nullptr;
185
- WGPUProcRenderBundleAddRef renderBundleAddRef = nullptr;
186
- WGPUProcRenderBundleRelease renderBundleRelease = nullptr;
187
-
188
- WGPUProcRenderBundleEncoderDraw renderBundleEncoderDraw = nullptr;
189
- WGPUProcRenderBundleEncoderDrawIndexed renderBundleEncoderDrawIndexed = nullptr;
190
- WGPUProcRenderBundleEncoderDrawIndexedIndirect renderBundleEncoderDrawIndexedIndirect = nullptr;
191
- WGPUProcRenderBundleEncoderDrawIndirect renderBundleEncoderDrawIndirect = nullptr;
192
- WGPUProcRenderBundleEncoderFinish renderBundleEncoderFinish = nullptr;
193
- WGPUProcRenderBundleEncoderInsertDebugMarker renderBundleEncoderInsertDebugMarker = nullptr;
194
- WGPUProcRenderBundleEncoderPopDebugGroup renderBundleEncoderPopDebugGroup = nullptr;
195
- WGPUProcRenderBundleEncoderPushDebugGroup renderBundleEncoderPushDebugGroup = nullptr;
196
- WGPUProcRenderBundleEncoderSetBindGroup renderBundleEncoderSetBindGroup = nullptr;
197
- WGPUProcRenderBundleEncoderSetImmediates renderBundleEncoderSetImmediates = nullptr;
198
- WGPUProcRenderBundleEncoderSetIndexBuffer renderBundleEncoderSetIndexBuffer = nullptr;
199
- WGPUProcRenderBundleEncoderSetLabel renderBundleEncoderSetLabel = nullptr;
200
- WGPUProcRenderBundleEncoderSetPipeline renderBundleEncoderSetPipeline = nullptr;
201
- WGPUProcRenderBundleEncoderSetVertexBuffer renderBundleEncoderSetVertexBuffer = nullptr;
202
- WGPUProcRenderBundleEncoderAddRef renderBundleEncoderAddRef = nullptr;
203
- WGPUProcRenderBundleEncoderRelease renderBundleEncoderRelease = nullptr;
204
-
205
- WGPUProcRenderPassEncoderBeginOcclusionQuery renderPassEncoderBeginOcclusionQuery = nullptr;
206
- WGPUProcRenderPassEncoderDraw renderPassEncoderDraw = nullptr;
207
- WGPUProcRenderPassEncoderDrawIndexed renderPassEncoderDrawIndexed = nullptr;
208
- WGPUProcRenderPassEncoderDrawIndexedIndirect renderPassEncoderDrawIndexedIndirect = nullptr;
209
- WGPUProcRenderPassEncoderDrawIndirect renderPassEncoderDrawIndirect = nullptr;
210
- WGPUProcRenderPassEncoderEnd renderPassEncoderEnd = nullptr;
211
- WGPUProcRenderPassEncoderEndOcclusionQuery renderPassEncoderEndOcclusionQuery = nullptr;
212
- WGPUProcRenderPassEncoderExecuteBundles renderPassEncoderExecuteBundles = nullptr;
213
- WGPUProcRenderPassEncoderInsertDebugMarker renderPassEncoderInsertDebugMarker = nullptr;
214
- WGPUProcRenderPassEncoderMultiDrawIndexedIndirect renderPassEncoderMultiDrawIndexedIndirect = nullptr;
215
- WGPUProcRenderPassEncoderMultiDrawIndirect renderPassEncoderMultiDrawIndirect = nullptr;
216
- WGPUProcRenderPassEncoderPixelLocalStorageBarrier renderPassEncoderPixelLocalStorageBarrier = nullptr;
217
- WGPUProcRenderPassEncoderPopDebugGroup renderPassEncoderPopDebugGroup = nullptr;
218
- WGPUProcRenderPassEncoderPushDebugGroup renderPassEncoderPushDebugGroup = nullptr;
219
- WGPUProcRenderPassEncoderSetBindGroup renderPassEncoderSetBindGroup = nullptr;
220
- WGPUProcRenderPassEncoderSetBlendConstant renderPassEncoderSetBlendConstant = nullptr;
221
- WGPUProcRenderPassEncoderSetImmediates renderPassEncoderSetImmediates = nullptr;
222
- WGPUProcRenderPassEncoderSetIndexBuffer renderPassEncoderSetIndexBuffer = nullptr;
223
- WGPUProcRenderPassEncoderSetLabel renderPassEncoderSetLabel = nullptr;
224
- WGPUProcRenderPassEncoderSetPipeline renderPassEncoderSetPipeline = nullptr;
225
- WGPUProcRenderPassEncoderSetResourceTable renderPassEncoderSetResourceTable = nullptr;
226
- WGPUProcRenderPassEncoderSetScissorRect renderPassEncoderSetScissorRect = nullptr;
227
- WGPUProcRenderPassEncoderSetStencilReference renderPassEncoderSetStencilReference = nullptr;
228
- WGPUProcRenderPassEncoderSetVertexBuffer renderPassEncoderSetVertexBuffer = nullptr;
229
- WGPUProcRenderPassEncoderSetViewport renderPassEncoderSetViewport = nullptr;
230
- WGPUProcRenderPassEncoderWriteTimestamp renderPassEncoderWriteTimestamp = nullptr;
231
- WGPUProcRenderPassEncoderAddRef renderPassEncoderAddRef = nullptr;
232
- WGPUProcRenderPassEncoderRelease renderPassEncoderRelease = nullptr;
233
-
234
- WGPUProcRenderPipelineGetBindGroupLayout renderPipelineGetBindGroupLayout = nullptr;
235
- WGPUProcRenderPipelineSetLabel renderPipelineSetLabel = nullptr;
236
- WGPUProcRenderPipelineAddRef renderPipelineAddRef = nullptr;
237
- WGPUProcRenderPipelineRelease renderPipelineRelease = nullptr;
238
-
239
- WGPUProcResourceTableDestroy resourceTableDestroy = nullptr;
240
- WGPUProcResourceTableGetSize resourceTableGetSize = nullptr;
241
- WGPUProcResourceTableInsert resourceTableInsert = nullptr;
242
- WGPUProcResourceTableRemove resourceTableRemove = nullptr;
243
- WGPUProcResourceTableSetLabel resourceTableSetLabel = nullptr;
244
- WGPUProcResourceTableUpdate resourceTableUpdate = nullptr;
245
- WGPUProcResourceTableAddRef resourceTableAddRef = nullptr;
246
- WGPUProcResourceTableRelease resourceTableRelease = nullptr;
247
-
248
- WGPUProcSamplerSetLabel samplerSetLabel = nullptr;
249
- WGPUProcSamplerAddRef samplerAddRef = nullptr;
250
- WGPUProcSamplerRelease samplerRelease = nullptr;
251
-
252
- WGPUProcShaderModuleGetCompilationInfo shaderModuleGetCompilationInfo = nullptr;
253
- WGPUProcShaderModuleSetLabel shaderModuleSetLabel = nullptr;
254
- WGPUProcShaderModuleAddRef shaderModuleAddRef = nullptr;
255
- WGPUProcShaderModuleRelease shaderModuleRelease = nullptr;
256
-
257
- WGPUProcSharedBufferMemoryBeginAccess sharedBufferMemoryBeginAccess = nullptr;
258
- WGPUProcSharedBufferMemoryCreateBuffer sharedBufferMemoryCreateBuffer = nullptr;
259
- WGPUProcSharedBufferMemoryEndAccess sharedBufferMemoryEndAccess = nullptr;
260
- WGPUProcSharedBufferMemoryGetProperties sharedBufferMemoryGetProperties = nullptr;
261
- WGPUProcSharedBufferMemoryIsDeviceLost sharedBufferMemoryIsDeviceLost = nullptr;
262
- WGPUProcSharedBufferMemorySetLabel sharedBufferMemorySetLabel = nullptr;
263
- WGPUProcSharedBufferMemoryAddRef sharedBufferMemoryAddRef = nullptr;
264
- WGPUProcSharedBufferMemoryRelease sharedBufferMemoryRelease = nullptr;
265
-
266
- WGPUProcSharedBufferMemoryEndAccessStateFreeMembers sharedBufferMemoryEndAccessStateFreeMembers = nullptr;
267
-
268
- WGPUProcSharedFenceExportInfo sharedFenceExportInfo = nullptr;
269
- WGPUProcSharedFenceSetLabel sharedFenceSetLabel = nullptr;
270
- WGPUProcSharedFenceAddRef sharedFenceAddRef = nullptr;
271
- WGPUProcSharedFenceRelease sharedFenceRelease = nullptr;
272
-
273
- WGPUProcSharedTextureMemoryBeginAccess sharedTextureMemoryBeginAccess = nullptr;
274
- WGPUProcSharedTextureMemoryCreateTexture sharedTextureMemoryCreateTexture = nullptr;
275
- WGPUProcSharedTextureMemoryEndAccess sharedTextureMemoryEndAccess = nullptr;
276
- WGPUProcSharedTextureMemoryGetProperties sharedTextureMemoryGetProperties = nullptr;
277
- WGPUProcSharedTextureMemoryIsDeviceLost sharedTextureMemoryIsDeviceLost = nullptr;
278
- WGPUProcSharedTextureMemorySetLabel sharedTextureMemorySetLabel = nullptr;
279
- WGPUProcSharedTextureMemoryAddRef sharedTextureMemoryAddRef = nullptr;
280
- WGPUProcSharedTextureMemoryRelease sharedTextureMemoryRelease = nullptr;
281
-
282
- WGPUProcSharedTextureMemoryEndAccessStateFreeMembers sharedTextureMemoryEndAccessStateFreeMembers = nullptr;
283
-
284
- WGPUProcSupportedFeaturesFreeMembers supportedFeaturesFreeMembers = nullptr;
285
-
286
- WGPUProcSupportedInstanceFeaturesFreeMembers supportedInstanceFeaturesFreeMembers = nullptr;
287
-
288
- WGPUProcSupportedWGSLLanguageFeaturesFreeMembers supportedWGSLLanguageFeaturesFreeMembers = nullptr;
289
-
290
- WGPUProcSurfaceConfigure surfaceConfigure = nullptr;
291
- WGPUProcSurfaceGetCapabilities surfaceGetCapabilities = nullptr;
292
- WGPUProcSurfaceGetCurrentTexture surfaceGetCurrentTexture = nullptr;
293
- WGPUProcSurfacePresent surfacePresent = nullptr;
294
- WGPUProcSurfaceSetLabel surfaceSetLabel = nullptr;
295
- WGPUProcSurfaceUnconfigure surfaceUnconfigure = nullptr;
296
- WGPUProcSurfaceAddRef surfaceAddRef = nullptr;
297
- WGPUProcSurfaceRelease surfaceRelease = nullptr;
298
-
299
- WGPUProcSurfaceCapabilitiesFreeMembers surfaceCapabilitiesFreeMembers = nullptr;
300
-
301
- WGPUProcTexelBufferViewSetLabel texelBufferViewSetLabel = nullptr;
302
- WGPUProcTexelBufferViewAddRef texelBufferViewAddRef = nullptr;
303
- WGPUProcTexelBufferViewRelease texelBufferViewRelease = nullptr;
304
-
305
- WGPUProcTextureCreateErrorView textureCreateErrorView = nullptr;
306
- WGPUProcTextureCreateView textureCreateView = nullptr;
307
- WGPUProcTextureDestroy textureDestroy = nullptr;
308
- WGPUProcTextureGetDepthOrArrayLayers textureGetDepthOrArrayLayers = nullptr;
309
- WGPUProcTextureGetDimension textureGetDimension = nullptr;
310
- WGPUProcTextureGetFormat textureGetFormat = nullptr;
311
- WGPUProcTextureGetHeight textureGetHeight = nullptr;
312
- WGPUProcTextureGetMipLevelCount textureGetMipLevelCount = nullptr;
313
- WGPUProcTextureGetSampleCount textureGetSampleCount = nullptr;
314
- WGPUProcTextureGetTextureBindingViewDimension textureGetTextureBindingViewDimension = nullptr;
315
- WGPUProcTextureGetUsage textureGetUsage = nullptr;
316
- WGPUProcTextureGetWidth textureGetWidth = nullptr;
317
- WGPUProcTextureSetLabel textureSetLabel = nullptr;
318
- WGPUProcTextureSetOwnershipForMemoryDump textureSetOwnershipForMemoryDump = nullptr;
319
- WGPUProcTextureAddRef textureAddRef = nullptr;
320
- WGPUProcTextureRelease textureRelease = nullptr;
321
-
322
- WGPUProcTextureViewSetLabel textureViewSetLabel = nullptr;
323
- WGPUProcTextureViewAddRef textureViewAddRef = nullptr;
324
- WGPUProcTextureViewRelease textureViewRelease = nullptr;
325
-
326
-
327
- } DawnProcTable;
328
-
329
- #endif // DAWN_DAWN_PROC_TABLE_H_