mojira.dev
MC-308342

VK backend validation error when compiling shaders containing "big" in/out variables

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 3

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

[media][media]
[media]

Rearchived.
Accidentally archived whole folder instead of assets + pack.mcmeta

Thank you for your report!
However, this issue is Invalid.

Your game, launcher or server is modified.
If you can reproduce the issue in a vanilla environment, please recreate the issue.

  • Any non-standard client/server/launcher build needs to be taken up with the appropriate team, not Mojang.

  • A world which had previously been opened with a modified client might be corrupted. Please try reproducing the issue in a newly generated world.

  • Any plugin issues need to be addressed to the creator of the plugin or resource pack.

  • If you have problems on large servers like Hypixel, please contact them first as they run modified server software.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Aydar Khazeev

(Unassigned)

Unconfirmed

26.2 Snapshot 8

Retrieved