We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f94d3f0 commit 343ddf9Copy full SHA for 343ddf9
1 file changed
layers/12_spirvqueriesemu/emulate.cpp
@@ -292,7 +292,7 @@ struct SLayerContext
292
}
293
294
// Required for devices supporting SPIR-V 1.6.
295
- if (deviceILVersion.find("SPIR-V_1.6")) {
+ if (deviceILVersion.find("SPIR-V_1.6") != std::string::npos) {
296
deviceInfo.Capabilities.push_back(spv::CapabilityUniformDecoration);
297
298
0 commit comments