Skip to content

Enable GPU validation on DX12 and Vulkan #1709

@kvark

Description

@kvark

Is your feature request related to a problem? Please describe.
Quite often, DX12 can fail without any clear validation error. It would help a ton if we could get more information about those.

Describe the solution you'd like
See https://docs.microsoft.com/en-us/windows/win32/direct3d12/using-d3d12-debug-layer-gpu-based-validation
We'll need a separate instance flag for this, since the perf penalty is greater.

Describe alternatives you've considered
Shoving this behind the existing VALIDATION flag

Additional context
Similar change will be needed in Vulkan. Distantly related to #1708

Checklist

Metadata

Metadata

Labels

area: infrastructureTesting, building, coordinating issuesbackend: dx12Issues with DX12 or DXGIbackend: vulkanIssues with Vulkanhelp requiredWe need community help to make this happen.

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions