| Index: src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp
|
| diff --git a/src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp b/src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp
|
| deleted file mode 100644
|
| index 420c513ae0dc58d4fe09979a55dd84b208489deb..0000000000000000000000000000000000000000
|
| --- a/src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp
|
| +++ /dev/null
|
| @@ -1,39 +0,0 @@
|
| -/*
|
| - * Copyright 2014 Google Inc.
|
| - *
|
| - * Use of this source code is governed by a BSD-style license that can be
|
| - * found in the LICENSE file.
|
| - */
|
| -
|
| -#include "GrGLGeometryShaderBuilder.h"
|
| -#include "GrGLProgramBuilder.h"
|
| -#include "../GrGLGpu.h"
|
| -
|
| -GrGLGeometryBuilder::GrGLGeometryBuilder(GrGLSLProgramBuilder* program)
|
| - : INHERITED(program) {
|
| -
|
| -}
|
| -
|
| -void GrGLGeometryBuilder::addVarying(const char* name, GrSLPrecision precision, GrGLSLVarying* v) {
|
| - // if we have a GS take each varying in as an array
|
| - // and output as non-array.
|
| - if (v->vsVarying()) {
|
| - fInputs.push_back();
|
| - fInputs.back().setType(v->fType);
|
| - fInputs.back().setTypeModifier(GrGLSLShaderVar::kVaryingIn_TypeModifier);
|
| - fInputs.back().setPrecision(precision);
|
| - fInputs.back().setUnsizedArray();
|
| - *fInputs.back().accessName() = v->fVsOut;
|
| - v->fGsIn = v->fVsOut;
|
| - }
|
| -
|
| - if (v->fsVarying()) {
|
| - fOutputs.push_back();
|
| - fOutputs.back().setType(v->fType);
|
| - fOutputs.back().setTypeModifier(GrGLSLShaderVar::kVaryingOut_TypeModifier);
|
| - fOutputs.back().setPrecision(precision);
|
| - fProgramBuilder->nameVariable(fOutputs.back().accessName(), 'g', name);
|
| - v->fGsOut = fOutputs.back().getName().c_str();
|
| - }
|
| -}
|
| -
|
|
|