Skip to content

Run 3: Blank screen during gameplay with WebGPU renderer #14787

@n0samu

Description

@n0samu

Describe the bug

With Ruffle's WebGPU renderer enabled in Chrome, Run 3 shows a blank screen during gameplay:
image

The errors (deduplicated) are:

The sample count (2) of the texture is not supported.
 - While validating [TextureDescriptor].
 - While calling [Device].CreateTexture([TextureDescriptor]).
[Invalid Texture] is invalid.
 - While calling [Invalid Texture].CreateView([TextureViewDescriptor]).
The sample count (2) of the texture is not supported.
 - While validating [TextureDescriptor "Context3D depth texture"].
 - While calling [Device].CreateTexture([TextureDescriptor "Context3D depth texture"]).
[Invalid Texture "Context3D depth texture"] is invalid.
 - While calling [Invalid Texture "Context3D depth texture"].CreateView([TextureViewDescriptor]).
Multisample count (2) is not supported.
 - While validating multisample state.
 - While calling [Device].CreateRenderPipeline([RenderPipelineDescriptor]).
[Invalid TextureView] is invalid.
 - While validating colorAttachments[0].
 - While encoding [CommandEncoder].BeginRenderPass([RenderPassDescriptor "Context3D render pass"]).
[Invalid CommandBuffer] is invalid.
 - While calling [Queue].Submit([[CommandBuffer], [Invalid CommandBuffer]])

Tested with the Chrome extension built from #14682, in its SWF player page.

Expected behavior

The game should look like this:
image

Content Location

run3.zip

Affected platform

Browser's extension

Operating system

Windows 10

Browser

Chromium 120

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-renderingArea: Rendering & GraphicsA-webArea: Web & ExtensionsbugSomething isn't workingrender-wgpuIssues relating to the wgpu rendererstage3dwebgpuIssues with the the WebGPU wgpu backend

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions