Skip to content

Build error with recent version of dawn #7969

@blitz-research

Description

@blitz-research

Version/Branch of Dear ImGui:

Version 1.91.1, Branch: master

Back-ends:

imgui_impl_wgpu.cpp

Compiler, OS:

All

Full config/build information:

No response

Details:

The wgpu backend does not build with the latest versions of dawn. The error occurs on this line:

depth_stencil_state.depthWriteEnabled = false;

The 'false' on this line should now be 'WGPUOptionalBool_False'.

I can make a PR for this, but it'll break every one's code if they don't have the latest version of Dawn so it may not be a good idea just yet.

Bye,
Mark

Screenshots/Video:

No response

Minimal, Complete and Verifiable Example code:

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions