Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Issue 2232803003: Check allignment of sub heap allocation in vulkan (Closed)

Created:
4 years, 4 months ago by egdaniel
Modified:
4 years, 4 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Check allignment of sub heap allocation in vulkan Certain Vulkan devices will return difference alignment requirements for a given allocation even if using the same heap. Thus we need to check this alignment as well when deciding which subheap we want to use in our memory allocation. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2232803003 Committed: https://skia.googlesource.com/skia/+/6e90d42d3d5b8e51e60afbe97b27a0c16c2bacf1

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M src/gpu/vk/GrVkMemory.cpp View 6 chunks +9 lines, -6 lines 1 comment Download

Messages

Total messages: 12 (8 generated)
egdaniel
https://codereview.chromium.org/2232803003/diff/1/src/gpu/vk/GrVkMemory.cpp File src/gpu/vk/GrVkMemory.cpp (right): https://codereview.chromium.org/2232803003/diff/1/src/gpu/vk/GrVkMemory.cpp#newcode473 src/gpu/vk/GrVkMemory.cpp:473: SkASSERT(fSubHeaps[bestFitIndex]->alignment() == alignment); This assert fires without the change
4 years, 4 months ago (2016-08-10 14:46:05 UTC) #3
robertphillips
lgtm
4 years, 4 months ago (2016-08-10 14:54:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2232803003/1
4 years, 4 months ago (2016-08-10 15:29:00 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 15:29:57 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/6e90d42d3d5b8e51e60afbe97b27a0c16c2bacf1

Powered by Google App Engine
This is Rietveld 408576698