From a90c850735664e2928e4cc961442a126c6859b97 Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Tue, 26 Jan 2021 13:32:03 -0800 Subject: Integrate reflection more deeply into gfx layer (#1677) --- examples/gpu-printing/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/gpu-printing/main.cpp') diff --git a/examples/gpu-printing/main.cpp b/examples/gpu-printing/main.cpp index 57e096043..6a4aabf3a 100644 --- a/examples/gpu-printing/main.cpp +++ b/examples/gpu-printing/main.cpp @@ -100,7 +100,7 @@ ComPtr loadComputeProgram(slang::IModule* slangModule, char { gfx::StageType::Compute, code, codeEnd }, }; - gfx::IShaderProgram::Desc programDesc; + gfx::IShaderProgram::Desc programDesc = {}; programDesc.pipelineType = gfx::PipelineType::Compute; programDesc.kernels = &kernelDescs[0]; programDesc.kernelCount = 2; -- cgit v1.2.3