Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Use navigator as the WorkerNavigator instance #1194

Merged
merged 1 commit into from
Jun 2, 2021
Merged

Conversation

foolip
Copy link
Owner

@foolip foolip commented Jun 2, 2021

This avoid the potential problem with workers being supported but the
WorkerNavigator interface itself just not being exposed.

Also drop the window. prefix in some other tests, since it was
inconsistently used and skipping it makes Window+Worker code consistent.

This avoid the potential problem with workers being supported but the
WorkerNavigator interface itself just not being exposed.

Also drop the window. prefix in some other tests, since it was
inconsistently used and skipping it makes Window+Worker code consistent.
Copy link
Collaborator

@queengooborg queengooborg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the update!

@foolip foolip merged commit 35ec206 into main Jun 2, 2021
@foolip foolip deleted the WorkerNavigator branch June 2, 2021 11:25
foolip added a commit that referenced this pull request Jun 4, 2021
Notable changes:

#1194
#1195
#1198
#1203

Added tests:

api.GPUSupportedLimits
api.GPUSupportedLimits.maxBindGroups
api.GPUSupportedLimits.maxDynamicStorageBuffersPerPipelineLayout
api.GPUSupportedLimits.maxDynamicUniformBuffersPerPipelineLayout
api.GPUSupportedLimits.maxSampledTexturesPerShaderStage
api.GPUSupportedLimits.maxSamplersPerShaderStage
api.GPUSupportedLimits.maxStorageBufferBindingSize
api.GPUSupportedLimits.maxStorageBuffersPerShaderStage
api.GPUSupportedLimits.maxStorageTexturesPerShaderStage
api.GPUSupportedLimits.maxTextureArrayLayers
api.GPUSupportedLimits.maxTextureDimension1D
api.GPUSupportedLimits.maxTextureDimension2D
api.GPUSupportedLimits.maxTextureDimension3D
api.GPUSupportedLimits.maxUniformBufferBindingSize
api.GPUSupportedLimits.maxUniformBuffersPerShaderStage
api.GPUSupportedLimits.maxVertexAttributes
api.GPUSupportedLimits.maxVertexBufferArrayStride
api.GPUSupportedLimits.maxVertexBuffers

Removed tests:

api.GPUAdapterLimits
api.GPUAdapterLimits.maxBindGroups
api.GPUAdapterLimits.maxDynamicStorageBuffersPerPipelineLayout
api.GPUAdapterLimits.maxDynamicUniformBuffersPerPipelineLayout
api.GPUAdapterLimits.maxSampledTexturesPerShaderStage
api.GPUAdapterLimits.maxSamplersPerShaderStage
api.GPUAdapterLimits.maxStorageBufferBindingSize
api.GPUAdapterLimits.maxStorageBuffersPerShaderStage
api.GPUAdapterLimits.maxStorageTexturesPerShaderStage
api.GPUAdapterLimits.maxTextureArrayLayers
api.GPUAdapterLimits.maxTextureDimension1D
api.GPUAdapterLimits.maxTextureDimension2D
api.GPUAdapterLimits.maxTextureDimension3D
api.GPUAdapterLimits.maxUniformBufferBindingSize
api.GPUAdapterLimits.maxUniformBuffersPerShaderStage
api.GPUAdapterLimits.maxVertexAttributes
api.GPUAdapterLimits.maxVertexBufferArrayStride
api.GPUAdapterLimits.maxVertexBuffers
@foolip foolip mentioned this pull request Jun 4, 2021
foolip added a commit that referenced this pull request Jun 4, 2021
Notable changes:

#1194
#1195
#1198
#1203

Added tests:

api.GPUSupportedLimits
api.GPUSupportedLimits.maxBindGroups
api.GPUSupportedLimits.maxDynamicStorageBuffersPerPipelineLayout
api.GPUSupportedLimits.maxDynamicUniformBuffersPerPipelineLayout
api.GPUSupportedLimits.maxSampledTexturesPerShaderStage
api.GPUSupportedLimits.maxSamplersPerShaderStage
api.GPUSupportedLimits.maxStorageBufferBindingSize
api.GPUSupportedLimits.maxStorageBuffersPerShaderStage
api.GPUSupportedLimits.maxStorageTexturesPerShaderStage
api.GPUSupportedLimits.maxTextureArrayLayers
api.GPUSupportedLimits.maxTextureDimension1D
api.GPUSupportedLimits.maxTextureDimension2D
api.GPUSupportedLimits.maxTextureDimension3D
api.GPUSupportedLimits.maxUniformBufferBindingSize
api.GPUSupportedLimits.maxUniformBuffersPerShaderStage
api.GPUSupportedLimits.maxVertexAttributes
api.GPUSupportedLimits.maxVertexBufferArrayStride
api.GPUSupportedLimits.maxVertexBuffers

Removed tests:

api.GPUAdapterLimits
api.GPUAdapterLimits.maxBindGroups
api.GPUAdapterLimits.maxDynamicStorageBuffersPerPipelineLayout
api.GPUAdapterLimits.maxDynamicUniformBuffersPerPipelineLayout
api.GPUAdapterLimits.maxSampledTexturesPerShaderStage
api.GPUAdapterLimits.maxSamplersPerShaderStage
api.GPUAdapterLimits.maxStorageBufferBindingSize
api.GPUAdapterLimits.maxStorageBuffersPerShaderStage
api.GPUAdapterLimits.maxStorageTexturesPerShaderStage
api.GPUAdapterLimits.maxTextureArrayLayers
api.GPUAdapterLimits.maxTextureDimension1D
api.GPUAdapterLimits.maxTextureDimension2D
api.GPUAdapterLimits.maxTextureDimension3D
api.GPUAdapterLimits.maxUniformBufferBindingSize
api.GPUAdapterLimits.maxUniformBuffersPerShaderStage
api.GPUAdapterLimits.maxVertexAttributes
api.GPUAdapterLimits.maxVertexBufferArrayStride
api.GPUAdapterLimits.maxVertexBuffers
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants