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()17CompilerWgpu::CompilerWgpu() : CompilerImpl() {} 18 ~CompilerWgpu()19CompilerWgpu::~CompilerWgpu() {} 20 getTranslatorOutputType() const21ShShaderOutput CompilerWgpu::getTranslatorOutputType() const 22 { 23 return SH_WGSL_OUTPUT; 24 } 25 26 } // namespace rx 27