Commit 3d3df3f
authored
Update LongVector Execution tests to now use XML (#7393)
This change refactors the LongVector exec tests into their own files and
swaps to use the XML and statically defined values for test input.
1. Update the LongVector exec tests to use the ShaderOpArithTable.xml
TAEF table file for test entry points. This aligns with existing HLK
tests.
2. Some light code cleanup.
3. Hard coded value sets in LongVectorTestData.h. Value sets give us a
simple way to generate larger arrays from a smaller set of statically
defined values. At a later point we can add logic to produce value sets
at build time in this same header by consuming from a YAML file used in
the offload test suite.
4. Move LongVector tests into their own LongVector.h, LongVector.tpp,
and LongVector.cpp files.
5. Add an HLSLExecTestUtils.h file to hold some common logic to
facilitate re-factoring the LongVector tests into their own files.
This PR ended up growing larger than intended. Subsequent PRs will be
smaller chunks.
There are some additional refactoring and clean-up changes coming but I
did not want to continue to add to this PR.1 parent d73a9f5 commit 3d3df3f
15 files changed
Lines changed: 3891 additions & 2401 deletions
File tree
- include/dxc/Test
- tools/clang/unittests/HLSLExec
- utils/version
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
261 | | - | |
| 263 | + | |
| 264 | + | |
262 | 265 | | |
263 | 266 | | |
264 | 267 | | |
265 | 268 | | |
266 | | - | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
267 | 276 | | |
268 | 277 | | |
269 | 278 | | |
270 | 279 | | |
271 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
272 | 286 | | |
273 | 287 | | |
274 | 288 | | |
| |||
553 | 567 | | |
554 | 568 | | |
555 | 569 | | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
556 | 583 | | |
557 | 584 | | |
558 | 585 | | |
| |||
604 | 631 | | |
605 | 632 | | |
606 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
607 | 637 | | |
608 | 638 | | |
609 | | - | |
610 | | - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
611 | 650 | | |
612 | | - | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
613 | 654 | | |
614 | 655 | | |
615 | 656 | | |
| |||
773 | 814 | | |
774 | 815 | | |
775 | 816 | | |
| 817 | + | |
| 818 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
0 commit comments