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

Side by Side Diff: src/gpu/vk/GrVkMemory.cpp

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/vk/GrVkInterface.cpp ('k') | src/gpu/vk/GrVkPipeline.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 Google Inc. 2 * Copyright 2015 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "GrVkMemory.h" 8 #include "GrVkMemory.h"
9 9
10 #include "GrVkGpu.h" 10 #include "GrVkGpu.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 flags = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT; 147 flags = VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT;
148 } else if (VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == layout) { 148 } else if (VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL == layout) {
149 flags = VK_ACCESS_TRANSFER_WRITE_BIT; 149 flags = VK_ACCESS_TRANSFER_WRITE_BIT;
150 } else if (VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == layout) { 150 } else if (VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL == layout) {
151 flags = VK_ACCESS_TRANSFER_READ_BIT; 151 flags = VK_ACCESS_TRANSFER_READ_BIT;
152 } else if (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == layout) { 152 } else if (VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL == layout) {
153 flags = VK_ACCESS_SHADER_READ_BIT; 153 flags = VK_ACCESS_SHADER_READ_BIT;
154 } 154 }
155 return flags; 155 return flags;
156 } 156 }
157
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkInterface.cpp ('k') | src/gpu/vk/GrVkPipeline.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698