Compare commits

...

1 Commits

Author SHA1 Message Date
Lioncash
c051624ed6 shader_bytecode: Add constexpr to default constructor of Attribute and Sampler
We already have a constexpr constructor that takes a paremeter, so the
other constructor should have it too.
2018-07-22 03:43:29 -04:00

View File

@@ -67,7 +67,7 @@ private:
};
union Attribute {
Attribute() = default;
constexpr Attribute() = default;
constexpr explicit Attribute(u64 value) : value(value) {}
@@ -96,7 +96,7 @@ union Attribute {
};
union Sampler {
Sampler() = default;
constexpr Sampler() = default;
constexpr explicit Sampler(u64 value) : value(value) {}