Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro Assets
slang-shaders
Commits
b9352675
Unverified
Commit
b9352675
authored
Oct 21, 2021
by
Libretro-Admin
Committed by
GitHub
Oct 21, 2021
Browse files
Merge pull request #198 from brennier/patch-1
Change interlace_detect to a bool when using hardcoded settings
parents
ccef4b86
72d89fbd
Pipeline
#62653
passed with stage
in 17 seconds
Changes
1
Pipelines
8
Hide whitespace changes
Inline
Side-by-side
crt/shaders/crt-royale/src/bind-shader-params.h
View file @
b9352675
...
...
@@ -147,9 +147,9 @@ static const float gba_gamma = 3.5; // Irrelevant but necessary to define.
static
const
float
border_size
=
clamp
(
border_size_static
,
0
.
0
,
0
.
5
);
// 0.5 reaches to image center
static
const
float
border_darkness
=
max
(
0
.
0
,
border_darkness_static
);
static
const
float
border_compress
=
max
(
1
.
0
,
border_compress_static
);
// < 1.0 darkens whole image
static
const
float
interlace_detect
=
float
(
interlace_detect_static
);
static
const
float
interlace_bff
=
float
(
interlace_bff_static
);
static
const
float
interlace_1080i
=
float
(
interlace_1080i_static
);
static
const
bool
interlace_detect
=
bool
(
interlace_detect_static
);
static
const
bool
interlace_bff
=
bool
(
interlace_bff_static
);
static
const
bool
interlace_1080i
=
bool
(
interlace_1080i_static
);
#else
#pragma parameter crt_gamma "Simulated CRT Gamma" 2.5 1.0 5.0 0.025
#define crt_gamma global.crt_gamma
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment