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

Unified Diff: src/gpu/vk/GrVkVaryingHandler.cpp

Issue 1723503002: Revert of Add vulkan files into skia repo. (Closed) Base URL: https://skia.googlesource.com/skia.git@merge
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/vk/GrVkVaryingHandler.h ('k') | src/gpu/vk/GrVkVertexBuffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkVaryingHandler.cpp
diff --git a/src/gpu/vk/GrVkVaryingHandler.cpp b/src/gpu/vk/GrVkVaryingHandler.cpp
deleted file mode 100644
index c923f6684cb2f40466fa70aa7234639f093c04d9..0000000000000000000000000000000000000000
--- a/src/gpu/vk/GrVkVaryingHandler.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
-* Copyright 2016 Google Inc.
-*
-* Use of this source code is governed by a BSD-style license that can be
-* found in the LICENSE file.
-*/
-
-#include "GrVkVaryingHandler.h"
-
-
-void finalize_helper(GrVkVaryingHandler::VarArray& vars) {
- for (int i = 0; i < vars.count(); ++i) {
- SkString location;
- location.appendf("location = %d", i);
- vars[i].setLayoutQualifier(location.c_str());
- }
-}
-
-void GrVkVaryingHandler::onFinalize() {
- finalize_helper(fVertexInputs);
- finalize_helper(fVertexOutputs);
- finalize_helper(fGeomInputs);
- finalize_helper(fGeomOutputs);
- finalize_helper(fFragInputs);
- finalize_helper(fFragOutputs);
-}
« no previous file with comments | « src/gpu/vk/GrVkVaryingHandler.h ('k') | src/gpu/vk/GrVkVertexBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698