blob: 25e9f9e320cc0ecb49f75e8f653d1d6448b49c6d [file] [log] [blame]
joshualitt30ba4362014-08-21 20:18:45 -07001/*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
egdaniel2d721d32015-11-11 13:06:05 -08008#include "GrGLSLGeometryShaderBuilder.h"
9#include "GrGLSLProgramBuilder.h"
egdaniel0eafe792015-11-20 14:01:22 -080010#include "GrGLSLVarying.h"
joshualitt30ba4362014-08-21 20:18:45 -070011
egdaniel2d721d32015-11-11 13:06:05 -080012GrGLSLGeometryBuilder::GrGLSLGeometryBuilder(GrGLSLProgramBuilder* program)
joshualitt30ba4362014-08-21 20:18:45 -070013 : INHERITED(program) {
14
15}
16
egdaniel0eafe792015-11-20 14:01:22 -080017void GrGLSLGeometryBuilder::onFinalize() {
18 fProgramBuilder->varyingHandler()->getGeomDecls(&this->inputs(), &this->outputs());
joshualitt30ba4362014-08-21 20:18:45 -070019}
20