Skip to content

Commit 591180b

Browse files
committed
hotfix variable
1 parent 3ac2a5f commit 591180b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/dx12/dx12_renderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ void cg::renderer::dx12_renderer::create_pso(const std::string& shader_name)
290290
};
291291

292292
D3D12_GRAPHICS_PIPELINE_STATE_DESC pso_desc{};
293-
pso_desc.InputLayout = {input_descriptors, _countof(input_descs)};
293+
pso_desc.InputLayout = {input_descs, _countof(input_descs)};
294294
pso_desc.pRootSignature = root_signature.Get();
295295
pso_desc.VS = CD3DX12_SHADER_BYTECODE(vertex_shader.Get());
296296
pso_desc.PS = CD3DX12_SHADER_BYTECODE(pixel_shader.Get());

0 commit comments

Comments
 (0)