-
Notifications
You must be signed in to change notification settings - Fork 763
Update LongVector Execution tests to now use XML #7393
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
base: staging-sm6.9
Are you sure you want to change the base?
Changes from all commits
3fc0093
c4d3de5
a8ae0da
da4efc5
18135d6
80d4ce1
482068a
3849d62
70b675b
51f3b2a
6d83f83
7806a3c
643f39c
26737e9
9ac2af4
de485dc
0b275b4
6dbf265
309aba6
02ff216
c36a90b
7255a65
e93f1e9
22350de
411ec0f
3481634
43125c3
4e5feea
d950e67
3ad7e9c
294b113
c857d39
2afecfe
9732663
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,13 @@ | |
find_package(TAEF REQUIRED) | ||
find_package(D3D12 REQUIRED) # Used for ExecutionTest.cpp. | ||
|
||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") | ||
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 don't see why we couldn't break things into multiple cpp files that we could copy over for the HLK test (like we do for 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'll take a look into doing that. Originally this code was more coupled with other helper code in ExecutionTest.cpp. A few thoughts come to mind though:
But I'll still take a closer look and see what I could easily break up. I think it will make reviews easier. 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'd need to factor out some of the ShaderOpTest* code starting on line 3531 with the ShaderOpTestResultStruct. Seems reasonable to put that into ShaderOpTest.h/cpp. And the TableParameter/TableParameterHandler stuff would need to be factored out. That could probably also go in its own appropriately named header/cpp file. Both seem like reasonable updates I could make to help clean this file up a little. Think its worth doing that? |
||
|
||
add_clang_library(ExecHLSLTests SHARED | ||
ExecutionTest.cpp | ||
ShaderOpTest.cpp | ||
TableParameterHandler.cpp | ||
LongVectors.cpp | ||
ExecHLSLTests.rc | ||
) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#include <windows.h> | ||
|
||
ShaderOpArithTable.xml DATASOURCE_XML "ShaderOpArithTable.xml" | ||
ShaderOpArithTable.xml DATASOURCE_XML "ShaderOpArithTable.xml" | ||
LongVectorOpTable.xml DATASOURCE_XML "LongVectorOpTable.xml" |
Uh oh!
There was an error while loading. Please reload this page.