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

Add checks to advanced tex ops exectests #4551

Merged
merged 1 commit into from
Jul 13, 2022

Conversation

pow2clk
Copy link
Member

@pow2clk pow2clk commented Jul 13, 2022

Two of the Advanced Texture Ops feature tests were missing the check for
the feature in addition to the check for 6.7 support. This adds those
checks

Two of the Advanced Texture Ops feature tests were missing the check for
the feature in addition to the check for 6.7 support. This adds those
checks
@pow2clk pow2clk requested review from tex3d and hekota July 13, 2022 01:41
@pow2clk pow2clk enabled auto-merge (squash) July 13, 2022 02:12
@AppVeyorBot
Copy link

@@ -4181,6 +4185,12 @@ TEST_F(ExecutionTest, ATOSampleCmpLevelTest) {
if (!CreateDevice(&pDevice, D3D_SHADER_MODEL_6_7))
return;

if (!DoesDeviceSupportAdvancedTexOps(pDevice)) {
WEX::Logging::Log::Comment(L"Device does not support Advanced Texture Operations.");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if these get parsed by any automated scripts, but there's minor difference between this text and the previous check ('Ops' vs 'Operations.')

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's also a slightly different case since this is not a skip, but just an FYI note that rarely gets read. I'd have changed it for consistency anyway, but I set it to automerge. oh well!

@pow2clk pow2clk merged commit 0611d3f into microsoft:main Jul 13, 2022
@pow2clk pow2clk deleted the advtexop_check branch July 13, 2022 15:18
pow2clk added a commit to pow2clk/DirectXShaderCompiler that referenced this pull request Jul 13, 2022
Two of the Advanced Texture Ops feature tests were missing the check for
the feature in addition to the check for 6.7 support. This adds those
checks
pow2clk added a commit that referenced this pull request Jul 13, 2022
Two of the Advanced Texture Ops feature tests were missing the check for
the feature in addition to the check for 6.7 support. This adds those
checks

Merge of #4551 to release-1.7.2207
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.

3 participants