Skip to content

Commit 542bd06

Browse files
author
kevyuu
committed
Fix debloat task
1 parent 2ad3e73 commit 542bd06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/video/ILogicalDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class SpirvDebloatTask
3737
auto findResult = m_shaderInfoMap.find(shader);
3838
assert(findResult != m_shaderInfoMap.end());
3939
const auto& entryPoints = findResult->second.entryPoints;
40-
auto* debloatedShader = findResult->second.debloatedShaders;
40+
auto& debloatedShader = findResult->second.debloatedShaders;
4141

4242
auto debloatedShaderSpec = shaderSpec;
4343
if (shader != nullptr)

0 commit comments

Comments
 (0)