1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Change member order in pipeline manager

Ensures that pipelines are destroyed before pipeline libraries.
This commit is contained in:
Philip Rebohle 2022-08-08 16:10:36 +02:00 committed by Philip Rebohle
parent b97dba3712
commit 1f9db49727

View File

@ -237,16 +237,6 @@ namespace dxvk {
DxvkBindingLayoutObjects,
DxvkHash, DxvkEq> m_pipelineLayouts;
std::unordered_map<
DxvkComputePipelineShaders,
DxvkComputePipeline,
DxvkHash, DxvkEq> m_computePipelines;
std::unordered_map<
DxvkGraphicsPipelineShaders,
DxvkGraphicsPipeline,
DxvkHash, DxvkEq> m_graphicsPipelines;
std::unordered_map<
DxvkGraphicsPipelineVertexInputState,
DxvkGraphicsPipelineVertexInputLibrary,
@ -262,6 +252,16 @@ namespace dxvk {
DxvkShaderPipelineLibrary,
DxvkHash, DxvkEq> m_shaderLibraries;
std::unordered_map<
DxvkComputePipelineShaders,
DxvkComputePipeline,
DxvkHash, DxvkEq> m_computePipelines;
std::unordered_map<
DxvkGraphicsPipelineShaders,
DxvkGraphicsPipeline,
DxvkHash, DxvkEq> m_graphicsPipelines;
DxvkBindingSetLayout* createDescriptorSetLayout(
const DxvkBindingSetLayoutKey& key);