maxwell_3d: Silence implicit conversion warnings

While we are at it, unify types for dirty reg pointers.
This commit is contained in:
ReinUsesLisp
2019-10-27 03:07:52 -03:00
parent 26f3e18c5c
commit 3e469cecc1
2 changed files with 25 additions and 24 deletions

View File

@ -1166,6 +1166,8 @@ public:
struct DirtyRegs {
static constexpr std::size_t NUM_REGS = 256;
static_assert(NUM_REGS - 1 <= std::numeric_limits<u8>::max());
union {
struct {
bool null_dirty;