Add ShaderReflector

- Used to look at the shader files and find set/binding automatically
This commit is contained in:
Thraix
2023-03-14 22:56:11 +01:00
parent 6e463b3560
commit 4fe719858d
20 changed files with 382 additions and 151 deletions
@@ -10,7 +10,7 @@ namespace Copium
vertexBuffer{vulkan, RendererVertex::GetDescriptor(), vertexCount},
descriptorSet{vulkan, descriptorPool, pipeline.GetDescriptorSetLayout(0)}
{
descriptorSet.AddSamplers(samplers, 0);
descriptorSet.SetSamplers(samplers, 0);
}
RendererVertexBuffer& DrawCall::GetVertexBuffer()