|
|
Created:
4 years, 2 months ago by csmartdalton Modified:
4 years, 2 months ago CC:
reviews_skia.org Target Ref:
refs/heads/master Project:
skia Visibility:
Public. |
DescriptionUse uint64_t for PlatformFence
VkFence is 64 bit even on 32-bit platforms.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002
Committed: https://skia.googlesource.com/skia/+/024229a38d86fc53801092e149d8599b2b2bc9fb
Patch Set 1 #Patch Set 2 : Use uint64_t for PlatformFence #Patch Set 3 : Use uint64_t for PlatformFence #
Messages
Total messages: 26 (9 generated)
Description was changed from ========== Use void* again for PlatformFence Looks like sizeof(intptr_t) < sizeof(void*) sometimes. BUG=skia: ========== to ========== Use void* again for PlatformFence Looks like sizeof(intptr_t) < sizeof(void*) sometimes. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002 ==========
csmartdalton@google.com changed reviewers: + djsollen@google.com, stephana@google.com
The CQ bit was checked by djsollen@google.com
lgtm
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
mtklein@google.com changed reviewers: + mtklein@google.com
> Looks like sizeof(intptr_t) < sizeof(void*) sometimes. I don't think that can possibly be true.
On 2016/10/04 20:19:14, mtklein wrote: > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > I don't think that can possibly be true. The failing build that was fixed by this change would suggest otherwise. And the error message shows that intptr_t == int on Derek's platform. Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) somewhere to verify?
On 2016/10/04 20:21:25, csmartdalton wrote: > On 2016/10/04 20:19:14, mtklein wrote: > > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > > > I don't think that can possibly be true. > > The failing build that was fixed by this change would suggest otherwise. > > And the error message shows that intptr_t == int on Derek's platform. > > Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) somewhere to > verify? static_assert(sizeof(intptr_t) == sizeof(void*), "");
On 2016/10/04 20:23:17, mtklein wrote: > On 2016/10/04 20:21:25, csmartdalton wrote: > > On 2016/10/04 20:19:14, mtklein wrote: > > > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > > > > > I don't think that can possibly be true. > > > > The failing build that was fixed by this change would suggest otherwise. > > > > And the error message shows that intptr_t == int on Derek's platform. > > > > Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) somewhere > to > > verify? > > static_assert(sizeof(intptr_t) == sizeof(void*), ""); (intptr_t == int on 32-bit devices)
On 2016/10/04 20:23:17, mtklein wrote: > On 2016/10/04 20:21:25, csmartdalton wrote: > > On 2016/10/04 20:19:14, mtklein wrote: > > > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > > > > > I don't think that can possibly be true. > > > > The failing build that was fixed by this change would suggest otherwise. > > > > And the error message shows that intptr_t == int on Derek's platform. > > > > Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) somewhere > to > > verify? > > static_assert(sizeof(intptr_t) == sizeof(void*), ""); I can't do it locally, this only shows up on the android framework builds, which I am not set up with.
On 2016/10/04 20:24:38, csmartdalton wrote: > On 2016/10/04 20:23:17, mtklein wrote: > > On 2016/10/04 20:21:25, csmartdalton wrote: > > > On 2016/10/04 20:19:14, mtklein wrote: > > > > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > > > > > > > I don't think that can possibly be true. > > > > > > The failing build that was fixed by this change would suggest otherwise. > > > > > > And the error message shows that intptr_t == int on Derek's platform. > > > > > > Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) > somewhere > > to > > > verify? > > > > static_assert(sizeof(intptr_t) == sizeof(void*), ""); > > I can't do it locally, this only shows up on the android framework builds, which > I am not set up with. Add that to literally any .cpp file and submit...
On 2016/10/04 20:24:38, csmartdalton wrote: > On 2016/10/04 20:23:17, mtklein wrote: > > On 2016/10/04 20:21:25, csmartdalton wrote: > > > On 2016/10/04 20:19:14, mtklein wrote: > > > > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > > > > > > > I don't think that can possibly be true. > > > > > > The failing build that was fixed by this change would suggest otherwise. > > > > > > And the error message shows that intptr_t == int on Derek's platform. > > > > > > Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) > somewhere > > to > > > verify? > > > > static_assert(sizeof(intptr_t) == sizeof(void*), ""); > > I can't do it locally, this only shows up on the android framework builds, which > I am not set up with. Add that to literally any .cpp file and submit...
On 2016/10/04 20:25:35, mtklein wrote: > On 2016/10/04 20:24:38, csmartdalton wrote: > > On 2016/10/04 20:23:17, mtklein wrote: > > > On 2016/10/04 20:21:25, csmartdalton wrote: > > > > On 2016/10/04 20:19:14, mtklein wrote: > > > > > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > > > > > > > > > I don't think that can possibly be true. > > > > > > > > The failing build that was fixed by this change would suggest otherwise. > > > > > > > > And the error message shows that intptr_t == int on Derek's platform. > > > > > > > > Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) > > somewhere > > > to > > > > verify? > > > > > > static_assert(sizeof(intptr_t) == sizeof(void*), ""); > > > > I can't do it locally, this only shows up on the android framework builds, > which > > I am not set up with. > > Add that to literally any .cpp file and submit... AFAIK there not trybots for the framework yet
The CQ bit was unchecked by csmartdalton@google.com
On 2016/10/04 20:28:55, csmartdalton wrote: > On 2016/10/04 20:25:35, mtklein wrote: > > On 2016/10/04 20:24:38, csmartdalton wrote: > > > On 2016/10/04 20:23:17, mtklein wrote: > > > > On 2016/10/04 20:21:25, csmartdalton wrote: > > > > > On 2016/10/04 20:19:14, mtklein wrote: > > > > > > > Looks like sizeof(intptr_t) < sizeof(void*) sometimes. > > > > > > > > > > > > I don't think that can possibly be true. > > > > > > > > > > The failing build that was fixed by this change would suggest otherwise. > > > > > > > > > > And the error message shows that intptr_t == int on Derek's platform. > > > > > > > > > > Derek.. Would it be hard to dump sizeof(intptr_t) and sizeof(void*) > > > somewhere > > > > to > > > > > verify? > > > > > > > > static_assert(sizeof(intptr_t) == sizeof(void*), ""); > > > > > > I can't do it locally, this only shows up on the android framework builds, > > which > > > I am not set up with. > > > > Add that to literally any .cpp file and submit... > > AFAIK there not trybots for the framework yet VkFence is 64-bit, even on 32-bit builds. This also needs to be uint64_t in order to hold a VkFence.
Description was changed from ========== Use void* again for PlatformFence Looks like sizeof(intptr_t) < sizeof(void*) sometimes. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002 ========== to ========== Use uint64_t for PlatformFence VkFence is 64 bit even on 32-bit platforms. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002 ==========
Good point on uint64_T
lgtm
The CQ bit was checked by csmartdalton@google.com
The patchset sent to the CQ was uploaded after l-g-t-m from djsollen@google.com Link to the patchset: https://codereview.chromium.org/2391113002/#ps40001 (title: "Use uint64_t for PlatformFence")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
On 2016/10/04 21:05:50, commit-bot: I haz the power wrote: > CQ is trying da patch. Follow status at > > https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or... lgtm
Message was sent while issue was closed.
Description was changed from ========== Use uint64_t for PlatformFence VkFence is 64 bit even on 32-bit platforms. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002 ========== to ========== Use uint64_t for PlatformFence VkFence is 64 bit even on 32-bit platforms. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2391113002 Committed: https://skia.googlesource.com/skia/+/024229a38d86fc53801092e149d8599b2b2bc9fb ==========
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/024229a38d86fc53801092e149d8599b2b2bc9fb |