Misc changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
# Realtime Software Renderer
|
||||
|
||||
Optimized realtime software renderer. I tried to optimize it so that it can render Sponza Palace at 30fps on my machine. It uses multithreading and vector/SIMD instructions.
|
||||
Optimized realtime software renderer. Renders Sponza Palace at 30FPS(on Ryzen 5800U), it was optimized using SIMD instructions and multithreading.
|
||||
|
||||

|
||||

|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "base.cpp"
|
||||
#include "base_unicode.cpp"
|
||||
#include "os_windows.cpp"
|
||||
#include "base_os_windows.cpp"
|
||||
|
||||
#include <Windows.h>
|
||||
#include <shellscalingapi.h>
|
||||
@@ -1,5 +1,5 @@
|
||||
@echo off
|
||||
|
||||
pushd %~dp0
|
||||
clang main.cpp -O2 -mfma -mavx2 -Wall -Wno-unused-function -Wno-missing-braces -fno-exceptions -fdiagnostics-absolute-paths -Wno-deprecated-declarations -I".." -g -o main.exe -Wl,user32.lib
|
||||
clang main.cpp -O2 -mfma -mavx2 -Wall -Wno-unused-function -Wno-missing-braces -fno-exceptions -fdiagnostics-absolute-paths -Wno-deprecated-declarations -g -o main.exe -Wl,user32.lib
|
||||
popd
|
||||
2
main.cpp
2
main.cpp
@@ -1,7 +1,5 @@
|
||||
|
||||
#include "obj_dump.cpp"
|
||||
// #include "multimedia.cpp"
|
||||
// #include "obj.cpp"
|
||||
#include "vec.cpp"
|
||||
#include "work_queue.cpp"
|
||||
#define PROFILE_SCOPE(x)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "multimedia.cpp"
|
||||
#include "base_multimedia.cpp"
|
||||
#include "obj.cpp"
|
||||
|
||||
#define STBI_ASSERT assert
|
||||
|
||||
Reference in New Issue
Block a user