Merge GrGLSLCaps into GrShaderCaps
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=5121
Change-Id: If8d13638f80f42161cbc766a2666c5789e5772c8
Reviewed-on: https://skia-review.googlesource.com/5121
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
diff --git a/include/gpu/GrShaderVar.h b/include/gpu/GrShaderVar.h
index 1149f84..7f09f8c 100644
--- a/include/gpu/GrShaderVar.h
+++ b/include/gpu/GrShaderVar.h
@@ -11,7 +11,7 @@
#include "SkString.h"
#include "GrTypesPriv.h"
-class GrGLSLCaps;
+class GrShaderCaps;
#define USE_UNIFORM_FLOAT_ARRAYS true
@@ -301,7 +301,7 @@
/**
* Write a declaration of this variable to out.
*/
- void appendDecl(const GrGLSLCaps* glslCaps, SkString* out) const;
+ void appendDecl(const GrShaderCaps*, SkString* out) const;
void appendArrayAccess(int index, SkString* out) const {
out->appendf("%s[%d]%s",
@@ -331,4 +331,4 @@
SkString fExtraModifiers;
};
- #endif
+#endif