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

Side by Side Diff: src/gpu/vk/GrVkPipelineState.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/GrVkPipeline.cpp ('k') | src/gpu/vk/GrVkPipelineStateBuilder.cpp » ('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 2016 Google Inc. 2 * Copyright 2016 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 "GrVkPipelineState.h" 8 #include "GrVkPipelineState.h"
9 9
10 #include "GrPipeline.h" 10 #include "GrPipeline.h"
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 482
483 pipeline.getStencil().genKey(&b); 483 pipeline.getStencil().genKey(&b);
484 484
485 SkASSERT(sizeof(GrPipelineBuilder::DrawFace) <= sizeof(uint32_t)); 485 SkASSERT(sizeof(GrPipelineBuilder::DrawFace) <= sizeof(uint32_t));
486 b.add32(pipeline.getDrawFace()); 486 b.add32(pipeline.getDrawFace());
487 487
488 b.add32(get_blend_info_key(pipeline)); 488 b.add32(get_blend_info_key(pipeline));
489 489
490 b.add32(primitiveType); 490 b.add32(primitiveType);
491 491
492 // Set key length 492 // Set key length
493 int keyLength = key->count(); 493 int keyLength = key->count();
494 SkASSERT(0 == (keyLength % 4)); 494 SkASSERT(0 == (keyLength % 4));
495 *reinterpret_cast<uint32_t*>(key->begin()) = SkToU32(keyLength); 495 *reinterpret_cast<uint32_t*>(key->begin()) = SkToU32(keyLength);
496 } 496 }
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkPipeline.cpp ('k') | src/gpu/vk/GrVkPipelineStateBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698