llvm / llvm/offload-test-suite

Add tests for Texture2DMS

Open
#1,140 0 comments 0 reactions 1 assignee View on GitHub

@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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.