Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deferred Rendering example broken on WebGL2 #10364

Closed
DGriffin91 opened this issue Nov 4, 2023 · 0 comments · Fixed by #10365
Closed

Deferred Rendering example broken on WebGL2 #10364

DGriffin91 opened this issue Nov 4, 2023 · 0 comments · Fixed by #10365
Labels
A-Rendering Drawing game state to the screen C-Bug An unexpected or incorrect behavior
Milestone

Comments

@DGriffin91
Copy link
Contributor

Bevy version 64faadb

The deferred rendering example is broken on WebGL2.

The issue was introduced at 44928e0 with #8015

panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_render_pipeline
      note: label = `pbr_opaque_mesh_pipeline`
    Internal error in ShaderStages(FRAGMENT) shader: WGSL `textureLoad` from depth textures is not supported in GLSL
@DGriffin91 DGriffin91 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Nov 4, 2023
@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen and removed S-Needs-Triage This issue needs to be labelled labels Nov 4, 2023
@alice-i-cecile alice-i-cecile added this to the 0.12 milestone Nov 4, 2023
github-merge-queue bot pushed a commit that referenced this issue Nov 4, 2023
# Objective

fix #10364 

## Solution

gate depth prepass reads in pbr_transmission.wgsl by `#ifndef WEBGL2`
ameknite pushed a commit to ameknite/bevy that referenced this issue Nov 6, 2023
# Objective

fix bevyengine#10364 

## Solution

gate depth prepass reads in pbr_transmission.wgsl by `#ifndef WEBGL2`
rdrpenguin04 pushed a commit to rdrpenguin04/bevy that referenced this issue Jan 9, 2024
# Objective

fix bevyengine#10364 

## Solution

gate depth prepass reads in pbr_transmission.wgsl by `#ifndef WEBGL2`
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants