fix: UBO descriptor visible to fragment shader — point light now works

Root cause: descriptor set layout binding had stageFlags=Vertex only.
Fragment shader needs pointLightPos/pointLightColor from UBO but couldn't
access it. Changed to Vertex|Fragment.
This commit is contained in:
emil28092005
2026-06-18 19:29:57 +03:00
parent 905dd839c8
commit aa214cb777
+1 -1
View File
@@ -152,7 +152,7 @@ internal sealed unsafe class VulkanPipeline : IDisposable
var pushConstantRange = new VkPushConstantRange
{
stageFlags = VkShaderStageFlags.Vertex,
stageFlags = VkShaderStageFlags.Vertex | VkShaderStageFlags.Fragment,
offset = 0,
size = 64,
};