You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for resource arrays to the offload test suite (#302)
Introduces support for resource arrays across the offload test suite, including:
- Data input and output handling
- Comparison of expected results
- Integration with both DirectX and Vulkan runtimes (Metal is not
supported yet)
A new property `ArraySize` has been added to the `Buffer` definition. If
`ArraySize` is `1` (the default), the `Data` field of the `Buffer`
remains unchanged:
```
Data: [0, 1, 2, 3]
```
If `ArraySize` is greater than `1`, the `Data` field must be specified
as a list of arrays:
```
Data:
- [0, 1, 2, 3]
- [4, 5, 6, 7]
- [8, 9, 10, 11]
```
If the resource array includes resources with counters, their values
will be output using the `Counters` field:
```
Counters: [1, 2, 3]
```
Closesllvm/wg-hlsl#291
0 commit comments