xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/d3d/CompilerD3D.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2015 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.
5 //
6 // CompilerD3D:
7 //   Implementation of the D3D compiler methods.
8 //
9 
10 #include "libANGLE/renderer/d3d/CompilerD3D.h"
11 
12 namespace rx
13 {
14 
CompilerD3D(ShShaderOutput translatorOutputType)15 CompilerD3D::CompilerD3D(ShShaderOutput translatorOutputType)
16     : mTranslatorOutputType(translatorOutputType)
17 {}
18 
getTranslatorOutputType() const19 ShShaderOutput CompilerD3D::getTranslatorOutputType() const
20 {
21     return mTranslatorOutputType;
22 }
23 
24 }  // namespace rx
25