[llvm-branch-commits] [clang] [llvm] [HLSL][RootSiganture] Add parsing of new number params in StaticSampler (PR #140291)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 26 10:39:48 PDT 2025


================
@@ -161,6 +161,9 @@ struct DescriptorTableClause {
 struct StaticSampler {
   Register Reg;
   float MipLODBias = 0.f;
+  uint32_t MaxAnisotropy = 16;
+  float MinLOD = 0.f;
+  float MaxLOD = 3.402823466e+38f; // FLT_MAX
----------------
joaosaffran wrote:

```suggestion
  float MaxLOD = std::numeric_limits<float>::max();
```

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


More information about the llvm-branch-commits mailing list