Commit 7f23d6b
Introduce GraphicsDeviceInfo and disable LightBaker tests
Expose information about Graphics devices for testing and debugging purposes.
An example disabled test using an AMD GPU:
<img width="905" alt="Screenshot 2024-03-14 at 8 01 35 PM" src="https://media.github.cds.internal.unity3d.com/user/2181/files/eb1d9639-7e6a-42b6-8600-f703e859d89c">
### For a test that is only supported using an Nvidia GPU
Using an [Nvidia GPU](https://unity-ci.cds.internal.unity3d.com/job/35149143/logs/execution?line=21852&q=BakeWithOptix):
<img width="896" alt="Screenshot 2024-03-14 at 9 25 19 PM" src="https://media.github.cds.internal.unity3d.com/user/2181/files/1e4d870b-3107-4cf4-8ffb-89f3c492ab5f">
Using an [AMD GPU](https://unity-ci.cds.internal.unity3d.com/job/35150557/logs/execution?line=903&q=BakeWithOptix):
<img width="935" alt="Screenshot 2024-03-14 at 8 02 45 PM" src="https://media.github.cds.internal.unity3d.com/user/2181/files/7efed28a-5c27-4e6b-aabe-437ef4a8345a">
### Context
This arose once we started running tests on devices with different GPUs than what we have on Bokken proper and we need a reliable way of identifying what GPU we're running tests on.
About the changes to `TestFilter` under the Graphics Test Framework: I added them to a namespace because we were running into conflicts with the `Architecture` enum.1 parent fc4e2ba commit 7f23d6b
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments