Skip to content

ShaderOpTest limit commandlist6 to where supported#3600

Merged
pow2clk merged 3 commits intomicrosoft:masterfrom
pow2clk:mesh_check
Mar 18, 2021
Merged

ShaderOpTest limit commandlist6 to where supported#3600
pow2clk merged 3 commits intomicrosoft:masterfrom
pow2clk:mesh_check

Conversation

@pow2clk
Copy link
Copy Markdown
Collaborator

@pow2clk pow2clk commented Mar 18, 2021

Because version 6 of the command list pointer was being created whenever
the available SDK supported it, sometimes the test would try to create
version 6 where it wasn't supported.

Instead, this just stores the base pointer type and casts it up where we
know support is available.

Because version 6 of the command list pointer was being created whenever
the available SDK supported it, sometimes the test would try to create
version 6 where it wasn't supported.

Instead, this just stores the base pointer type and casts it up where we
know support is available.
@pow2clk pow2clk requested review from hekota, jenatali and tex3d March 18, 2021 01:34
Comment thread tools/clang/unittests/HLSL/ShaderOpTest.cpp Outdated
Comment thread tools/clang/unittests/HLSL/ShaderOpTest.cpp Outdated
Copy link
Copy Markdown
Member

@jenatali jenatali left a comment

Choose a reason for hiding this comment

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

LGTM other than the leak.

Copy link
Copy Markdown
Member

@hekota hekota left a comment

Choose a reason for hiding this comment

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

LGTM!

@AppVeyorBot
Copy link
Copy Markdown

@pow2clk pow2clk merged commit 30e306f into microsoft:master Mar 18, 2021
@pow2clk pow2clk deleted the mesh_check branch March 18, 2021 04:25
pow2clk pushed a commit to pow2clk/DirectXShaderCompiler that referenced this pull request Mar 18, 2021
Merged  microsoft#3600 into release-1.6.2104

Because version 6 of the command list pointer was being created whenever
the available SDK supported it, sometimes the test would try to create
version 6 where it wasn't supported.

Instead, this just stores the base pointer type and casts it up where we
know support is available.

(cherry picked from commit 30e306f)
pow2clk pushed a commit that referenced this pull request Mar 18, 2021
Merged  #3600 into release-1.6.2104

Because version 6 of the command list pointer was being created whenever
the available SDK supported it, sometimes the test would try to create
version 6 where it wasn't supported.

Instead, this just stores the base pointer type and casts it up where we
know support is available.

(cherry picked from commit 30e306f)
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.

4 participants