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

Unified Diff: src/gpu/vk/GrVkUniformHandler.h

Issue 1825593002: GrVkGpu initialization cleanup. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments (and rebase to ToT) Created 4 years, 9 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/GrVkInterface.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/vk/GrVkUniformHandler.h
diff --git a/src/gpu/vk/GrVkUniformHandler.h b/src/gpu/vk/GrVkUniformHandler.h
index f84bcff0a250ec6e88885f6a8d9927c4287509de..37bde339c458a18d35df91145ca91908d1437c1e 100644
--- a/src/gpu/vk/GrVkUniformHandler.h
+++ b/src/gpu/vk/GrVkUniformHandler.h
@@ -13,10 +13,10 @@
#include "GrAllocator.h"
#include "glsl/GrGLSLShaderVar.h"
-static const int kUniformsPerBlock = 8;
-
class GrVkUniformHandler : public GrGLSLUniformHandler {
public:
+ static const int kUniformsPerBlock = 8;
+
enum {
kSamplerDescSet = 0,
kUniformBufferDescSet = 1,
@@ -82,4 +82,4 @@ private:
typedef GrGLSLUniformHandler INHERITED;
};
-#endif
+#endif
« no previous file with comments | « src/gpu/vk/GrVkInterface.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698