Skip to content

Commit 2a92acb

Browse files
committed
Version 1.0
1 parent ff73f20 commit 2a92acb

21 files changed

Lines changed: 941 additions & 2068 deletions

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: https://paypal.me/ravensystem

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
.vs
2+
.DS_Store
3+
VRPerfKit_RSF.xcodeproj
24
CMakeSettings.json
35
out
46
build
57
build.x86
68
ThirdParty/LibOVR
79
ThirdParty/nvapi
8-

CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.12)
1+
cmake_minimum_required(VERSION 3.12.0)
22

33
project(VRPerfKit)
44
enable_language(C CXX)
@@ -67,8 +67,6 @@ set(D3D11_FILES
6767
src/d3d11/d3d11_injector.cpp
6868
src/d3d11/d3d11_variable_rate_shading.h
6969
src/d3d11/d3d11_variable_rate_shading.cpp
70-
src/d3d11/ScreenGrab11.h
71-
src/d3d11/ScreenGrab11.cpp
7270
)
7371
source_group("d3d11" FILES ${D3D11_FILES})
7472

ThirdParty/.DS_Store

6 KB
Binary file not shown.

docs/.DS_Store

6 KB
Binary file not shown.

src/.DS_Store

6 KB
Binary file not shown.

src/cas/cas.compute.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void Cas(int2 pos) {
4242
}
4343

4444
void Bilinear(int2 pos) {
45-
AF4 mul = AF4(1, 1, 1, 1) - debugMode * AF4(0, 0.3, 0.3, 0);
45+
AF4 mul = AF4(1, 1, 1, 1);
4646
float2 samplePos = ((float2(pos) + 0.5) * AF2_AU2(const0.xy) + float2(inputOffset)) / float2(inputTextureSize);
4747
//float2 samplePos = (float2(pos + outputOffset) + 0.5) / outputTextureSize;
4848
AF3 c = InputTexture.SampleLevel(samLinearClamp, samplePos, 0).rgb;

src/config.h

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
namespace vrperfkit {
77
struct UpscaleConfig {
88
bool enabled = false;
9-
UpscaleMethod method = UpscaleMethod::FSR;
10-
float renderScale = 1.0f;
11-
float sharpness = 0.7f;
12-
float radius = 0.6f;
9+
UpscaleMethod method = UpscaleMethod::NIS;
10+
float renderScale = 0.866f;
11+
float sharpness = 0.20f;
12+
float radius = 1.00f;
1313
bool applyMipBias = true;
1414
};
1515

@@ -25,9 +25,9 @@ namespace vrperfkit {
2525
struct FixedFoveatedConfig {
2626
bool enabled = false;
2727
FixedFoveatedMethod method = FixedFoveatedMethod::VRS;
28-
float innerRadius = 0.6f;
29-
float midRadius = 0.8f;
30-
float outerRadius = 1.0f;
28+
float innerRadius = 0.70f;
29+
float midRadius = 0.85f;
30+
float outerRadius = 1.00f;
3131
bool favorHorizontal = true;
3232
std::string overrideSingleEyeOrder;
3333
};
@@ -38,9 +38,6 @@ namespace vrperfkit {
3838
FixedFoveatedConfig ffr;
3939
bool debugMode = false;
4040
std::string dllLoadPath = "";
41-
42-
// not a config option, but a signal to take a capture of the final rendering output
43-
bool captureOutput = false;
4441
};
4542

4643
extern Config g_config;

0 commit comments

Comments
 (0)