Debian Codegraph @

Source/Core/VideoCommon/UberShaderCommon.h

raw symbols SCIP
1 // Copyright 2017 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <string_view>
7
8 class ShaderCode;
9 enum class APIType;
10 union ShaderHostConfig;
11
12 namespace UberShader
13 {
14 // Vertex lighting
15 void WriteLightingFunction(ShaderCode& out);
16 void WriteVertexLighting(ShaderCode& out, APIType api_type, std::string_view world_pos_var,
17 std::string_view normal_var, std::string_view in_color_0_var,
18 std::string_view in_color_1_var, std::string_view out_color_0_var,
19 std::string_view out_color_1_var);
20 } // namespace UberShader