-
Notifications
You must be signed in to change notification settings - Fork 854
[HLSL Options] Remove select-validator option #7423
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I just realized that this is in the wrong location. This is a folder of clang c/cpp parser tests, not for testing the argument parsing. This whole folder is disabled for the DXC project, so this test will not run. Check This should be moved under the
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done! |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| // Test that the deprecated option, select-validator, doesn't work. | ||
| // RUN: not %dxc -E main -T vs_6_7 -select-validator internal %s 2>&1 | FileCheck %s | ||
|
|
||
| // CHECK: dxc failed : Unknown argument: '-select-validator' | ||
|
|
||
| float4 main(int loc : SV_StartVertexLocation | ||
| , uint loc2 : SV_StartInstanceLocation | ||
| ) : SV_Position | ||
| { | ||
| float4 r = 0; | ||
| r += loc; | ||
| r += loc2; | ||
| return r; | ||
| } |
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.
This now matches the first RUN line, so it seems to be pointless.
This test should probably be re-thought-through since the assumptions in the comments are now out of date.
Uh oh!
There was an error while loading. Please reload this page.
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.
Understood, removed that Run Line. Cleaned up the comments too.
Fully intend to use the proposed dxil_dll_path option to augment these tests when I get around to that in a separate PR.