2
// Copyright (c) 2014 The ANGLE Project Authors. All rights reserved.
3
// Use of this source code is governed by a BSD-style license that can be
4
// found in the LICENSE file.
7
// CompilerImpl.h: Defines the rx::CompilerImpl class, an implementation interface
8
// for the gl::Compiler object.
10
#include "common/angleutils.h"
11
#include "GLSLANG/ShaderLang.h"
12
#include "libANGLE/Error.h"
14
#ifndef LIBANGLE_RENDERER_COMPILERIMPL_H_
15
#define LIBANGLE_RENDERER_COMPILERIMPL_H_
20
class CompilerImpl : angle::NonCopyable
24
virtual ~CompilerImpl() {}
26
virtual gl::Error release() = 0;
28
// TODO(jmadill): Expose translator built-in resources init method.
29
virtual ShShaderOutput getTranslatorOutputType() const = 0;
34
#endif // LIBANGLE_RENDERER_COMPILERIMPL_H_