learn-wgpu
learn-wgpu copied to clipboard
Infinite scaling canvas
On the following page the demo results in errors and the canvas resizing to be enormous. It appears the initial device request didn't require high enough limits and thus couldn't support a texture of size 9600x4800 (limit 8192x8192). Then for some reason it tries doubling the texture size repeatedly (still failing each time) until it is 33554432x33554432. https://sotrh.github.io/learn-wgpu/intermediate/tutorial13-hdr/#demo
tutorial13-hdr/#output-too-dark-on-webgpu:1 The texture size ([Extent3D width:0, height:0, depthOrArrayLayers:1]) or mipLevelCount (1) is empty.
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
15[Invalid Texture "Hdr::texture"] is invalid.
- While calling [Invalid Texture "Hdr::texture"].CreateView([TextureViewDescriptor]).
Understand this warning
15[Invalid TextureView] is invalid.
- While validating entries[0] as a Sampled Texture.
Expected entry layout: {sampleType: TextureSampleType::Float, viewDimension: 2, multisampled: 0}
- While validating [BindGroupDescriptor ""Hdr::bind_group""] against [BindGroupLayout "Hdr::layout"]
- While calling [Device].CreateBindGroup([BindGroupDescriptor ""Hdr::bind_group""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:9600, height:4800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]). This adapter supports a higher maxTextureDimension2D of 16384, which can be specified in requiredLimits when calling requestDevice(). Limits differ by hardware, so always check the adapter limits prior to requesting a higher limit.
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:9600, height:4800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]). This adapter supports a higher maxTextureDimension2D of 16384, which can be specified in requiredLimits when calling requestDevice(). Limits differ by hardware, so always check the adapter limits prior to requesting a higher limit.
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:9600, height:4800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]). This adapter supports a higher maxTextureDimension2D of 16384, which can be specified in requiredLimits when calling requestDevice(). Limits differ by hardware, so always check the adapter limits prior to requesting a higher limit.
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
14[Invalid Texture "depth_texture"] is invalid.
- While calling [Invalid Texture "depth_texture"].CreateView([TextureViewDescriptor]).
Understand this warning
104Could not create the swapchain texture.
at APIInjectError (..<URL>)
Understand this warning
103[Invalid Texture] is invalid.
- While calling [Invalid Texture].CreateView([TextureViewDescriptor]).
Understand this warning
103[Invalid TextureView] is invalid.
- While validating colorAttachments[0].
- While encoding [CommandEncoder "Render Encoder"].BeginRenderPass([null]).
- While finishing [CommandEncoder "Render Encoder"].
Understand this warning
103[Invalid CommandBuffer "Render Encoder" from CommandEncoder "Render Encoder"] is invalid.
- While calling [Queue].Submit([[Invalid CommandBuffer "Render Encoder" from CommandEncoder "Render Encoder"]])
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:19200, height:9600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:19200, height:9600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:19200, height:9600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:38400, height:19200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:38400, height:19200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:38400, height:19200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:76800, height:38400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:76800, height:38400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:76800, height:38400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:153600, height:76800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:153600, height:76800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:153600, height:76800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:307200, height:153600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:307200, height:153600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:307200, height:153600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:614400, height:307200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:614400, height:307200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:614400, height:307200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:1228800, height:614400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:1228800, height:614400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:1228800, height:614400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:2457600, height:1228800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:2457600, height:1228800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:2457600, height:1228800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:4915200, height:2457600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:4915200, height:2457600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:4915200, height:2457600, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:9830400, height:4915200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:9830400, height:4915200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:9830400, height:4915200, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:19660800, height:9830400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:19660800, height:9830400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:19660800, height:9830400, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:33554432, height:19660800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:33554432, height:19660800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:33554432, height:19660800, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:33554432, height:33554432, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""Hdr::texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""Hdr::texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:33554432, height:33554432, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
at ValidateTextureSize (../../third_party/dawn/src/dawn/native/Texture.cpp:352)
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 Texture size ([Extent3D width:33554432, height:33554432, depthOrArrayLayers:1]) exceeded maximum texture size ([Extent3D width:8192, height:8192, depthOrArrayLayers:256]).
- While validating [TextureDescriptor ""depth_texture""].
- While calling [Device].CreateTexture([TextureDescriptor ""depth_texture""]).
Understand this warning
tutorial13-hdr/#output-too-dark-on-webgpu:1 WebGPU: too many warnings, no more warnings will be reported to the console for this GPUDevice.