Chromium Code Reviews| Index: src/gpu/vk/GrVkPipeline.cpp |
| diff --git a/src/gpu/vk/GrVkPipeline.cpp b/src/gpu/vk/GrVkPipeline.cpp |
| index 055bb94d6f961e160b3f96246707e0ee5da20507..22ca90abcf539b50c3732eeedb296b28cbe7820b 100644 |
| --- a/src/gpu/vk/GrVkPipeline.cpp |
| +++ b/src/gpu/vk/GrVkPipeline.cpp |
| @@ -506,9 +506,7 @@ void set_dynamic_scissor_state(GrVkGpu* gpu, |
| scissor.extent.height = scissorState.rect().height(); |
| SkASSERT(scissor.offset.x >= 0); |
| - SkASSERT(scissor.offset.x + scissor.extent.width <= (uint32_t)target.width()); |
| SkASSERT(scissor.offset.y >= 0); |
| - SkASSERT(scissor.offset.y + scissor.extent.height <= (uint32_t)target.height()); |
|
csmartdalton
2016/07/22 20:54:48
Ah, looks my change gave you grief. I also removed
|
| } else { |
| scissor.extent.width = target.width(); |
| scissor.extent.height = target.height(); |