[llvm] [SPIR-V] Add SPV_INTEL_bindless_images extension (PR #127737)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 19:19:16 PST 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff 738f3a1493995875f1d8d557946ec8c3c557f5ab 6397d6f2097572838eed592ff3313f2aebc84735 --extensions cpp -- llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
index 0db046ebed..636d467cda 100644
--- a/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
@@ -1682,7 +1682,8 @@ void addInstrRequirements(const MachineInstr &MI,
   case SPIRV::OpConvertHandleToSampledImageINTEL:
     if (!ST.canUseExtension(SPIRV::Extension::SPV_INTEL_bindless_images))
       report_fatal_error("Intel bindless images handles require the following "
-                         "SPIR-V extension: SPV_INTEL_bindless_images", false);
+                         "SPIR-V extension: SPV_INTEL_bindless_images",
+                         false);
     Reqs.addExtension(SPIRV::Extension::SPV_INTEL_bindless_images);
     Reqs.addCapability(SPIRV::Capability::BindlessImagesINTEL);
     break;

``````````

</details>


https://github.com/llvm/llvm-project/pull/127737


More information about the llvm-commits mailing list