Skip to content

[DirectX][SPIRV] Enable barycentrics support #1449

Description

@inbelic

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status
Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions