summaryrefslogtreecommitdiffstatshomepage
path: root/bgfx/chains/hqx/hq2x.json
diff options
context:
space:
mode:
Diffstat (limited to 'bgfx/chains/hqx/hq2x.json')
-rw-r--r--bgfx/chains/hqx/hq2x.json60
1 files changed, 60 insertions, 0 deletions
diff --git a/bgfx/chains/hqx/hq2x.json b/bgfx/chains/hqx/hq2x.json
new file mode 100644
index 00000000000..b525942d24c
--- /dev/null
+++ b/bgfx/chains/hqx/hq2x.json
@@ -0,0 +1,60 @@
+// license:LGPL-2.1+
+// copyright-holders:Jules Blok,Cameron Zemek,Maxim Stepin
+
+/*
+* Copyright (C) 2003 Maxim Stepin ( maxst@hiend3d.com )
+*
+* Copyright (C) 2010 Cameron Zemek ( grom@zeminvaders.net )
+*
+* Copyright (C) 2014 Jules Blok ( jules@aerix.nl )
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Lesser General Public
+* License as published by the Free Software Foundation; either
+* version 2.1 of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+{
+ "name": "HQ2x",
+ "author": "libretro",
+ "targets": [
+ {
+ "name": "scaled_out",
+ "mode": "guest",
+ "scale": 2,
+ "doublebuffer": true
+ },
+ {
+ "name": "internal",
+ "mode": "native",
+ "doublebuffer": true
+ }
+ ],
+ "passes": [
+ {
+ "effect": "hqx/hq2x",
+ "name": "HQ2x pass",
+ "input": [
+ { "sampler": "decal", "texture": "screen" },
+ { "sampler": "LUT", "texture": "bgfx/chains/hq2x.png", "bilinear": true }
+ ],
+ "output": "scaled_out"
+ },
+ { "effect": "misc/blit",
+ "name": "Final Blit",
+ "input": [
+ { "sampler": "s_tex", "target": "scaled_out" }
+ ],
+ "output": "output"
+ }
+ ]
+} \ No newline at end of file