The bug
The Vulkan validation layer — VK_LAYER_KHRONOS_validation — is detecting errors in the pack selection menus.
Steps to reproduce
Ensure that the "GUI Scale" video setting is set to "Auto", and that the game window is at most 429 pixels in width for each 240 pixels in height. For instance, the default window size can be used.
Open the resource pack or data pack selection menu.
View the game log.
Observed behavior
[Render thread/ERROR]: vkCmdSetScissor(): pScissors[0].offset.x (-4) is negative.
The Vulkan spec states: The x and y members of offset member of any element of pScissors must be greater than or equal to 0 (https://docs.vulkan.org/spec/latest/chapters/fragops.html#VUID-vkCmdSetScissor-x-00595)
com.mojang.blaze3d.vulkan.VulkanRenderPass.enableScissor(VulkanRenderPass.java:171)
com.mojang.blaze3d.systems.RenderPass.enableScissor(RenderPass.java:80)
net.minecraft.client.gui.render.GuiRenderer.enableScissor(GuiRenderer.java:431)
net.minecraft.client.gui.render.GuiRenderer.executeDraw(GuiRenderer.java:393)
net.minecraft.client.gui.render.GuiRenderer.executeDrawRange(GuiRenderer.java:238)Linked issues
is caused by 1
Attachments
Comments 3
[media]