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:
Corentin Wallez 2017-06-16 15:16:24 -04:00 committed by Corentin Wallez
parent fbf53ac773
commit e64dec7a3d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -22,8 +22,6 @@
namespace backend { namespace backend {
using Serial = uint64_t;
template<typename T> template<typename T>
class SerialQueue { class SerialQueue {
private: private: