Revert "Workaround win2019 bad bit field code gen"

This reverts commit fddb53ee53.

Reason for revert: Broke tests on Test-Win2019-MSVC-GCE-CPU-AVX2-x86-Release-All and Test-Win2019-MSVC-GCE-CPU-AVX2-x86-Debug-All bots

Original change's description:
> Workaround win2019 bad bit field code gen
>
> Change-Id: I51130e4a0f62eb9e803710c23a7c5efda6b48012
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529607
> Reviewed-by: Arman Uguray <armansito@google.com>
> Commit-Queue: Herb Derby <herb@google.com>

Change-Id: Id0a7fa078ae29c116f4dcfeebf7235d571710c98
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529637
Commit-Queue: Arman Uguray <armansito@google.com>
Auto-Submit: Arman Uguray <armansito@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
This commit is contained in:
Arman Uguray 2022-04-12 21:36:38 +00:00 committed by SkCQ
parent 8c2a505432
commit e0934a67a7

View File

@ -273,11 +273,11 @@ public:
private:
static_assert(SkPackedGlyphID::kEndData == 20);
struct {
uint32_t fIndex : SkPackedGlyphID::kEndData;
uint32_t fIsEmpty : 1;
uint32_t fIsColor : 1;
uint32_t fCanDrawAsMask : 1;
uint32_t fCanDrawAsSDFT : 1;
uint32_t fIndex : SkPackedGlyphID::kEndData;
bool fIsEmpty : 1;
bool fIsColor : 1;
bool fCanDrawAsMask : 1;
bool fCanDrawAsSDFT : 1;
};
SkGlyphRect fBounds;
};