Skip to content

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.

Co-authored-by: Joona Aalto <jondolf.dev@gmail.com>
@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

@janhohenheim janhohenheim added the S-Nominated-To-Close A triage team member thinks this PR or issue should be closed out. label Jun 29, 2025
@atlv24 atlv24 closed this Aug 2, 2025
@github-project-automation github-project-automation bot moved this to Done in Rendering Aug 2, 2025
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

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