Various miscelaneous changes (#6496)

This commit is contained in:
Vitor K
2023-05-03 12:24:10 -03:00
committed by GitHub
parent 41f13456c0
commit 34de77d429
74 changed files with 44 additions and 81 deletions

View File

@@ -7,6 +7,7 @@
#include "common/alignment.h"
#include "common/logging/log.h"
#include "common/microprofile.h"
#include "common/settings.h"
#include "core/memory.h"
#include "video_core/custom_textures/custom_tex_manager.h"
#include "video_core/rasterizer_cache/rasterizer_cache.h"

View File

@@ -6,6 +6,7 @@
#include <array>
#include "common/bit_field.h"
#include "common/common_funcs.h"
#include "common/math_util.h"
#include "common/vector_math.h"
#include "video_core/pica_types.h"

View File

@@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "common/settings.h"
#include "core/core.h"
#include "core/frontend/emu_window.h"
#include "core/tracer/recorder.h"

View File

@@ -4,7 +4,6 @@
#pragma once
#include <unordered_map>
#include "common/math_util.h"
#include "video_core/rasterizer_cache/pixel_format.h"
#include "video_core/renderer_opengl/gl_resource_manager.h"

View File

@@ -11,7 +11,6 @@
#include <string>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>

View File

@@ -8,6 +8,7 @@
#include <unordered_map>
#include <variant>
#include "common/scope_exit.h"
#include "core/frontend/emu_window.h"
#include "video_core/renderer_opengl/gl_driver.h"
#include "video_core/renderer_opengl/gl_resource_manager.h"
#include "video_core/renderer_opengl/gl_shader_disk_cache.h"

View File

@@ -2,6 +2,7 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <fstream>
#include <sstream>
#include <string>
#include <vector>

View File

@@ -35,8 +35,8 @@ std::tuple<Common::Vec4<u8>, Common::Vec4<u8>> ComputeFragmentsColors(
shadow = Common::MakeVec(1.0f, 1.0f, 1.0f, 1.0f);
}
Common::Vec3<float> surface_normal;
Common::Vec3<float> surface_tangent;
Common::Vec3<float> surface_normal{};
Common::Vec3<float> surface_tangent{};
if (lighting.config0.bump_mode != LightingRegs::LightingBumpMode::None) {
Common::Vec3<float> perturbation =

View File

@@ -15,7 +15,6 @@
#include <vector>
#include <nihstro/shader_bytecode.h>
#include <xbyak/xbyak.h>
#include "common/bit_set.h"
#include "common/common_types.h"
#include "video_core/shader/shader.h"

View File

@@ -7,6 +7,7 @@
#include "common/logging/log.h"
#include "common/settings.h"
#include "core/core.h"
#include "core/frontend/emu_window.h"
#include "video_core/pica.h"
#include "video_core/pica_state.h"
#include "video_core/renderer_base.h"

View File

@@ -6,9 +6,7 @@
#include <atomic>
#include <functional>
#include <iostream>
#include <memory>
#include "core/frontend/emu_window.h"
namespace Frontend {
class EmuWindow;