Commit 39d2165
Make ExecutionTests able to pick a specific AgilitySDK (#7963)
The original AgilitySDK API only allowed paths relative to the process's
executable to be used to specificy the location of the AgilitySDK. So,
previously, if we wanted to use a specific AgilitySDK with the execution
tests we had to arrange for the AgilitySDK's dlls to be placed in a
subdirectory underneath TAEF's te.exe. This required a convoluted dance
involving finding and copying TAEF executables somewhere that could be
owned by the testing process.
This change makes it so we can use
[ID3D12DeviceFactory](https://microsoft.github.io/DirectX-Specs/d3d/IndependentDevices.html)
- which allows the AgilitySDK location to be specified using absolute
paths.
A new class, D3D12SDKSelector, is added to help manage this, as well as
falling back to using the old-style AgilitySDK and the inbox D3D12.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Helena Kotas <[email protected]>1 parent fe5ccb8 commit 39d2165
File tree
6 files changed
+299
-225
lines changed- tools/clang
- test/taef_exec
- unittests/HLSLExec
6 files changed
+299
-225
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| 420 | + | |
420 | 421 | | |
421 | | - | |
422 | | - | |
423 | 422 | | |
424 | 423 | | |
425 | 424 | | |
| |||
428 | 427 | | |
429 | 428 | | |
430 | 429 | | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
| 430 | + | |
466 | 431 | | |
467 | 432 | | |
468 | 433 | | |
469 | 434 | | |
470 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
471 | 442 | | |
472 | 443 | | |
473 | 444 | | |
| |||
12397 | 12368 | | |
12398 | 12369 | | |
12399 | 12370 | | |
12400 | | - | |
12401 | | - | |
12402 | | - | |
12403 | | - | |
12404 | | - | |
12405 | | - | |
12406 | | - | |
| 12371 | + | |
| 12372 | + | |
| 12373 | + | |
| 12374 | + | |
| 12375 | + | |
| 12376 | + | |
| 12377 | + | |
| 12378 | + | |
| 12379 | + | |
| 12380 | + | |
12407 | 12381 | | |
12408 | | - | |
12409 | | - | |
12410 | | - | |
12411 | 12382 | | |
12412 | 12383 | | |
12413 | 12384 | | |
| |||
0 commit comments