diff --git a/libs/video/renderer/vulkan/pl_quake_def.plist b/libs/video/renderer/vulkan/pl_quake_def.plist index 56c5ac2c3..e841070f3 100644 --- a/libs/video/renderer/vulkan/pl_quake_def.plist +++ b/libs/video/renderer/vulkan/pl_quake_def.plist @@ -1155,7 +1155,7 @@ }, ); vertexInput = $properties.vertexInput.index_only; - inputAssembly = $properties.inputAssembly.alias; + inputAssembly = $properties.inputAssembly.sprite; layout = sprite_layout; }; twod = { diff --git a/libs/video/renderer/vulkan/shader/sprite_gbuf.frag b/libs/video/renderer/vulkan/shader/sprite_gbuf.frag index a890ca94d..29d9b65c9 100644 --- a/libs/video/renderer/vulkan/shader/sprite_gbuf.frag +++ b/libs/video/renderer/vulkan/shader/sprite_gbuf.frag @@ -14,6 +14,8 @@ layout (location = 0) in vec2 st; layout (location = 1) in vec4 position; layout (location = 2) in vec3 normal; +layout(early_fragment_tests) in; + layout (location = 0) out vec4 frag_color; layout (location = 1) out vec4 frag_emission; layout (location = 2) out vec4 frag_normal;