From 826b1245a1f713ac25653a013e5ad494af24f572 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 22 Jun 2018 00:31:56 +0200 Subject: [PATCH] [dxvk] Add context state flags for descriptor set and offset updates --- src/dxvk/dxvk_context_state.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/dxvk/dxvk_context_state.h b/src/dxvk/dxvk_context_state.h index 6e189da4..f979e318 100644 --- a/src/dxvk/dxvk_context_state.h +++ b/src/dxvk/dxvk_context_state.h @@ -27,6 +27,8 @@ namespace dxvk { GpDirtyPipeline, ///< Graphics pipeline binding is out of date GpDirtyPipelineState, ///< Graphics pipeline needs to be recompiled GpDirtyResources, ///< Graphics pipeline resource bindings are out of date + GpDirtyDescriptorOffsets, ///< Graphics descriptor set needs to be rebound + GpDirtyDescriptorSet, ///< Graphics descriptor set needs to be updated GpDirtyVertexBuffers, ///< Vertex buffer bindings are out of date GpDirtyIndexBuffer, ///< Index buffer binding are out of date GpDirtyBlendConstants, ///< Blend constants have changed @@ -37,6 +39,8 @@ namespace dxvk { CpDirtyPipeline, ///< Compute pipeline binding are out of date CpDirtyPipelineState, ///< Compute pipeline needs to be recompiled CpDirtyResources, ///< Compute pipeline resource bindings are out of date + CpDirtyDescriptorOffsets, ///< Compute descriptor set needs to be rebound + CpDirtyDescriptorSet, ///< Compute descriptor set needs to be updated }; using DxvkContextFlags = Flags;