[all-commits] [llvm/llvm-project] 50e1db: [HLSL][SPIRV] Add CLI option `-fspv-extension` (#1...

Steven Perron via All-commits all-commits at lists.llvm.org
Fri May 2 16:41:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 50e1db7194e70ddf235edad289e726ed5c6027b7
      https://github.com/llvm/llvm-project/commit/50e1db7194e70ddf235edad289e726ed5c6027b7
  Author: Steven Perron <stevenperron at google.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/HLSL.cpp
    A clang/test/Driver/dxc_fspv_extension.hlsl

  Log Message:
  -----------
  [HLSL][SPIRV] Add CLI option `-fspv-extension` (#137985)

This commit implements DXC's `-fspv-extension` options. It is
implemented by replaced it with the equivalent `-spirv-ext` option. Note
that if the option is not used, that is the same as enabling all
extension, so `-spirv-ext=all` is used.

Fixes https://github.com/llvm/llvm-project/issues/137647

---------

Co-authored-by: Cassandra Beckley <cbeckley at google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list