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

Issue 2171283004: Remove asserts on scissor size in Vulkan (Closed)

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

Description

Remove asserts on scissor size in Vulkan These are asserts are firing from a recent change to our scissor code. Since these asserts were added, the Vulkan spec has been updated to no longer require the scissor is insides the bounds of the image, just that x + width does not overflow. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2171283004 Committed: https://skia.googlesource.com/skia/+/0e72e9ee3b0201f05e5d74917b17c8a427b14d9f

Patch Set 1 #

Total comments: 1

Patch Set 2 : Clamp to x,y to 0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M src/gpu/vk/GrVkPipeline.cpp View 1 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
egdaniel
4 years, 5 months ago (2016-07-22 20:47:51 UTC) #3
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/2171283004/1
4 years, 5 months ago (2016-07-22 20:48:09 UTC) #5
egdaniel
cc'ing Sheriff Joe
4 years, 5 months ago (2016-07-22 20:49:00 UTC) #6
bsalomon
lgtm
4 years, 5 months ago (2016-07-22 20:50:22 UTC) #7
csmartdalton
https://codereview.chromium.org/2171283004/diff/1/src/gpu/vk/GrVkPipeline.cpp File src/gpu/vk/GrVkPipeline.cpp (left): https://codereview.chromium.org/2171283004/diff/1/src/gpu/vk/GrVkPipeline.cpp#oldcode511 src/gpu/vk/GrVkPipeline.cpp:511: SkASSERT(scissor.offset.y + scissor.extent.height <= (uint32_t)target.height()); Ah, looks my change ...
4 years, 5 months ago (2016-07-22 20:54:48 UTC) #8
egdaniel
On 2016/07/22 20:54:48, csmartdalton wrote: > https://codereview.chromium.org/2171283004/diff/1/src/gpu/vk/GrVkPipeline.cpp > File src/gpu/vk/GrVkPipeline.cpp (left): > > https://codereview.chromium.org/2171283004/diff/1/src/gpu/vk/GrVkPipeline.cpp#oldcode511 > ...
4 years, 5 months ago (2016-07-22 20:56:44 UTC) #9
csmartdalton
On 2016/07/22 20:56:44, egdaniel wrote: > On 2016/07/22 20:54:48, csmartdalton wrote: > > https://codereview.chromium.org/2171283004/diff/1/src/gpu/vk/GrVkPipeline.cpp > ...
4 years, 5 months ago (2016-07-22 21:01:41 UTC) #10
egdaniel
On 2016/07/22 21:01:41, csmartdalton wrote: > On 2016/07/22 20:56:44, egdaniel wrote: > > On 2016/07/22 ...
4 years, 5 months ago (2016-07-22 21:05:05 UTC) #12
bsalomon
On 2016/07/22 21:05:05, egdaniel wrote: > On 2016/07/22 21:01:41, csmartdalton wrote: > > On 2016/07/22 ...
4 years, 5 months ago (2016-07-22 21:07:24 UTC) #13
egdaniel
On 2016/07/22 21:07:24, bsalomon wrote: > On 2016/07/22 21:05:05, egdaniel wrote: > > On 2016/07/22 ...
4 years, 5 months ago (2016-07-22 21:11:51 UTC) #14
egdaniel
added x y clamp
4 years, 5 months ago (2016-07-22 21:19:50 UTC) #15
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/2171283004/20001
4 years, 5 months ago (2016-07-22 21:20:03 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 21:41:34 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/0e72e9ee3b0201f05e5d74917b17c8a427b14d9f

Powered by Google App Engine
This is Rietveld 408576698