libs/vkd3d: Implement transition barriers.

This commit is contained in:
Józef Kucia
2016-10-19 16:39:48 +02:00
parent f2c980af56
commit 0944475c6a
3 changed files with 255 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ bool check_feature_level_support(D3D_FEATURE_LEVEL feature_level)
return feature_level <= D3D_FEATURE_LEVEL_11_0;
}
static bool is_write_resource_state(D3D12_RESOURCE_STATES state)
bool is_write_resource_state(D3D12_RESOURCE_STATES state)
{
return state & (D3D12_RESOURCE_STATE_RENDER_TARGET
| D3D12_RESOURCE_STATE_UNORDERED_ACCESS