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
Add tests for VK_EXT_conditional_rendering #131
Add tests for VK_EXT_conditional_rendering #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run python scripts/check_build_sanity.py -r check-all and fix the issues
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalClearAttachmentTests.cpp
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalClearAttachmentTests.cpp
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDrawTests.cpp
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDrawTests.cpp
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDrawTests.cpp
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDrawTests.cpp
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalRenderingTestUtil.cpp
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/vulkan/conditional_rendering/VertexFetch.frag
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalRenderingTestUtil.cpp
Outdated
Show resolved
Hide resolved
b5f4264
to
4c47606
Compare
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDrawTests.cpp
Outdated
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDispatchTests.cpp
Show resolved
Hide resolved
4c47606
to
c0ea855
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks good.
In the internal review now |
3 similar comments
In the internal review now |
In the internal review now |
In the internal review now |
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalRenderingTestUtil.cpp
Show resolved
Hide resolved
c0ea855
to
8890e20
Compare
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalClearAttachmentTests.cpp
Show resolved
Hide resolved
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalDrawTests.cpp
Show resolved
Hide resolved
8890e20
to
a46acfe
Compare
external/vulkancts/modules/vulkan/conditional_rendering/vktConditionalClearAttachmentTests.cpp
Outdated
Show resolved
Hide resolved
All functions affected by VK_EXT_conditional_rendering are tested: - vkCmdDraw, vkCmdDrawIndexed, vkCmdDrawIndirect, vkCmdDrawIndexedIndirect - vkCmdDrawIndirectCountKHR, vkCmdDrawIndexedIndirectCountKHR (VK_KHR_draw_indirect_count) - vkCmdDispatch, vkCmdDispatchIndirect, vkCmdDispatchBase - vkCmdClearAttachments The only limitation of these tests is that combination of different functions in one render pass are not tested - only several calls of the same functions. Due to the different hardware specific support of conditional rendering some implementations may have exhibit issues in such cases, especially when combining conditional rendering with functions from VK_KHR_draw_indirect_count. Components: Vulkan New Tests: dEQP-VK.conditional_rendering.* Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
a46acfe
to
2126307
Compare
Thank you for all your help! |
All functions affected by VK_EXT_conditional_rendering are tested:
The only limitation of these tests is that combination of different functions in one render
pass are not tested - only several calls of the same functions. Due to the different hardware
specific support of conditional rendering some implementations may have exhibit issues in such cases,
especially when combining conditional rendering with functions from VK_KHR_draw_indirect_count.
I have run the tests on AMD GPU with Mesa and on Intel GPUs with Mesa (in this case I have tested my implementation of this extension). Unfortunately there wasn't a Windows installation in my vicinity to run the tests.