Skip to content

Commit 7a8ef5c

Browse files
scottp101igcbot
authored andcommitted
Ensure flag is set when setting compiler option
Ensure flag is set when setting compiler option
1 parent f59b739 commit 7a8ef5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

IGC/AdaptorCommon/customApi.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ void IGC_DEBUG_API_CALL SetCompilerOptionOpaque(OptionFlag flag, void *data) {
204204
#define DECLARE_IGC_REGKEY(dataType, regkeyName, defaultValue, description, releaseMode) \
205205
case OptionFlag::OPTION_##regkeyName: \
206206
SetCompilerOptionOpaqueHelper(g_RegKeyList.regkeyName, reinterpret_cast<dataType *>(data)); \
207+
g_RegKeyList.regkeyName.Set(); \
207208
break;
208209
#include "common/igc_regkeys.h"
209210
#undef DECLARE_IGC_REGKEY

0 commit comments

Comments
 (0)