mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 22:24:13 +01:00
[dxvk] Move DxvkAccess{Flags} to separate file
This commit is contained in:
parent
d72346f2cb
commit
863ce5f117
18
src/dxvk/dxvk_access.h
Normal file
18
src/dxvk/dxvk_access.h
Normal file
@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "../util/util_flags.h"
|
||||
|
||||
namespace dxvk {
|
||||
|
||||
/**
|
||||
* \brief Resource access flags
|
||||
*/
|
||||
enum class DxvkAccess : uint32_t {
|
||||
None = 0,
|
||||
Read = 1,
|
||||
Write = 2,
|
||||
};
|
||||
|
||||
using DxvkAccessFlags = Flags<DxvkAccess>;
|
||||
|
||||
}
|
@ -2,6 +2,7 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "dxvk_access.h"
|
||||
#include "dxvk_adapter.h"
|
||||
#include "dxvk_allocator.h"
|
||||
#include "dxvk_hash.h"
|
||||
@ -15,18 +16,6 @@ namespace dxvk {
|
||||
class DxvkSparsePageTable;
|
||||
class DxvkSharedAllocationCache;
|
||||
|
||||
/**
|
||||
* \brief Resource access flags
|
||||
*/
|
||||
enum class DxvkAccess : uint32_t {
|
||||
None = 0,
|
||||
Read = 1,
|
||||
Write = 2,
|
||||
};
|
||||
|
||||
using DxvkAccessFlags = Flags<DxvkAccess>;
|
||||
|
||||
|
||||
/**
|
||||
* \brief Memory stats
|
||||
*
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "util_likely.h"
|
||||
#include "util_math.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include <iterator>
|
||||
|
Loading…
Reference in New Issue
Block a user