mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-22 15:51:30 +11:00
change order for instructions parameter
This commit is contained in:
parent
e9db5851be
commit
9725f05032
|
@ -8,8 +8,8 @@ layout(push_constant) uniform Push
|
||||||
float border_texture_scale;
|
float border_texture_scale;
|
||||||
} params;
|
} params;
|
||||||
|
|
||||||
#pragma parameter bogus_scale_instructions "[SCREEN SIZE]: In previous menu->Change lcd-grid scale->Apply" 0.0 0.0 1.0 1.0
|
|
||||||
#pragma parameter border_texture_scale "Border Scale" 4.0 1.0 20.0 0.005
|
#pragma parameter border_texture_scale "Border Scale" 4.0 1.0 20.0 0.005
|
||||||
|
#pragma parameter bogus_scale_instructions "[SCREEN SIZE]: In previous menu->Change lcd-grid scale->Apply" 0.0 0.0 1.0 1.0
|
||||||
|
|
||||||
vec2 middle = vec2(0.5, 0.5);
|
vec2 middle = vec2(0.5, 0.5);
|
||||||
vec2 screen_ratio = params.OutputSize.xy * params.SourceSize.zw;
|
vec2 screen_ratio = params.OutputSize.xy * params.SourceSize.zw;
|
||||||
|
|
Loading…
Reference in a new issue