llvm / llvm/offload-test-suite

[DirectX][SPIRV] Enable barycentrics support

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

Nobody has claimed this yet.

Dominant language
C++
Stars
18
Forks
39
Avg merge
2d 18h
Merged PRs (30d)
40

Description

Required for testing of `SV_Barycentrics`

Current status: No support, but it can be tested through regular buffer readback.

AC:
- [ ] Add query for the required feature support (`D3D12_FEATURE_D3D12_OPTIONS3::BarycentricsSupported`, `VK_KHR_fragment_shader_barycentric`)
- [ ] VK: Enable the extension and chain `VkPhysicalDeviceFragmentShaderBarycentricFeaturesKHR` into device creation
- [ ] Add lit feature for barycentrics capability detection
- [ ] Add testing of the semantic by reading back the semantic values at known pixel centers
- [ ] Add similar testing of `noperspective` variant

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.