diff options
Diffstat (limited to 'bgfx/chains')
-rw-r--r-- | bgfx/chains/default.json | 2 | ||||
-rw-r--r-- | bgfx/chains/hlsl.json | 4 | ||||
-rw-r--r-- | bgfx/chains/hq2x.json | 2 | ||||
-rw-r--r-- | bgfx/chains/hq3x.json | 2 | ||||
-rw-r--r-- | bgfx/chains/hq4x.json | 2 | ||||
-rw-r--r-- | bgfx/chains/pillarbox_left_horizontal.json | 6 | ||||
-rw-r--r-- | bgfx/chains/pillarbox_left_vertical.json | 6 | ||||
-rw-r--r-- | bgfx/chains/pillarbox_right_horizontal.json | 6 | ||||
-rw-r--r-- | bgfx/chains/pillarbox_right_vertical.json | 6 | ||||
-rw-r--r-- | bgfx/chains/super-2xbr-3d-2p.json | 69 | ||||
-rw-r--r-- | bgfx/chains/super-2xbr-3d-3p-smoother.json | 78 | ||||
-rw-r--r-- | bgfx/chains/super-4xbr-3d-4p.json | 86 | ||||
-rw-r--r-- | bgfx/chains/super-4xbr-3d-6p-smoother.json | 86 | ||||
-rw-r--r-- | bgfx/chains/super-xbr-2p.json | 76 | ||||
-rw-r--r-- | bgfx/chains/super-xbr-3p-smoother.json | 84 | ||||
-rw-r--r-- | bgfx/chains/super-xbr-6p.json | 123 | ||||
-rw-r--r-- | bgfx/chains/super-xbr-deposterize.json | 98 | ||||
-rw-r--r-- | bgfx/chains/super-xbr-fast-3p.json | 76 | ||||
-rw-r--r-- | bgfx/chains/super-xbr-fast-6p.json | 113 | ||||
-rw-r--r-- | bgfx/chains/supereagle.json | 2 | ||||
-rw-r--r-- | bgfx/chains/unfiltered.json | 4 |
21 files changed, 910 insertions, 21 deletions
diff --git a/bgfx/chains/default.json b/bgfx/chains/default.json index 115e7072cb3..b25388c3735 100644 --- a/bgfx/chains/default.json +++ b/bgfx/chains/default.json @@ -7,7 +7,7 @@ } ], "passes": [ - { "effect": "default/blit", + { "effect": "misc/blit", "name": "Final Upscale", "input": [ { "sampler": "s_tex", "texture": "screen" } diff --git a/bgfx/chains/hlsl.json b/bgfx/chains/hlsl.json index 7e431f72803..41be4613087 100644 --- a/bgfx/chains/hlsl.json +++ b/bgfx/chains/hlsl.json @@ -318,7 +318,7 @@ ], "output": "guest" }, - { "effect": "hlsl/blit", + { "effect": "misc/blit", "name": "NTSC Skip", "disablewhen": [ { "type": "slider", "condition": "notequal", "combine": "and", "name": "adjustments", "value": 0 }, @@ -499,7 +499,7 @@ ], "output": "internal" }, - { "effect": "hlsl/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "internal" } diff --git a/bgfx/chains/hq2x.json b/bgfx/chains/hq2x.json index 20303a64c90..19eb14d6113 100644 --- a/bgfx/chains/hq2x.json +++ b/bgfx/chains/hq2x.json @@ -49,7 +49,7 @@ ], "output": "scaled_out" }, - { "effect": "hq2x/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "scaled_out" } diff --git a/bgfx/chains/hq3x.json b/bgfx/chains/hq3x.json index 1f767b68825..6e1f031d705 100644 --- a/bgfx/chains/hq3x.json +++ b/bgfx/chains/hq3x.json @@ -49,7 +49,7 @@ ], "output": "scaled_out" }, - { "effect": "hq3x/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "scaled_out" } diff --git a/bgfx/chains/hq4x.json b/bgfx/chains/hq4x.json index 9232966ecc4..78548abfca7 100644 --- a/bgfx/chains/hq4x.json +++ b/bgfx/chains/hq4x.json @@ -49,7 +49,7 @@ ], "output": "scaled_out" }, - { "effect": "hq4x/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "scaled_out" } diff --git a/bgfx/chains/pillarbox_left_horizontal.json b/bgfx/chains/pillarbox_left_horizontal.json index 1959fa30943..8a81352d734 100644 --- a/bgfx/chains/pillarbox_left_horizontal.json +++ b/bgfx/chains/pillarbox_left_horizontal.json @@ -31,7 +31,7 @@ ], "passes": [ - { "effect": "pillarbox_left_horizontal/blit", + { "effect": "misc/blit", "name": "Blit to scalable target", "input": [ { "sampler": "s_tex", "target": "screen" } @@ -79,7 +79,7 @@ "output": "internal" }, { - "effect": "pillarbox_left_horizontal/saturation", + "effect": "misc/saturation", "name": "Saturation Pass", "disablewhen": [ { "type": "slider", "condition": "equal", "name": "saturation", "value": 100 } @@ -92,7 +92,7 @@ ], "output": "internal" }, - { "effect": "pillarbox_left_horizontal/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "internal" } diff --git a/bgfx/chains/pillarbox_left_vertical.json b/bgfx/chains/pillarbox_left_vertical.json index 976a84476b8..64c31108f03 100644 --- a/bgfx/chains/pillarbox_left_vertical.json +++ b/bgfx/chains/pillarbox_left_vertical.json @@ -31,7 +31,7 @@ ], "passes": [ - { "effect": "pillarbox_left_vertical/blit", + { "effect": "misc/blit", "name": "Blit to scalable target", "input": [ { "sampler": "s_tex", "target": "screen" } @@ -79,7 +79,7 @@ "output": "internal" }, { - "effect": "pillarbox_left_vertical/saturation", + "effect": "misc/saturation", "name": "Saturation Pass", "disablewhen": [ { "type": "slider", "condition": "equal", "name": "saturation", "value": 100 } @@ -92,7 +92,7 @@ ], "output": "internal" }, - { "effect": "pillarbox_left_vertical/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "internal" } diff --git a/bgfx/chains/pillarbox_right_horizontal.json b/bgfx/chains/pillarbox_right_horizontal.json index a687510049e..0b7c8c5287b 100644 --- a/bgfx/chains/pillarbox_right_horizontal.json +++ b/bgfx/chains/pillarbox_right_horizontal.json @@ -31,7 +31,7 @@ ], "passes": [ - { "effect": "pillarbox_right_horizontal/blit", + { "effect": "misc/blit", "name": "Blit to scalable target", "input": [ { "sampler": "s_tex", "target": "screen" } @@ -79,7 +79,7 @@ "output": "internal" }, { - "effect": "pillarbox_right_horizontal/saturation", + "effect": "misc/saturation", "name": "Saturation Pass", "disablewhen": [ { "type": "slider", "condition": "equal", "name": "saturation", "value": 100 } @@ -92,7 +92,7 @@ ], "output": "internal" }, - { "effect": "pillarbox_right_horizontal/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "internal" } diff --git a/bgfx/chains/pillarbox_right_vertical.json b/bgfx/chains/pillarbox_right_vertical.json index 16dcb8b8c4b..088d21081ab 100644 --- a/bgfx/chains/pillarbox_right_vertical.json +++ b/bgfx/chains/pillarbox_right_vertical.json @@ -31,7 +31,7 @@ ], "passes": [ - { "effect": "pillarbox_right_vertical/blit", + { "effect": "misc/blit", "name": "Blit to scalable target", "input": [ { "sampler": "s_tex", "target": "screen" } @@ -79,7 +79,7 @@ "output": "internal" }, { - "effect": "pillarbox_right_vertical/saturation", + "effect": "misc/saturation", "name": "Saturation Pass", "disablewhen": [ { "type": "slider", "condition": "equal", "name": "saturation", "value": 100 } @@ -92,7 +92,7 @@ ], "output": "internal" }, - { "effect": "pillarbox_right_vertical/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "internal" } diff --git a/bgfx/chains/super-2xbr-3d-2p.json b/bgfx/chains/super-2xbr-3d-2p.json new file mode 100644 index 00000000000..a196141548d --- /dev/null +++ b/bgfx/chains/super-2xbr-3d-2p.json @@ -0,0 +1,69 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR 3D Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR 3D (2 passes)", + "author": "Hyllian", + "targets": [ + { + "name": "guest", + "mode": "guest", + "scale": 1, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-2xbr-3d-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-2xbr-3d-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "guest" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "guest" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-2xbr-3d-3p-smoother.json b/bgfx/chains/super-2xbr-3d-3p-smoother.json new file mode 100644 index 00000000000..d3e3d33d7c4 --- /dev/null +++ b/bgfx/chains/super-2xbr-3d-3p-smoother.json @@ -0,0 +1,78 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR 3D Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR 3D (3 passes, smoother)", + "author": "Hyllian", + "targets": [ + { + "name": "guest", + "mode": "guest", + "scale": 1, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-2xbr-3d-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-2xbr-3d-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "guest" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-2xbr-3d-pass2", + "name": "Pass 2", + "input": [ + { "sampler": "s0", "target": "guest" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "guest" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-4xbr-3d-4p.json b/bgfx/chains/super-4xbr-3d-4p.json new file mode 100644 index 00000000000..046897b62d5 --- /dev/null +++ b/bgfx/chains/super-4xbr-3d-4p.json @@ -0,0 +1,86 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super 4XBR 3D Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super 4XBR 3D (4 passes)", + "author": "Hyllian", + "targets": [ + { + "name": "guest", + "mode": "guest", + "scale": 1, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "guest" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass2", + "name": "Pass 2", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass3", + "name": "Pass 3", + "input": [ + { "sampler": "s0", "target": "guest" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "guest" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-4xbr-3d-6p-smoother.json b/bgfx/chains/super-4xbr-3d-6p-smoother.json new file mode 100644 index 00000000000..f3bd617258f --- /dev/null +++ b/bgfx/chains/super-4xbr-3d-6p-smoother.json @@ -0,0 +1,86 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super 4XBR 3D Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super 4XBR 3D (3 passes, smoother)", + "author": "Hyllian", + "targets": [ + { + "name": "guest", + "mode": "guest", + "scale": 1, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "guest" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass2", + "name": "Pass 2", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/super-4xbr-3d-pass3", + "name": "Pass 3", + "input": [ + { "sampler": "s0", "target": "guest" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "guest" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "guest" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-xbr-2p.json b/bgfx/chains/super-xbr-2p.json new file mode 100644 index 00000000000..cdb8c3f84a5 --- /dev/null +++ b/bgfx/chains/super-xbr-2p.json @@ -0,0 +1,76 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR 3D Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR (2 passes)", + "author": "Hyllian", + "targets": [ + { + "name": "pass0", + "mode": "guest", + "scale": 1, + "bilinear": false, + "doublebuffer": true + }, + { + "name": "pass1", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-xbr-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "pass0" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "pass0" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "pass1" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "pass1" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-xbr-3p-smoother.json b/bgfx/chains/super-xbr-3p-smoother.json new file mode 100644 index 00000000000..96bda7904b6 --- /dev/null +++ b/bgfx/chains/super-xbr-3p-smoother.json @@ -0,0 +1,84 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR (3 passes, smoother)", + "author": "Hyllian", + "targets": [ + { + "name": "pass02", + "mode": "guest", + "scale": 1, + "bilinear": false, + "doublebuffer": true + }, + { + "name": "pass1", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-xbr-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "pass02" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "pass02" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "pass1" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass2", + "name": "Pass 2", + "input": [ + { "sampler": "s0", "target": "pass1" } + ], + "output": "pass1" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "pass1" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-xbr-6p.json b/bgfx/chains/super-xbr-6p.json new file mode 100644 index 00000000000..4f5c69369d7 --- /dev/null +++ b/bgfx/chains/super-xbr-6p.json @@ -0,0 +1,123 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR (6 passes)", + "author": "Hyllian", + "targets": [ + { + "name": "group0_pass02", + "mode": "guest", + "scale": 1, + "bilinear": false, + "doublebuffer": true + }, + { + "name": "group0_pass1", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + }, + { + "name": "group1_pass02", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + }, + { + "name": "group1_pass1", + "mode": "guest", + "scale": 4, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-xbr-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "group0_pass02" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "group0_pass02" }, + { "sampler": "ORIG_texture", "texture": "screen" } + ], + "output": "group0_pass1" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass2", + "name": "Pass 2", + "input": [ + { "sampler": "s0", "target": "group0_pass1" } + ], + "output": "group0_pass1" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "target": "group0_pass1" } + ], + "output": "group1_pass02" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "group1_pass02" }, + { "sampler": "ORIG_texture", "target": "group0_pass1" } + ], + "output": "group1_pass1" + }, + { + "effect": "xbr/super-xbr/super-xbr-pass2", + "name": "Pass 2", + "input": [ + { "sampler": "s0", "target": "group1_pass1" } + ], + "output": "group1_pass1" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "group1_pass1" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-xbr-deposterize.json b/bgfx/chains/super-xbr-deposterize.json new file mode 100644 index 00000000000..8eac3770465 --- /dev/null +++ b/bgfx/chains/super-xbr-deposterize.json @@ -0,0 +1,98 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR (deposterize)", + "author": "Hyllian", + "targets": [ + { + "name": "deposterize", + "mode": "guest", + "bilinear": false, + "doublebuffer": true + }, + { + "name": "pass012", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "misc/deposterize-pass0", + "name": "Deposterize, Pass 0", + "input": [ + { "sampler": "decal", "texture": "screen" } + ], + "output": "deposterize" + }, + { + "effect": "misc/deposterize-pass1", + "name": "Deposterize, Pass 1", + "input": [ + { "sampler": "decal", "target": "deposterize" } + ], + "output": "deposterize" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "target": "deposterize" } + ], + "output": "pass012" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "pass012" } + ], + "output": "pass012" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass2", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "pass012" } + ], + "output": "pass012" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "pass012" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-xbr-fast-3p.json b/bgfx/chains/super-xbr-fast-3p.json new file mode 100644 index 00000000000..f0d0411acc0 --- /dev/null +++ b/bgfx/chains/super-xbr-fast-3p.json @@ -0,0 +1,76 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR (3 passes, faster)", + "author": "Hyllian", + "targets": [ + { + "name": "all_passes", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-xbr-fast-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "all_passes" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "all_passes" } + ], + "output": "all_passes" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass2", + "name": "Pass 5", + "input": [ + { "sampler": "s0", "target": "all_passes" } + ], + "output": "all_passes" + }, + { + "effect": "xbr/super-xbr/custom-jinc2-sharper", + "name": "Jinc2 Upscaler", + "input": [ + { "sampler": "s_p", "target": "all_passes" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/super-xbr-fast-6p.json b/bgfx/chains/super-xbr-fast-6p.json new file mode 100644 index 00000000000..6d19e28f9b2 --- /dev/null +++ b/bgfx/chains/super-xbr-fast-6p.json @@ -0,0 +1,113 @@ +// license:MIT +// copyright-holders:Hyllian + +/* + + ******* Super XBR Shader ******* + + Copyright (c) 2016 Hyllian - sergiogdb@gmail.com + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + +*/ + +{ + "name": "Super XBR (6 passes, faster)", + "author": "Hyllian", + "targets": [ + { + "name": "group0_pass012", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + }, + { + "name": "group1_pass012", + "mode": "guest", + "scale": 2, + "bilinear": false, + "doublebuffer": true + }, + { + "name": "to_blit", + "mode": "guest", + "scale": 4, + "doublebuffer": true + } + ], + "passes": [ + { + "effect": "xbr/super-xbr/super-xbr-fast-pass0", + "name": "Pass 0", + "input": [ + { "sampler": "s0", "texture": "screen" } + ], + "output": "group0_pass012" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass1", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "group0_pass012" } + ], + "output": "group0_pass012" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass2", + "name": "Pass 1", + "input": [ + { "sampler": "s0", "target": "group0_pass012" } + ], + "output": "group0_pass012" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass0", + "name": "Pass 3", + "input": [ + { "sampler": "s0", "target": "group0_pass012" } + ], + "output": "group1_pass012" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass1", + "name": "Pass 4", + "input": [ + { "sampler": "s0", "target": "group1_pass012" } + ], + "output": "group1_pass012" + }, + { + "effect": "xbr/super-xbr/super-xbr-fast-pass2", + "name": "Pass 5", + "input": [ + { "sampler": "s0", "target": "group1_pass012" } + ], + "output": "to_blit" + }, + { + "effect": "misc/blit", + "name": "Upscaling Blit", + "input": [ + { "sampler": "s_tex", "target": "to_blit" } + ], + "output": "output" + } + ] +}
\ No newline at end of file diff --git a/bgfx/chains/supereagle.json b/bgfx/chains/supereagle.json index 0f12a85e095..cf3294e8a36 100644 --- a/bgfx/chains/supereagle.json +++ b/bgfx/chains/supereagle.json @@ -33,7 +33,7 @@ ], "output": "scaled_out" }, - { "effect": "hq2x/blit", + { "effect": "misc/blit", "name": "Final Blit", "input": [ { "sampler": "s_tex", "target": "scaled_out" } diff --git a/bgfx/chains/unfiltered.json b/bgfx/chains/unfiltered.json index a644f9af370..e8983f6dd5c 100644 --- a/bgfx/chains/unfiltered.json +++ b/bgfx/chains/unfiltered.json @@ -7,14 +7,14 @@ } ], "passes": [ - { "effect": "unfiltered/blit", + { "effect": "misc/blit", "name": "Copy To Unstretched Texture", "input": [ { "sampler": "s_tex", "texture": "screen" } ], "output": "temp" }, - { "effect": "unfiltered/blit", + { "effect": "misc/blit", "name": "Final Upscale", "input": [ { "sampler": "s_tex", "target": "temp" } |