Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposing some hidden CFunctionReflection members to the front end (ID3D12LibraryReflection/ID3D12FunctionReflection) #135

Open
wants to merge 27 commits into
base: main
Choose a base branch
from

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    4f1818f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df46403 View commit details
    Browse the repository at this point in the history
  3. Fixed compile error

    Nielsbishere committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    918f977 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5646446 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa04a8b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9cf5d62 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Added ID3D12LibraryReflection1 so ID3D12FunctionReflection1 can be qu…

    …eried, since ID3D12FunctionReflection isn't an IUnknown
    Nielsbishere committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    8698ca3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47ad841 View commit details
    Browse the repository at this point in the history
  3. Exposed serialized root signature to D3D12_FUNCTION_DESC1, Added GetI…

    …nputNode & GetOutputNode to ID3D12FunctionReflection1 to be able to be queried for Workgraphs. Added input/output node count and shaderId/shaderSharedInput (name & id) to D3D12_NODE_DESC
    Nielsbishere committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    5c20ea3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    94bb304 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    704af69 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    951446f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b180ff8 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2024

  1. Changed ID3D12ShaderReflection's IID as noted by the comment above ID…

    …3D12ShaderReflection. Added GetWaveSize to query wave size.
    Nielsbishere committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    aa7d10e View commit details
    Browse the repository at this point in the history
  2. Added ID3D12ShaderReflection1 to replace ID3D12ShaderReflection due t…

    …o newly added GetWaveSize
    Nielsbishere committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    80dfa9f View commit details
    Browse the repository at this point in the history
  3. Mesh and amplification shaders both have numthreads too. However wave…

    …Size is missing as there's still an issue pending for that.
    Nielsbishere committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    3a96f34 View commit details
    Browse the repository at this point in the history
  4. Formatting

    Nielsbishere committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    fb6a5a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Configuration menu
    Copy the full SHA
    16a4ece View commit details
    Browse the repository at this point in the history
  2. Fixed compile issue with ID3D12ShaderReflection1. Important notes: DX…

    …C uses the assumption that bool* == LPBOOL, which isn't possible if BOOL is uint32_t, this needs some further attention to see if this is OK or has side effects, but DXC and DirectX12-Headers definitely don't agree on the size of a bool... Checking the define for LLVM_SUPPORT_WIN_ADAPTER_H is used to avoid duplicate defines and structs/typedefs, this is required on Linux since basestd.h from d3dcommon.h has its own definitions that are definitely different than from DXC. Made InlineIsEqualGUID equal to the implementation in DXC, since that one doesn't spam warnings.
    Nielsbishere committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    c9c7646 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e8e8634 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. HeapAlloc and HeapFree is now only enabled in WinAdapter.h if DXC Win…

    …Adapter.h doesn't override it.
    Nielsbishere committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    ba69480 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. DXC compatibility update to allow it to update DXC-Headers since it's…

    … 2 years behind. Removed IN/OUT and interface since they interfere with lots of files. Made REFGUID/REFCLSID/REFIID typedefs, since these defines interfere with everything too. Turned IsEqualGUID into dxc's version, to avoid lots of warnings.
    Nielsbishere committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    8cd1ddf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd5368b View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. Configuration menu
    Copy the full SHA
    c002274 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    353d37a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a21463 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc27951 View commit details
    Browse the repository at this point in the history