Skip to content

Commit a079931

Browse files
krystian-andrzejewskiigcbot
authored andcommitted
Disable VRT if requested by a client
This change is to disable VRT on demand.
1 parent 655607c commit a079931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/Compiler/CodeGenPublic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1185,7 +1185,7 @@ class CodeGenContext {
11851185

11861186
bool supportsVRT() const {
11871187
return platform.supportsVRT() && m_DriverInfo.supportsVRT() &&
1188-
(getModuleMetaData()->compOpt.EnableVRT || IGC_IS_FLAG_ENABLED(EnableVRT));
1188+
(getModuleMetaData()->compOpt.EnableVRT && IGC_IS_FLAG_ENABLED(EnableVRT));
11891189
}
11901190
};
11911191

0 commit comments

Comments
 (0)