From 83d293d41c6a7137784fdfc385dcab6d5f7c333c Mon Sep 17 00:00:00 2001 From: KrossX Date: Fri, 14 Dec 2018 10:37:05 -0500 Subject: [PATCH] gsdx-d3d11: Port OSD shader from OGL --- plugins/GSdx/res/convert.fx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/plugins/GSdx/res/convert.fx b/plugins/GSdx/res/convert.fx index 47b954adea..814b179b47 100644 --- a/plugins/GSdx/res/convert.fx +++ b/plugins/GSdx/res/convert.fx @@ -352,4 +352,23 @@ PS_OUTPUT ps_main17(PS_INPUT input) return output; } +// DUMMY +PS_OUTPUT ps_main18(PS_INPUT input) +{ + PS_OUTPUT output; + + output.c = input.p; + + return output; +} + +PS_OUTPUT ps_main19(PS_INPUT input) +{ + PS_OUTPUT output; + + output.c = input.c * float4(1.0, 1.0, 1.0, sample_c(input.t).r); + + return output; +} + #endif