Trying to fix mesh culling

This commit is contained in:
Dynamitos
2024-05-04 13:25:19 +02:00
parent f0fd9a7ae7
commit 87b72dcd84
8 changed files with 53 additions and 51 deletions
+2 -1
View File
@@ -121,18 +121,19 @@ void DebugPass::createRenderPass()
pipelineLayout = graphics->createPipelineLayout("DebugPassLayout");
pipelineLayout->addDescriptorLayout(viewParamsLayout);
pipelineLayout->create();
ShaderCreateInfo createInfo = {
.name = "DebugVertex",
.mainModule = "Debug",
.entryPoint = "vertexMain",
.rootSignature = pipelineLayout,
};
vertexShader = graphics->createVertexShader(createInfo);
createInfo.name = "DebugFragment";
createInfo.entryPoint = "fragmentMain";
fragmentShader = graphics->createFragmentShader(createInfo);
pipelineLayout->create();
VertexInputStateCreateInfo inputCreate = {
.bindings = {