|
@@ -985,6 +985,8 @@ int ReadDxcOpts(const OptTable *optionTable, unsigned flagsToInclude,
|
|
opts.SpirvOptions.autoShiftBindings = Args.hasFlag(OPT_fvk_auto_shift_bindings, OPT_INVALID, false);
|
|
opts.SpirvOptions.autoShiftBindings = Args.hasFlag(OPT_fvk_auto_shift_bindings, OPT_INVALID, false);
|
|
opts.SpirvOptions.finiteMathOnly =
|
|
opts.SpirvOptions.finiteMathOnly =
|
|
Args.hasFlag(OPT_ffinite_math_only, OPT_fno_finite_math_only, false);
|
|
Args.hasFlag(OPT_ffinite_math_only, OPT_fno_finite_math_only, false);
|
|
|
|
+ opts.SpirvOptions.preserveBindings =
|
|
|
|
+ Args.hasFlag(OPT_fspv_preserve_bindings, OPT_INVALID, false);
|
|
|
|
|
|
if (!handleVkShiftArgs(Args, OPT_fvk_b_shift, "b", &opts.SpirvOptions.bShift, errors) ||
|
|
if (!handleVkShiftArgs(Args, OPT_fvk_b_shift, "b", &opts.SpirvOptions.bShift, errors) ||
|
|
!handleVkShiftArgs(Args, OPT_fvk_t_shift, "t", &opts.SpirvOptions.tShift, errors) ||
|
|
!handleVkShiftArgs(Args, OPT_fvk_t_shift, "t", &opts.SpirvOptions.tShift, errors) ||
|