[Webkit-unassigned] [Bug 270079] PlayCanvas WebGPU examples failed to run

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 11 01:39:29 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=270079

--- Comment #11 from Martin <mvaligursky at snap.com> ---
Thanks for looking into this. PlayCanvas is using minUniformBufferOffsetAlignment correctly here I believe, but it's reported by the device as 32:

GPUSupportedLimits
                maxBindGroups: 11
                maxBindGroupsPlusVertexBuffers: 30
                maxBindingsPerBindGroup: 65535
                maxBufferSize: 2147483644
                maxColorAttachmentBytesPerSample: 64
                maxColorAttachments: 8
                maxComputeInvocationsPerWorkgroup: 1024
                maxComputeWorkgroupSizeX: 1024
                maxComputeWorkgroupSizeY: 1024
                maxComputeWorkgroupSizeZ: 1024
                maxComputeWorkgroupStorageSize: 32768
                maxComputeWorkgroupsPerDimension: 65535
                maxDynamicStorageBuffersPerPipelineLayout: 65535
                maxDynamicUniformBuffersPerPipelineLayout: 65535
                maxInterStageShaderComponents: 124
                maxInterStageShaderVariables: 124
                maxSampledTexturesPerShaderStage: 44
                maxSamplersPerShaderStage: 22
                maxStorageBufferBindingSize: 2147483644
                maxStorageBuffersPerShaderStage: 44
                maxStorageTexturesPerShaderStage: 44
                maxTextureArrayLayers: 2048
                maxTextureDimension1D: 16384
                maxTextureDimension2D: 16384
                maxTextureDimension3D: 2048
                maxUniformBufferBindingSize: 2147483644
                maxUniformBuffersPerShaderStage: 44
                maxVertexAttributes: 30
                maxVertexBufferArrayStride: 65532
                maxVertexBuffers: 12
                minStorageBufferOffsetAlignment: 32
                minUniformBufferOffsetAlignment: 32


This is on M1 Max 14.4.1 (23E224) with Safari Tech Preview Release 191 (Safari 17.4, WebKit 19619.1.6.3).

If I hardcode this to 256, I get the half clipped cube spinning around as you mentioned.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240411/35a86910/attachment.htm>


More information about the webkit-unassigned mailing list