summaryrefslogtreecommitdiffstats
path: root/tools/platform
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-02-20 14:37:41 -0800
committerGitHub <noreply@github.com>2022-02-20 14:37:41 -0800
commitc4790309ec46ae2f4f7c49eb50699a950ee7a9a4 (patch)
treee89f2a4a0a8a3fee16ebde5ce5b05ceb1d473398 /tools/platform
parente272aec6a9ddb8b0af82f72c061f5393f2b2bdab (diff)
gfx: defer downstream shader compilation until draw/dispatch. (#2139)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/platform')
-rw-r--r--tools/platform/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/platform/gui.cpp b/tools/platform/gui.cpp
index 84d458e71..a26e79be1 100644
--- a/tools/platform/gui.cpp
+++ b/tools/platform/gui.cpp
@@ -123,7 +123,7 @@ GUI::GUI(
pipelineDesc.framebufferLayout = framebufferLayout;
pipelineDesc.program = program;
pipelineDesc.inputLayout = inputLayout;
- pipelineDesc.blend.targets = &targetBlendDesc;
+ pipelineDesc.blend.targets[0] = targetBlendDesc;
pipelineDesc.blend.targetCount = 1;
pipelineDesc.rasterizer.cullMode = CullMode::None;