Skip to content

Commit

Permalink
Built Windows libs (and updated headers)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwoffenden committed Mar 5, 2024
1 parent c04468d commit af04696
Show file tree
Hide file tree
Showing 64 changed files with 4,621 additions and 2,020 deletions.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_native.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_native.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_native.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_platform.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_platform.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_platform.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_proc.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_proc.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Debug/dawn_proc.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_native.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_native.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_native.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_platform.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_platform.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_platform.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_proc.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_proc.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/ARM64/Release/dawn_proc.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_native.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_native.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_native.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_platform.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_platform.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_platform.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_proc.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_proc.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Debug/dawn_proc.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_native.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_native.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_native.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_platform.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_platform.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_platform.dll.lib
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_proc.dll
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_proc.dll.exp
Binary file not shown.
Binary file modified lib/dawn/bin/win/x64/Release/dawn_proc.dll.lib
Binary file not shown.
148 changes: 0 additions & 148 deletions lib/dawn/inc/dawn/EnumClassBitmasks.h

This file was deleted.

33 changes: 23 additions & 10 deletions lib/dawn/inc/dawn/dawn_proc.h
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
// Copyright 2019 The Dawn Authors
// Copyright 2019 The Dawn & Tint Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// http://www.apache.org/licenses/LICENSE-2.0
// 1. Redistributions of source code must retain the above copyright notice, this
// list of conditions and the following disclaimer.
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// 2. Redistributions in binary form must reproduce the above copyright notice,
// this list of conditions and the following disclaimer in the documentation
// and/or other materials provided with the distribution.
//
// 3. Neither the name of the copyright holder nor the names of its
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

#ifndef INCLUDE_DAWN_DAWN_PROC_H_
#define INCLUDE_DAWN_DAWN_PROC_H_
Expand Down
61 changes: 55 additions & 6 deletions lib/dawn/inc/dawn/dawn_proc_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@

// Note: Often allocated as a static global. Do not add a complex constructor.
typedef struct DawnProcTable {
WGPUProcAdapterPropertiesFreeMembers adapterPropertiesFreeMembers;
WGPUProcAdapterPropertiesMemoryHeapsFreeMembers adapterPropertiesMemoryHeapsFreeMembers;
WGPUProcCreateInstance createInstance;
WGPUProcGetInstanceFeatures getInstanceFeatures;
WGPUProcGetProcAddress getProcAddress;
WGPUProcSharedBufferMemoryEndAccessStateFreeMembers sharedBufferMemoryEndAccessStateFreeMembers;
WGPUProcSharedTextureMemoryEndAccessStateFreeMembers sharedTextureMemoryEndAccessStateFreeMembers;

WGPUProcAdapterCreateDevice adapterCreateDevice;
WGPUProcAdapterEnumerateFeatures adapterEnumerateFeatures;
WGPUProcAdapterGetInstance adapterGetInstance;
WGPUProcAdapterGetLimits adapterGetLimits;
WGPUProcAdapterGetProperties adapterGetProperties;
WGPUProcAdapterHasFeature adapterHasFeature;
WGPUProcAdapterRequestDevice adapterRequestDevice;
WGPUProcAdapterRequestDeviceF adapterRequestDeviceF;
WGPUProcAdapterReference adapterReference;
WGPUProcAdapterRelease adapterRelease;

Expand All @@ -28,10 +35,12 @@ typedef struct DawnProcTable {

WGPUProcBufferDestroy bufferDestroy;
WGPUProcBufferGetConstMappedRange bufferGetConstMappedRange;
WGPUProcBufferGetMapState bufferGetMapState;
WGPUProcBufferGetMappedRange bufferGetMappedRange;
WGPUProcBufferGetSize bufferGetSize;
WGPUProcBufferGetUsage bufferGetUsage;
WGPUProcBufferMapAsync bufferMapAsync;
WGPUProcBufferMapAsyncF bufferMapAsyncF;
WGPUProcBufferSetLabel bufferSetLabel;
WGPUProcBufferUnmap bufferUnmap;
WGPUProcBufferReference bufferReference;
Expand All @@ -48,7 +57,6 @@ typedef struct DawnProcTable {
WGPUProcCommandEncoderCopyBufferToTexture commandEncoderCopyBufferToTexture;
WGPUProcCommandEncoderCopyTextureToBuffer commandEncoderCopyTextureToBuffer;
WGPUProcCommandEncoderCopyTextureToTexture commandEncoderCopyTextureToTexture;
WGPUProcCommandEncoderCopyTextureToTextureInternal commandEncoderCopyTextureToTextureInternal;
WGPUProcCommandEncoderFinish commandEncoderFinish;
WGPUProcCommandEncoderInjectValidationError commandEncoderInjectValidationError;
WGPUProcCommandEncoderInsertDebugMarker commandEncoderInsertDebugMarker;
Expand All @@ -61,12 +69,9 @@ typedef struct DawnProcTable {
WGPUProcCommandEncoderReference commandEncoderReference;
WGPUProcCommandEncoderRelease commandEncoderRelease;

WGPUProcComputePassEncoderDispatch computePassEncoderDispatch;
WGPUProcComputePassEncoderDispatchIndirect computePassEncoderDispatchIndirect;
WGPUProcComputePassEncoderDispatchWorkgroups computePassEncoderDispatchWorkgroups;
WGPUProcComputePassEncoderDispatchWorkgroupsIndirect computePassEncoderDispatchWorkgroupsIndirect;
WGPUProcComputePassEncoderEnd computePassEncoderEnd;
WGPUProcComputePassEncoderEndPass computePassEncoderEndPass;
WGPUProcComputePassEncoderInsertDebugMarker computePassEncoderInsertDebugMarker;
WGPUProcComputePassEncoderPopDebugGroup computePassEncoderPopDebugGroup;
WGPUProcComputePassEncoderPushDebugGroup computePassEncoderPushDebugGroup;
Expand All @@ -88,15 +93,18 @@ typedef struct DawnProcTable {
WGPUProcDeviceCreateCommandEncoder deviceCreateCommandEncoder;
WGPUProcDeviceCreateComputePipeline deviceCreateComputePipeline;
WGPUProcDeviceCreateComputePipelineAsync deviceCreateComputePipelineAsync;
WGPUProcDeviceCreateComputePipelineAsyncF deviceCreateComputePipelineAsyncF;
WGPUProcDeviceCreateErrorBuffer deviceCreateErrorBuffer;
WGPUProcDeviceCreateErrorExternalTexture deviceCreateErrorExternalTexture;
WGPUProcDeviceCreateErrorShaderModule deviceCreateErrorShaderModule;
WGPUProcDeviceCreateErrorTexture deviceCreateErrorTexture;
WGPUProcDeviceCreateExternalTexture deviceCreateExternalTexture;
WGPUProcDeviceCreatePipelineLayout deviceCreatePipelineLayout;
WGPUProcDeviceCreateQuerySet deviceCreateQuerySet;
WGPUProcDeviceCreateRenderBundleEncoder deviceCreateRenderBundleEncoder;
WGPUProcDeviceCreateRenderPipeline deviceCreateRenderPipeline;
WGPUProcDeviceCreateRenderPipelineAsync deviceCreateRenderPipelineAsync;
WGPUProcDeviceCreateRenderPipelineAsyncF deviceCreateRenderPipelineAsyncF;
WGPUProcDeviceCreateSampler deviceCreateSampler;
WGPUProcDeviceCreateShaderModule deviceCreateShaderModule;
WGPUProcDeviceCreateSwapChain deviceCreateSwapChain;
Expand All @@ -107,25 +115,38 @@ typedef struct DawnProcTable {
WGPUProcDeviceGetAdapter deviceGetAdapter;
WGPUProcDeviceGetLimits deviceGetLimits;
WGPUProcDeviceGetQueue deviceGetQueue;
WGPUProcDeviceGetSupportedSurfaceUsage deviceGetSupportedSurfaceUsage;
WGPUProcDeviceHasFeature deviceHasFeature;
WGPUProcDeviceImportSharedBufferMemory deviceImportSharedBufferMemory;
WGPUProcDeviceImportSharedFence deviceImportSharedFence;
WGPUProcDeviceImportSharedTextureMemory deviceImportSharedTextureMemory;
WGPUProcDeviceInjectError deviceInjectError;
WGPUProcDevicePopErrorScope devicePopErrorScope;
WGPUProcDevicePopErrorScopeF devicePopErrorScopeF;
WGPUProcDevicePushErrorScope devicePushErrorScope;
WGPUProcDeviceSetDeviceLostCallback deviceSetDeviceLostCallback;
WGPUProcDeviceSetLabel deviceSetLabel;
WGPUProcDeviceSetLoggingCallback deviceSetLoggingCallback;
WGPUProcDeviceSetUncapturedErrorCallback deviceSetUncapturedErrorCallback;
WGPUProcDeviceTick deviceTick;
WGPUProcDeviceValidateTextureDescriptor deviceValidateTextureDescriptor;
WGPUProcDeviceReference deviceReference;
WGPUProcDeviceRelease deviceRelease;

WGPUProcExternalTextureDestroy externalTextureDestroy;
WGPUProcExternalTextureExpire externalTextureExpire;
WGPUProcExternalTextureRefresh externalTextureRefresh;
WGPUProcExternalTextureSetLabel externalTextureSetLabel;
WGPUProcExternalTextureReference externalTextureReference;
WGPUProcExternalTextureRelease externalTextureRelease;

WGPUProcInstanceCreateSurface instanceCreateSurface;
WGPUProcInstanceEnumerateWGSLLanguageFeatures instanceEnumerateWGSLLanguageFeatures;
WGPUProcInstanceHasWGSLLanguageFeature instanceHasWGSLLanguageFeature;
WGPUProcInstanceProcessEvents instanceProcessEvents;
WGPUProcInstanceRequestAdapter instanceRequestAdapter;
WGPUProcInstanceRequestAdapterF instanceRequestAdapterF;
WGPUProcInstanceWaitAny instanceWaitAny;
WGPUProcInstanceReference instanceReference;
WGPUProcInstanceRelease instanceRelease;

Expand All @@ -143,13 +164,15 @@ typedef struct DawnProcTable {
WGPUProcQueueCopyExternalTextureForBrowser queueCopyExternalTextureForBrowser;
WGPUProcQueueCopyTextureForBrowser queueCopyTextureForBrowser;
WGPUProcQueueOnSubmittedWorkDone queueOnSubmittedWorkDone;
WGPUProcQueueOnSubmittedWorkDoneF queueOnSubmittedWorkDoneF;
WGPUProcQueueSetLabel queueSetLabel;
WGPUProcQueueSubmit queueSubmit;
WGPUProcQueueWriteBuffer queueWriteBuffer;
WGPUProcQueueWriteTexture queueWriteTexture;
WGPUProcQueueReference queueReference;
WGPUProcQueueRelease queueRelease;

WGPUProcRenderBundleSetLabel renderBundleSetLabel;
WGPUProcRenderBundleReference renderBundleReference;
WGPUProcRenderBundleRelease renderBundleRelease;

Expand All @@ -176,9 +199,9 @@ typedef struct DawnProcTable {
WGPUProcRenderPassEncoderDrawIndirect renderPassEncoderDrawIndirect;
WGPUProcRenderPassEncoderEnd renderPassEncoderEnd;
WGPUProcRenderPassEncoderEndOcclusionQuery renderPassEncoderEndOcclusionQuery;
WGPUProcRenderPassEncoderEndPass renderPassEncoderEndPass;
WGPUProcRenderPassEncoderExecuteBundles renderPassEncoderExecuteBundles;
WGPUProcRenderPassEncoderInsertDebugMarker renderPassEncoderInsertDebugMarker;
WGPUProcRenderPassEncoderPixelLocalStorageBarrier renderPassEncoderPixelLocalStorageBarrier;
WGPUProcRenderPassEncoderPopDebugGroup renderPassEncoderPopDebugGroup;
WGPUProcRenderPassEncoderPushDebugGroup renderPassEncoderPushDebugGroup;
WGPUProcRenderPassEncoderSetBindGroup renderPassEncoderSetBindGroup;
Expand All @@ -204,19 +227,44 @@ typedef struct DawnProcTable {
WGPUProcSamplerRelease samplerRelease;

WGPUProcShaderModuleGetCompilationInfo shaderModuleGetCompilationInfo;
WGPUProcShaderModuleGetCompilationInfoF shaderModuleGetCompilationInfoF;
WGPUProcShaderModuleSetLabel shaderModuleSetLabel;
WGPUProcShaderModuleReference shaderModuleReference;
WGPUProcShaderModuleRelease shaderModuleRelease;

WGPUProcSharedBufferMemoryBeginAccess sharedBufferMemoryBeginAccess;
WGPUProcSharedBufferMemoryCreateBuffer sharedBufferMemoryCreateBuffer;
WGPUProcSharedBufferMemoryEndAccess sharedBufferMemoryEndAccess;
WGPUProcSharedBufferMemoryGetProperties sharedBufferMemoryGetProperties;
WGPUProcSharedBufferMemoryIsDeviceLost sharedBufferMemoryIsDeviceLost;
WGPUProcSharedBufferMemorySetLabel sharedBufferMemorySetLabel;
WGPUProcSharedBufferMemoryReference sharedBufferMemoryReference;
WGPUProcSharedBufferMemoryRelease sharedBufferMemoryRelease;

WGPUProcSharedFenceExportInfo sharedFenceExportInfo;
WGPUProcSharedFenceReference sharedFenceReference;
WGPUProcSharedFenceRelease sharedFenceRelease;

WGPUProcSharedTextureMemoryBeginAccess sharedTextureMemoryBeginAccess;
WGPUProcSharedTextureMemoryCreateTexture sharedTextureMemoryCreateTexture;
WGPUProcSharedTextureMemoryEndAccess sharedTextureMemoryEndAccess;
WGPUProcSharedTextureMemoryGetProperties sharedTextureMemoryGetProperties;
WGPUProcSharedTextureMemoryIsDeviceLost sharedTextureMemoryIsDeviceLost;
WGPUProcSharedTextureMemorySetLabel sharedTextureMemorySetLabel;
WGPUProcSharedTextureMemoryReference sharedTextureMemoryReference;
WGPUProcSharedTextureMemoryRelease sharedTextureMemoryRelease;

WGPUProcSurfaceGetPreferredFormat surfaceGetPreferredFormat;
WGPUProcSurfaceReference surfaceReference;
WGPUProcSurfaceRelease surfaceRelease;

WGPUProcSwapChainConfigure swapChainConfigure;
WGPUProcSwapChainGetCurrentTexture swapChainGetCurrentTexture;
WGPUProcSwapChainGetCurrentTextureView swapChainGetCurrentTextureView;
WGPUProcSwapChainPresent swapChainPresent;
WGPUProcSwapChainReference swapChainReference;
WGPUProcSwapChainRelease swapChainRelease;

WGPUProcTextureCreateErrorView textureCreateErrorView;
WGPUProcTextureCreateView textureCreateView;
WGPUProcTextureDestroy textureDestroy;
WGPUProcTextureGetDepthOrArrayLayers textureGetDepthOrArrayLayers;
Expand All @@ -235,6 +283,7 @@ typedef struct DawnProcTable {
WGPUProcTextureViewReference textureViewReference;
WGPUProcTextureViewRelease textureViewRelease;


} DawnProcTable;

#endif // DAWN_DAWN_PROC_TABLE_H_
Loading

0 comments on commit af04696

Please sign in to comment.