llvm / llvm/offload-test-suite
Add tests for Texture2DMS
@Icohedron is already working on this.
Since Aug 18, 2026.
- Dominant language
- C++
- Stars
- 18
- Forks
- 39
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 40
Description
## References
- https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/sm5-object-texture2dms
- Existing Texture2D offload tests: `offload-test-suite/test/Feature/Textures/Texture2D.*.test.yaml`
## Tasks
- [ ] **Add `Texture2DMS` to offload-test-suite `ResourceKind`**
- `offload-test-suite/include/Support/Pipeline.h` — add to enum and helpers
- `offload-test-suite/lib/API/VK/Device.cpp` — `VK_IMAGE_VIEW_TYPE_2D` with `VK_SAMPLE_COUNT_*`
- `offload-test-suite/lib/API/DX/Device.cpp` — `D3D12_SRV_DIMENSION_TEXTURE2DMS`
- `offload-test-suite/lib/API/MTL/MTLDevice.cpp` — `MTLTextureType2DMultisample`
- [ ] **Write tests** (`offload-test-suite/test/Feature/Textures/`)
- `Load.test` — `Load(int2, int)` and `Load(int2, int, int2)`
- `OperatorIndex.test` — `Tex[int2]`
- `sample.OperatorIndex.test` — `sample[int][int2]`
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.