You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
GLSL compilation error on Intel iGPU with Vulkan backend: non-opaque uniforms outside a block #3909
When attempting to run Sodium with Minecraft's experimental Vulkan rendering backend enabled on an integrated Intel Iris X GPU, the game crashes on startup/world load due to a shader compilation error in the block_layer_opaque fragment shader.
Reproduction Steps
Steps to Reproduce:
Enable the experimental Vulkan rendering pipeline in settings.
Launch the game / load a world with Sodium installed.
[Render thread/ERROR]: Couldn't compile FRAGMENT shader sodium:blocks/block_layer_opaque: Couldn't parse GLSL: 0:100: error: 'non-opaque uniforms outside a block' : not allowed when using GLSL for Vulkan
[Render thread/ERROR]: Couldn't compile pipeline sodium:pipeline/solid_terrain: fragment shader sodium:blocks/block_layer_opaque was invalid
Caused by: java.lang.IllegalStateException: Pipeline is not valid (may contain invalid shaders?)
Activity
douira commentedon Sep 12, 2026
Please reproduce this issue with just sodium.
astelmach20 commentedon Sep 26, 2026