[all-commits] [llvm/llvm-project] c11821: [HLSL][SPIRV] Add -fspv-use-unknown-image-format o...

Steven Perron via All-commits all-commits at lists.llvm.org
Fri Aug 29 06:55:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c11821539e67394cc01cf6cc2a7e646c2ce38ee3
      https://github.com/llvm/llvm-project/commit/c11821539e67394cc01cf6cc2a7e646c2ce38ee3
  Author: Steven Perron <stevenperron at google.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M clang/include/clang/Basic/LangOptions.def
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/Targets/SPIR.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/CodeGenHLSL/resources/RWBuffer-elementtype.hlsl
    A clang/test/CodeGenHLSL/resources/RWBuffer-imageformat.hlsl
    M clang/test/CodeGenHLSL/resources/RWBuffer-subscript.hlsl
    M clang/test/CodeGenHLSL/vk-features/SpirvType.hlsl

  Log Message:
  -----------
  [HLSL][SPIRV] Add -fspv-use-unknown-image-format option (#155664)

This option allows users to control the image format used for HLSL
resources
when targeting SPIR-V. When the option is enabled, the unknown image
format
is used. Otherwise, the image format is guessed based on the input type.

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



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