Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Skip invariant for gl_FragCoord on WebGL2 #2254

Merged
merged 1 commit into from
Feb 16, 2023

Conversation

grovesNL
Copy link
Collaborator

Fixes gfx-rs/wgpu#4481

If the browser behavior changes here we can restore it later on, but for now at least ANGLE (maybe others) reject invariant gl_FragCoord as described in gfx-rs/wgpu#4481

@grovesNL grovesNL force-pushed the invariant-glfragcoord branch from e18e1e5 to 94877b6 Compare February 15, 2023 18:52
@jimblandy jimblandy merged commit f48b6bf into gfx-rs:master Feb 16, 2023
@grovesNL grovesNL deleted the invariant-glfragcoord branch March 16, 2023 19:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

glsl-out: invariant gl_FragCoord might not be allowed under WebGL2
2 participants