mojira.dev
MC-308344

Validation error when compiling shaders containing in/out array or matrix variables with the Vulkan rendering backend

Minecraft crashes with Vulkan backend (validation layer enabled) if shaders contain in/out variables of array or matrix type

To reproduce, attaching a resourcepack with changed position_tex_color core shaders, containing:
out mat4 SomeMat; in a vertex shader

in mat4 SomeMat; in a fragment shade

Probably related: https://docs.vulkan.org/spec/latest/chapters/interfaces.html#interfaces-iointerfaces-locations

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Aydar Khazeev

RogueLogix

Confirmed

Platform G

Normal

Rendering

26.2 Snapshot 8

26.3 Snapshot 5

Retrieved