[all-commits] [llvm/llvm-project] 5ed5fc: [HLSL][RootSignature] Handle an empty root signature

Finn Plummer via All-commits all-commits at lists.llvm.org
Tue Jan 28 15:33:33 PST 2025


  Branch: refs/heads/users/inbelic/pr-122982
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ed5fcfebb395cdfe45dc41094e07716d2003d66
      https://github.com/llvm/llvm-project/commit/5ed5fcfebb395cdfe45dc41094e07716d2003d66
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    A llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  [HLSL][RootSignature] Handle an empty root signature

- Define the Parser struct
- Model RootElements as a variant of the different types
- Create a basic test case for unit testing


  Commit: 83473aa681f2767c1a7406647fe8eb14cfe9964e
      https://github.com/llvm/llvm-project/commit/83473aa681f2767c1a7406647fe8eb14cfe9964e
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add support for an empty descriptor table


  Commit: 03292a54b324f963fee4b488a427ad91d8c640a3
      https://github.com/llvm/llvm-project/commit/03292a54b324f963fee4b488a427ad91d8c640a3
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp

  Log Message:
  -----------
  add diagnostics to methods


  Commit: 461a700eaae57c9a6d1291c603ebfd78fe23a1dd
      https://github.com/llvm/llvm-project/commit/461a700eaae57c9a6d1291c603ebfd78fe23a1dd
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add support for empty descriptor table clause


  Commit: b4bc7522ad2585cc8dec9d5356704e791fbf3b32
      https://github.com/llvm/llvm-project/commit/b4bc7522ad2585cc8dec9d5356704e791fbf3b32
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add support for parsing registers


  Commit: 6f2ad17346d6d8381ebf80fd4207ce299bef1ba4
      https://github.com/llvm/llvm-project/commit/6f2ad17346d6d8381ebf80fd4207ce299bef1ba4
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add support for optional parameters

- use numDescriptors as an example


  Commit: 51d5304f7e7058d81ff9c93872412ee042ea35c9
      https://github.com/llvm/llvm-project/commit/51d5304f7e7058d81ff9c93872412ee042ea35c9
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp

  Log Message:
  -----------
  add diagnostic for repeated parametr


  Commit: 5545d2a2d954d27dc762b0104ef20485593984ab
      https://github.com/llvm/llvm-project/commit/5545d2a2d954d27dc762b0104ef20485593984ab
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add space optional parameter

- demonstrate can specify in any order


  Commit: 20bec7f9a1e8bbddd8a48c852609c359193d6304
      https://github.com/llvm/llvm-project/commit/20bec7f9a1e8bbddd8a48c852609c359193d6304
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add support for custom parameter parsing - DescriptorRangeOffset


  Commit: 15a8e59d077cf8b5514dbe24eb8345bc9bccad97
      https://github.com/llvm/llvm-project/commit/15a8e59d077cf8b5514dbe24eb8345bc9bccad97
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add support for shader visibility

- introduces the ParseEnum function that will parse any of the ENUM
token definitions


  Commit: 6775f3da0379fb6c046eddf8fcb08c5aa70e1c2f
      https://github.com/llvm/llvm-project/commit/6775f3da0379fb6c046eddf8fcb08c5aa70e1c2f
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Parse/ParseHLSLRootSignature.h
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp
    M llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h

  Log Message:
  -----------
  add support for parsing Flag parameters

- use DescriptorRangeFlags to demonstrate valid functionality


  Commit: 24f0a9e6f24e3e95067ba716961d4de91fbdb4ab
      https://github.com/llvm/llvm-project/commit/24f0a9e6f24e3e95067ba716961d4de91fbdb4ab
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/lib/Parse/ParseHLSLRootSignature.cpp
    M clang/unittests/Parse/ParseHLSLRootSignatureTest.cpp

  Log Message:
  -----------
  add diagnostic for non-zero int literal as flag


  Commit: b6432598317f31e10180f9357d3fb24ecef6a933
      https://github.com/llvm/llvm-project/commit/b6432598317f31e10180f9357d3fb24ecef6a933
  Author: Finn Plummer <canadienfinn at gmail.com>
  Date:   2025-01-28 (Tue, 28 Jan 2025)

  Changed paths:
    M clang/lib/Parse/ParseHLSLRootSignature.cpp

  Log Message:
  -----------
  visit clang-format


Compare: https://github.com/llvm/llvm-project/compare/cac95d10450c...b6432598317f

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