Skip to content

Commit a12e213

Browse files
aratajewigcbot
authored andcommitted
Enable SPIRV validation by default
This change makes IGC to pass list of supported extensions to Khronos SPIRV-LLVM Translator, so that SPIRV can be validated and proper error messages can be generated for unsupported extensions.
1 parent b758132 commit a12e213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IGC/common/igc_flags.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ DECLARE_IGC_REGKEY(bool, ForcePrefetchToL1Cache, false, "Forces standard builtin
13041304
DECLARE_IGC_REGKEY(bool, DisablePrefetchToL1Cache, false, "Disable prefetch to L1 cache", true)
13051305
DECLARE_IGC_REGKEY(bool, ForceXYZworkGroupWalkOrder, true, "Force X/Y/Z WorkGroup walk order", true)
13061306
DECLARE_IGC_REGKEY(
1307-
bool, ValidateSPIRVExtensionSupport, false,
1307+
bool, ValidateSPIRVExtensionSupport, true,
13081308
"When enabled, validate each SPIR-V OpExtension against device support and fail compilation if any are "
13091309
"unsupported. Disabled by default until the supported extension list in SPIRVExtensions.td is complete.",
13101310
true)

0 commit comments

Comments
 (0)