Merge pull request #5023 from jroweboy/fix-register-length

Use the correct register length for index_array
This commit is contained in:
James Rowe 2019-12-13 20:31:08 -07:00 committed by GitHub
commit 8b1738aeac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -138,7 +138,8 @@ struct PipelineRegs {
}; };
union { union {
BitField<0, 31, u32> offset; // relative to base attribute address BitField<0, 28, u32> offset; // relative to base attribute address
BitField<28, 3, u32> unused;
BitField<31, 1, IndexFormat> format; BitField<31, 1, IndexFormat> format;
}; };
} index_array; } index_array;