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

Extend depth overlay tests to include shader exported depth #3153

Conversation

Zorro666
Copy link
Collaborator

Description

Extend the depth overlay tests to support Issue 2858

This is the final PR in the sequence of PRs which all together complete the implementation of the feature.
This final PR extends the automated overlay tests GL_Overlay_Test, D3D11_Overlay_Test, D3D12_Overlay_Test, VK_Overlay_Test. The tests have been extended to use a pixel shader to write out depth 0.0 for a small rectangle just bottom-left of the centre.

This also includes a minor tweak to the D3D12 overlay initialisation code based on a compile error from clang on similar code used in the Vulkan overlay initialisation.

Testing

  • Windows GL_Overlay_Test, D3D11_Overlay_Test, D3D12_Overlay_Test, VK_Overlay_Test.
  • Linux GL_Overlay_Test, VK_Overlay_Test.

@Zorro666 Zorro666 merged commit dd0c888 into baldurk:v1.x Dec 5, 2023
16 checks passed
@Zorro666 Zorro666 deleted the support-shader-exported-depth-in-depth-test-overlay branch December 5, 2023 15:26
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.

1 participant