xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/wgpu/CompilerWgpu.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2024 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 // CompilerWgpu.cpp:
7 //    Implements the class methods for CompilerWgpu.
8 //
9 
10 #include "libANGLE/renderer/wgpu/CompilerWgpu.h"
11 
12 #include "common/debug.h"
13 
14 namespace rx
15 {
16 
CompilerWgpu()17 CompilerWgpu::CompilerWgpu() : CompilerImpl() {}
18 
~CompilerWgpu()19 CompilerWgpu::~CompilerWgpu() {}
20 
getTranslatorOutputType() const21 ShShaderOutput CompilerWgpu::getTranslatorOutputType() const
22 {
23     return SH_WGSL_OUTPUT;
24 }
25 
26 }  // namespace rx
27