Skip to content

Commit cafd680

Browse files
committed
forgot about you 22, targetSpirvVersion fix
1 parent 2262bbc commit cafd680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

22_CppCompat/ITester.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class ITester
7171

7272
asset::IShaderCompiler::SCompilerOptions options = {};
7373
options.stage = shaderStage;
74-
options.targetSpirvVersion = m_device->getPhysicalDevice()->getLimits().spirvVersion;
74+
options.preprocessorOptions.targetSpirvVersion = m_device->getPhysicalDevice()->getLimits().spirvVersion;
7575
options.spirvOptimizer = nullptr;
7676
options.debugInfoFlags |= asset::IShaderCompiler::E_DEBUG_INFO_FLAGS::EDIF_SOURCE_BIT;
7777
options.preprocessorOptions.sourceIdentifier = source->getFilepathHint();

0 commit comments

Comments
 (0)