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

DXIL Shader Debugger Stubs #3305

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

Zorro666
Copy link
Collaborator

@Zorro666 Zorro666 commented May 9, 2024

  • DXIL Shader Debug paths for DebugThread/DebugVertex/DebugPixel

    • The DXIL paths should not be executed and currently populated with error messages that DXIL debugger support is missing.
  • Added DXBCContainerDebugger to wrap DXBC or DXIL shader debugger

    • DXBC and DXIL Shader Debugger's inherit from DXBCContainerDebugger : public ShaderDebugger.
    • DXBCContainerDebugger has member variable isDXIL to be able to choose if DXIL or DXBC ShaderDebugger is active and then used to perform the correct cast from ShaderDebugger to DXBCDebug::InterpretDebugger * or DXILDebug::Debugger *
  • Added stub of DXILDebug::Debugger in new files drivers/shaders/dxil/dxil_debug.[h,cpp]

Testing

  • Automated test d3d11_shader_debug_zoo & d3d12_shader_debug_zoo

DXBC and DXIL Shader Debugger's inherit from "DXBCContainerDebugger : public ShaderDebugger".
"DXBCContainerDebugger" has member variable "isDXIL" to be able to choose if DXIL or DXBC ShaderDebugger is active and allow the correct cast from "ShaderDebugger" to be made.
Added stub of DXILDebug::Debugger in new files "drivers/shaders/dxil/dxil_debug.[h,cpp]"
The DXIL paths should not be executed and currently populated with error messages that DXIL debugger support is missing.
@Zorro666 Zorro666 merged commit 75810b9 into baldurk:v1.x May 9, 2024
16 checks passed
@Zorro666 Zorro666 deleted the dxil-shader-debug-stubs branch May 9, 2024 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants