diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2022-09-14 14:37:20 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2022-09-14 16:48:23 +0300 |
commit | bebd594b0feadb2dc89a38a141a6bd1d702dae84 (patch) | |
tree | 183c4098101f13f554a9b5cfb13cd2ab38da378b | |
parent | 047959074b572e55cf6a92b67a524d56f5a0a9e2 (diff) |
vkd3d: Use proper cached pso struct when creating pipeline cache.
FWIW, this is mostly dead code now, missed during initial implementation.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
-rw-r--r-- | libs/vkd3d/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/vkd3d/state.c b/libs/vkd3d/state.c index 199996b0..25ac0345 100644 --- a/libs/vkd3d/state.c +++ b/libs/vkd3d/state.c @@ -3918,7 +3918,7 @@ HRESULT d3d12_pipeline_state_create(struct d3d12_device *device, VkPipelineBindP hr = S_OK; if (!(vkd3d_config_flags & VKD3D_CONFIG_FLAG_GLOBAL_PIPELINE_CACHE)) - if (FAILED(hr = vkd3d_create_pipeline_cache_from_d3d12_desc(device, &desc->cached_pso, &object->vk_pso_cache))) + if (FAILED(hr = vkd3d_create_pipeline_cache_from_d3d12_desc(device, desc_cached_pso, &object->vk_pso_cache))) ERR("Failed to create pipeline cache, hr %d.\n", hr); if (SUCCEEDED(hr)) |