Move Serial declaration to Forward.h
This is a bit ugly but avoids having to include all of SerialQueue.h just to get this typedef.
This commit is contained in:
parent
fbf53ac773
commit
e64dec7a3d
|
@ -63,6 +63,8 @@ namespace backend {
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class PerStage;
|
class PerStage;
|
||||||
|
|
||||||
|
using Serial = uint64_t;
|
||||||
|
|
||||||
// TODO(cwallez@chromium.org): where should constants live?
|
// TODO(cwallez@chromium.org): where should constants live?
|
||||||
static constexpr uint32_t kMaxPushConstants = 32u;
|
static constexpr uint32_t kMaxPushConstants = 32u;
|
||||||
static constexpr uint32_t kMaxBindGroups = 4u;
|
static constexpr uint32_t kMaxBindGroups = 4u;
|
||||||
|
|
|
@ -22,8 +22,6 @@
|
||||||
|
|
||||||
namespace backend {
|
namespace backend {
|
||||||
|
|
||||||
using Serial = uint64_t;
|
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class SerialQueue {
|
class SerialQueue {
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue