diff options
Diffstat (limited to 'src/gpu/ccpr/GrCCPRTriangleShader.cpp')
-rw-r--r-- | src/gpu/ccpr/GrCCPRTriangleShader.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/ccpr/GrCCPRTriangleShader.cpp b/src/gpu/ccpr/GrCCPRTriangleShader.cpp index c2c624b1ae..836be31e43 100644 --- a/src/gpu/ccpr/GrCCPRTriangleShader.cpp +++ b/src/gpu/ccpr/GrCCPRTriangleShader.cpp @@ -10,12 +10,6 @@ #include "glsl/GrGLSLFragmentShaderBuilder.h" #include "glsl/GrGLSLVertexGeoBuilder.h" -void GrCCPRTriangleShader::emitWind(GrGLSLShaderBuilder* s, const char* pts, - const char* outputWind) const { - s->codeAppendf("%s = sign(determinant(float2x2(%s[1] - %s[0], %s[2] - %s[0])));", - outputWind, pts, pts, pts, pts); -} - GrCCPRTriangleHullShader::WindHandling GrCCPRTriangleHullShader::onEmitVaryings(GrGLSLVaryingHandler*, SkString* code, const char* /*position*/, const char* /*coverage*/, |