Closed torokati44 closed 3 years ago
Are you using storage buffers/textures? The backend uses GLES 3.0 target (V3_00Es
), which needs to be fixed.
To be honest, I'm not familiar with the rendering internals of Ruffle, so I can't really tell, I'm just seeing this symptom.
However, since the generated shader indeed appears to be invalid, could this be an issue with SPIRV-Cross itself? Or just with the way it is invoked?
I think it's the same issue as was blocking our compute example to run on GL - https://github.com/grovesNL/spirv_cross/issues/159 Now that it's addressed, we can update the GL backend and select the proper version.
Code is meant to go here - https://github.com/gfx-rs/gfx/blob/9428cf7fbf27472a3809188eb24fd3812882d735/src/backend/gl/src/device.rs#L293 Would you be interested in making this PR?
Sure... I'm just trying to figure out how to make cargo use a locally updated version of a single (indirect) dependency throughout the whole project, so I can test it first. EDIT: I think this part is kinda working now.
Why is there both a (3, 20)
.. (4, 30)
version tuple format and a (3, 2)
.. (4, 3)
as well, all over the place? :thinking:
possibly a mistake! beware, and see if it needs fixing, please
Short info header:
I am once again trying to run Ruffle with the OpenGL backend. On startup I get this error:
https://gist.github.com/torokati44/a0404ee80f99645fe2242a00a68b97ec
Running with the Vulkan backend works flawlessly.