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

[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.
This commit is contained in:
Philip Rebohle 2019-09-23 23:34:04 +02:00
parent 8f6df2b7fb
commit 51f1d7725c
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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