From 51f1d7725c729917310265b59325dbbfb5f8968e Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 23 Sep 2019 23:34:04 +0200 Subject: [PATCH] [dxvk] Store context flags as a 32-bit integer Might improve code generation for 32-bit builds. We currently have 31 flags and don't expect any new ones to be added. --- src/dxvk/dxvk_context_state.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_context_state.h b/src/dxvk/dxvk_context_state.h index 8b772fc26..87a531ab2 100644 --- a/src/dxvk/dxvk_context_state.h +++ b/src/dxvk/dxvk_context_state.h @@ -20,7 +20,7 @@ namespace dxvk { * of the graphics and compute pipelines * has changed and/or needs to be updated. */ - enum class DxvkContextFlag : uint64_t { + enum class DxvkContextFlag : uint32_t { GpRenderPassBound, ///< Render pass is currently bound GpCondActive, ///< Conditional rendering is enabled GpXfbActive, ///< Transform feedback is enabled