Skip to content

force unclipped depth emu on webgpu#19785

Closed
robtfm wants to merge 2 commits intobevyengine:mainfrom
robtfm:force-unclipped-depth-emu-on-webgpu
Closed

force unclipped depth emu on webgpu#19785
robtfm wants to merge 2 commits intobevyengine:mainfrom
robtfm:force-unclipped-depth-emu-on-webgpu

Conversation

@robtfm
Copy link
Contributor

@robtfm robtfm commented Jun 23, 2025

Objective

fixes #19626

Solution

it seems like on webgpu the render device may report DEPTH_CLIP_CONTROL without actually supporting it, so we force emulated mode for webgpu.

@alice-i-cecile alice-i-cecile added C-Bug An unexpected or incorrect behavior A-Rendering Drawing game state to the screen O-WebGPU Specific to the WebGPU render API D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 23, 2025
Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to open a bug upstream and link it here (and in the code) before merging this. Fixes seems very sensible though.

@atlv24
Copy link
Contributor

atlv24 commented Jun 23, 2025

Superseded by gfx-rs/wgpu#7841

And I'll try to get us a backport patch release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior D-Straightforward Simple bug fixes and API improvements, docs, test and examples O-WebGPU Specific to the WebGPU render API S-Needs-Review Needs reviewer attention (from anyone!) to move forward S-Nominated-To-Close A triage team member thinks this PR or issue should be closed out.

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

Directional lights ignore walls on WebGPU when the camera is too parallel to them

5 participants