mojira.dev
MC-307626

The Vulkan validation layer detects errors when the player is in the resource pack selection menu

The Vulkan validation layer detects errors when the player is in the resource pack selection menu

reproduction step:

  1. Open the resource pack selection menu

Validation Error: [ VUID-vkCmdSetScissor-x-00595 ] Object 0: handle = 0x7f13c64faf10, type = VK_OBJECT_TYPE_COMMAND_BUFFER; | MessageID = 0xa54a6ff8 | 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://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.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)

Attachments

Comments 3

I am unable to reproduce this. Please attach a video showcasing the issue

This requires the window size and gui scale to line up where the bounds of the selection box is outside that of the window. The default settings (gui scale auto) and window size (854x480) happen to do this.

Lolo

RogueLogix

Confirmed

(Unassigned)

26.2 Snapshot 3

Retrieved