diff --git a/libs/video/renderer/vulkan/qfpipeline.plist b/libs/video/renderer/vulkan/qfpipeline.plist index 825f71a59..cb7cf82f9 100644 --- a/libs/video/renderer/vulkan/qfpipeline.plist +++ b/libs/video/renderer/vulkan/qfpipeline.plist @@ -177,12 +177,6 @@ }, { binding = 1; - descriptorType = uniform_buffer; - descriptorCount = 1; - stageFlags = fragment; - }, - { - binding = 2; descriptorType = combined_image_sampler; descriptorCount = 1; stageFlags = fragment; diff --git a/libs/video/renderer/vulkan/shader/alias_gbuf.frag b/libs/video/renderer/vulkan/shader/alias_gbuf.frag index e8b14a305..6ef33dd43 100644 --- a/libs/video/renderer/vulkan/shader/alias_gbuf.frag +++ b/libs/video/renderer/vulkan/shader/alias_gbuf.frag @@ -1,5 +1,5 @@ #version 450 -layout (set = 0, binding = 2) uniform sampler2DArray Skin; +layout (set = 0, binding = 1) uniform sampler2DArray Skin; layout (push_constant) uniform PushConstants { layout (offset = 68) @@ -28,5 +28,5 @@ main (void) c += texture (Skin, vec3 (st, 2)) * unpackUnorm4x8(colorB); frag_color = c; - frag_normal = vec4(normal, 0); + frag_normal = vec4(normal, 1); } diff --git a/libs/video/renderer/vulkan/vulkan_alias.c b/libs/video/renderer/vulkan/vulkan_alias.c index d3663d0df..cc1905c4a 100644 --- a/libs/video/renderer/vulkan/vulkan_alias.c +++ b/libs/video/renderer/vulkan/vulkan_alias.c @@ -149,6 +149,10 @@ Vulkan_DrawAlias (entity_t *ent, vulkan_ctx_t *ctx) 0, vertex_constants, sizeof (vertex_constants), fragment_constants, sizeof (fragment_constants), hdr, ctx); + emit_commands (aframe->cmdSet.a[QFV_aliasGBuffer], ent->pose1, ent->pose2, + skin, vertex_constants, sizeof (vertex_constants), + fragment_constants, sizeof (fragment_constants), + hdr, ctx); } static void