Skip to content

wireframe broken in webgpu #20537

@robtfm

Description

@robtfm

Bevy version

0.16 / main

[Optional] Relevant system information

chrome/webgpu

What you did

enabled wireframe

What went wrong

[...]bevy_render\src\render_resource\pipeline_cache.rs:1026 failed to process shader:
error: failed to build a valid final module: Global variable [0] 'push_constants' is invalid
  ┌─ render/wireframe.wgsl:7:1
  │7
  │ var<push_constant> push_constants: PushConstants;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ naga::GlobalVariable [0]
  │  = Capability Capabilities(PUSH_CONSTANT) is not supported

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-WebGPUSpecific to the WebGPU render APIS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions