mojira.dev
MC-307311

Core shaders only load after restart when using Vulkan

When using vulcan, equipping a resourcepack that alters core shaders does not alter the shaders modified until you restart your game

Steps to reproduce:

  1. Launch minecraft with your graphics api set to vulcan

  2. equip the resourcepack provided (It changes xp text color to be different)

  3. nothing happens

  4. restart your game without removing the resourcepack

  5. join back into a survival world

  6. the xp text color should be a different color

Attachments

Comments 4

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

[media]

Can confirm, with MoltenVK 1.4.2 on macOS

This appears to be because of a missing this.shaderCache.clear() in VulkanDevice#clearPipelineCache

Bluebird

RogueLogix

Community Consensus

Platform G

Important

Rendering

26.2 Snapshot 1

26.2 Snapshot 2

Retrieved