We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b73371 commit e3d52daCopy full SHA for e3d52da
IGC/Compiler/CISACodeGen/CISABuilder.cpp
@@ -3766,7 +3766,7 @@ namespace IGC
3766
}
3767
3768
3769
- if (IGC_IS_FLAG_ENABLED(ShaderDebugHashCodeInKernel))
+ if (context->m_DriverInfo.EnableShaderDebugHashCodeInKernel() || IGC_IS_FLAG_ENABLED(ShaderDebugHashCodeInKernel))
3770
{
3771
QWORD AssemblyHash = { 0 };
3772
AssemblyHash = context->hash.getAsmHash();
IGC/Compiler/CISACodeGen/DriverInfo.hpp
@@ -273,6 +273,9 @@ namespace IGC
273
/// Check if integer mad is enabled
274
virtual bool EnableIntegerMad() const { return false; }
275
276
+ /// add shader hash code after EOT for debug purposes
277
+ virtual bool EnableShaderDebugHashCodeInKernel() const { return false; }
278
+
279
280
};
281
0 commit comments