vkd3d: Allow RTAS initial resource state.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2021-02-22 13:59:22 +01:00
parent 2afe25c0c8
commit 83861cceed
1 changed files with 2 additions and 1 deletions

View File

@ -606,7 +606,8 @@ bool is_valid_resource_state(D3D12_RESOURCE_STATES state)
D3D12_RESOURCE_STATE_RESOLVE_SOURCE |
D3D12_RESOURCE_STATE_GENERIC_READ |
D3D12_RESOURCE_STATE_PRESENT |
D3D12_RESOURCE_STATE_PREDICATION;
D3D12_RESOURCE_STATE_PREDICATION |
D3D12_RESOURCE_STATE_RAYTRACING_ACCELERATION_STRUCTURE;
if (state & ~valid_states)
{