Skip to content

Atmosphere example broken on Webgpu #21700

@mate-h

Description

@mate-h

Bevy version and features

  • Current commit on main branch. 906bc14
  • Have yet to bisect what broke it exactly, but could be the filtering pipeline itself with the mip levels.

Relevant system information

Chrome 142
MacOS 26

What you did

bevy run --example atmosphere --features=debug,webgpu web

then opened link at http://127.0.0.1:4000/

What went wrong

  • the atmosphere shader crashes shortly after loading with webgpu warning in the console (attached above)

Additional information

Image
Texture view mip level range (baseMipLevel: 6, mipLevelCount: 1) exceeds the texture's mip level count (1).
 - While validating [TextureViewDescriptor] against [Texture (unlabeled 512x512 px, 6 layer, TextureFormat::RGBA16Float)].
 - While calling [Texture (unlabeled 512x512 px, 6 layer, TextureFormat::RGBA16Float)].CreateView([TextureViewDescriptor]).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-WebGPUSpecific to the WebGPU render API

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions