Skip to content

Commit

Permalink
[update #72] shaderc 3871c0a
Browse files Browse the repository at this point in the history
  • Loading branch information
tiawl authored Sep 17, 2024
2 parents 6aa2895 + 4f69e14 commit 0e79658
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .references/shaderc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7bab426
3871c0a
5 changes: 5 additions & 0 deletions shaderc/libshaderc_util/src/spirv_tools_wrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ bool SpirvToolsOptimize(Compiler::TargetEnv env,
val_opts.SetRelaxLogicalPointer(true);
// This uses relaxed rules for pre-legalized HLSL.
val_opts.SetBeforeHlslLegalization(true);
// Don't use friendly names when printing validation errors.
// It incurs a high startup cost whether or not there is an
// error. Validation failures are compiler bugs, and so they
// should be rare anyway.
val_opts.SetFriendlyNames(false);

// Set additional optimizer options.
optimizer_options.set_validator_options(val_opts);
Expand Down

0 comments on commit 0e79658

Please sign in to comment.