Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Tried Linux build on RX480, Intel HD530(Skylake) and Geforce GT710, Windows build with RX480 only. Crash on startup with everything but the GT710 (which isn't powerful enough to run this game above single-digit framerates, so I didn't play any further).

GL Vendor : X.Org
GL Renderer : AMD Radeon (TM) RX 480 Graphics (POLARIS10, DRM 3.26.0, 4.18.16-arch1-1-ARCH, LLVM 7.0.0)
GL Version (string) : 4.5 (Core Profile) Mesa 18.2.4
GL Version (integer) : 4.5
GLSL Version : 4.50
Log found for 'quad':
0:1(1): error: #extension directive is not allowed in the middle of a shader
quad -> vertex shader!

That one is probably fixed now, but I haven't tried in AMD at all, so I don't know if there will be more problems or not with the shader language, thanks for trying it out for me!

It seems to get a bit further now, but still crashing.

Log found for 'quad':
0:4(12): warning: extension `GL_EXT_shader_texture_lod' unsupported in vertex shader
0:5(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader
Log found for 'quad':
0:4(12): warning: extension `GL_EXT_shader_texture_lod' unsupported in fragment shader
0:5(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader
Log found for 'model':
0:4(12): warning: extension `GL_EXT_shader_texture_lod' unsupported in vertex shader
0:5(12): warning: extension `GL_OES_standard_derivatives' unsupported in vertex shader
loading resauces/models/door.obj
Log found for 'depth':
0:4(12): warning: extension `GL_EXT_shader_texture_lod' unsupported in fragment shader
0:5(12): warning: extension `GL_OES_standard_derivatives' unsupported in fragment shader
GL_INVALID_OPERATION - utils/shader.c:447

On some runs I'm still getting "#extension directive is not allowed in the middle of a shader" instead of the GL_INVALID_OPERATION error as well.

Can you create a pastebin with glinfo?

https://pastebin.com/raw/La0GJx2A

I removed those two extensions, but I'm not sure where I'm using the directive in the middle of a shader, I am now printing the generated shaders. Thanks for the help!

https://pastebin.com/raw/4jUsAfmP

Found it, is it working now?

(2 edits)

Still crashing. It's randomly giving me one of these 3 now:

GL_INVALID_OPERATION - utils/shader.c:447

GL_INVALID_OPERATION - utils/texture.c:814

Log found for 'masked_gbuffer':
0:8(1): error: #extension directive is not allowed in the middle of a shader
masked_gbuffer -> fragment shader!

Damn it, I'm sorry, forgot to update the resources folder