Skip to content

How to find the cause for "Internal error in ShaderStages(VERTEX) shader" in Firefox #6851

Closed Answered by dplate
dplate asked this question in Q&A
Discussion options

You must be logged in to vote

I found the reason. It was not the vertex shader, but a function used by the fragment shader with this signature:
fn getNeighbors(textureCoordinate: vec2f) -> array<vec3f, 8>

It's related to this issue:
#6845

If I wrap the array into a struct, then everything works like expected. :)

Thanks for your effort to bring WebGPU to Firefox.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dplate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant