Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

SwRasterizer/Lighting: shorten file name

wwylelefe4c91ae4c60
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index b2280f2efd..cffa4c9523 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -14,8 +14,8 @@ set(SRCS
shader/shader.cpp
shader/shader_interpreter.cpp
swrasterizer/clipper.cpp
- swrasterizer/fragment_lighting.cpp
swrasterizer/framebuffer.cpp
+ swrasterizer/lighting.cpp
swrasterizer/proctex.cpp
swrasterizer/rasterizer.cpp
swrasterizer/swrasterizer.cpp
@@ -55,8 +55,8 @@ set(HEADERS
shader/shader.h
shader/shader_interpreter.h
swrasterizer/clipper.h
- swrasterizer/fragment_lighting.h
swrasterizer/framebuffer.h
+ swrasterizer/lighting.h
swrasterizer/proctex.h
swrasterizer/rasterizer.h
swrasterizer/swrasterizer.h
diff --git a/src/video_core/swrasterizer/fragment_lighting.cpp b/src/video_core/swrasterizer/lighting.cpp
similarity index 99%
rename from src/video_core/swrasterizer/fragment_lighting.cpp
rename to src/video_core/swrasterizer/lighting.cpp
index 45a86b5cde..63088eee8c 100644
--- a/src/video_core/swrasterizer/fragment_lighting.cpp
+++ b/src/video_core/swrasterizer/lighting.cpp
@@ -3,7 +3,7 @@
// Refer to the license.txt file included.
#include "common/math_util.h"
-#include "video_core/swrasterizer/fragment_lighting.h"
+#include "video_core/swrasterizer/lighting.h"
namespace Pica {
diff --git a/src/video_core/swrasterizer/fragment_lighting.h b/src/video_core/swrasterizer/lighting.h
similarity index 100%
rename from src/video_core/swrasterizer/fragment_lighting.h
rename to src/video_core/swrasterizer/lighting.h
diff --git a/src/video_core/swrasterizer/rasterizer.cpp b/src/video_core/swrasterizer/rasterizer.cpp
index bc7e1c56cc..fdc1df1993 100644
--- a/src/video_core/swrasterizer/rasterizer.cpp
+++ b/src/video_core/swrasterizer/rasterizer.cpp
@@ -24,8 +24,8 @@
#include "video_core/regs_rasterizer.h"
#include "video_core/regs_texturing.h"
#include "video_core/shader/shader.h"
-#include "video_core/swrasterizer/fragment_lighting.h"
#include "video_core/swrasterizer/framebuffer.h"
+#include "video_core/swrasterizer/lighting.h"
#include "video_core/swrasterizer/proctex.h"
#include "video_core/swrasterizer/rasterizer.h"
#include "video_core/swrasterizer/texturing.h"