libs/vkd3d: Validate initial resource state.

This commit is contained in:
Józef Kucia
2016-10-19 13:10:12 +02:00
parent f601cbc04a
commit 69cd100d48
5 changed files with 73 additions and 7 deletions

View File

@@ -250,7 +250,7 @@ typedef enum D3D12_RESOURCE_STATES
D3D12_RESOURCE_STATE_DEPTH_READ = 0x20,
D3D12_RESOURCE_STATE_NON_PIXEL_SHADER_RESOURCE = 0x40,
D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE = 0x80,
D3D12_RESOURCE_STATE_STREAM_OUTPUT = 0x100,
D3D12_RESOURCE_STATE_STREAM_OUT = 0x100,
D3D12_RESOURCE_STATE_INDIRECT_ARGUMENT = 0x200,
D3D12_RESOURCE_STATE_COPY_DEST = 0x400,
D3D12_RESOURCE_STATE_COPY_SOURCE = 0x800,