oreon-engine icon indicating copy to clipboard operation
oreon-engine copied to clipboard

shader related issue on Radeon™ Vega 8 Graphics

Open dev-abir opened this issue 4 years ago • 3 comments

I am running an ubuntu-based distro, and getting this error: image

dev-abir avatar Jun 16 '20 13:06 dev-abir

Same with me. Any workarounds?

ThanosFisherman avatar Oct 14 '23 18:10 ThanosFisherman

@ThanosFisherman The error is thrown on glsl compilation. This is the error if you pass a bool to a shader, but as far as I can see 0 or 1 is passed. Screenshot 2023-10-16 at 07 26 56 This is hard to debug. Maybe you can tweak some values passed by using constants. Or just comment some suspicious lines out in https://github.com/fynnfluegge/oreon-engine/blob/main/oreonengine/oe-gl-deferred/src/main/java/org/oreon/gl/engine/deferred/DeferredLightingShader.java to get closer to the cause.

fynnfluegge avatar Oct 16 '23 05:10 fynnfluegge

hi @fynnfluegge

I wasn't able to figure it out. I commented out everything from DeferredLightingShader class and then I got an error from TerrainShader. It looks like a domino effect

org.oreon.gl.components.terrain.shader.TerrainShader 0:44(51): error: is is not allowed on function parameter

Thanks for helping out though.

ThanosFisherman avatar Oct 16 '23 11:10 ThanosFisherman