graphite: Fix DrawPass::SortKey static_assert for 32-bit builds
On Chromium 32-bit builds, struct alignment is 8 bytes while
sizeof(void*) is 4 bytes. This causes the static_assert for DrawPass
SortKey size to fail. Fix it by aligning RHS up to the struct alignment.
Bug: b/276505403
Change-Id: Ia6dbbfdee00b5d8fe1d80ca6372c9da10fb328b9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/681536
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Sunny Sachanandani <sunnyps@google.com>
1 file changed