Skip to content

Commit 68c7d38

Browse files
authored
Fix test break on non-spirv build (#5422)
A previous PR added this spriv option. The default should have been false, but in the block that checks for spirv options on a non-spirv build, the default was set to true. This broke testing on non-spirv builds.
1 parent 34b47c2 commit 68c7d38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/DxcSupport/HLSLOptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ int ReadDxcOpts(const OptTable *optionTable, unsigned flagsToInclude,
11201120
Args.hasFlag(OPT_Wno_vk_emulated_features, OPT_INVALID, false) ||
11211121
Args.hasFlag(OPT_fvk_auto_shift_bindings, OPT_INVALID, false) ||
11221122
Args.hasFlag(OPT_fvk_allow_rwstructuredbuffer_arrays, OPT_INVALID,
1123-
true) ||
1123+
false) ||
11241124
!Args.getLastArgValue(OPT_fvk_stage_io_order_EQ).empty() ||
11251125
!Args.getLastArgValue(OPT_fspv_debug_EQ).empty() ||
11261126
!Args.getLastArgValue(OPT_fspv_extension_EQ).empty() ||

0 commit comments

Comments
 (0)