[llvm-branch-commits] [clang] [llvm] [HLSL] Update Frontend to support version 1.2 of root signature (PR #160616)

Finn Plummer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Sep 24 17:50:21 PDT 2025


================
@@ -926,6 +929,20 @@ RootSignatureParser::parseStaticSamplerParams() {
       if (!Visibility.has_value())
         return std::nullopt;
       Params.Visibility = Visibility;
+    } else if (tryConsumeExpectedToken(TokenKind::kw_flags)) {
+      // `flags` `=` UINT_BORDER_COLOR
----------------
inbelic wrote:

nit:
```suggestion
      // `flags` `=` STATIC_SAMPLE_FLAGS
```

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


More information about the llvm-branch-commits mailing list