pcsx2/plugins/GSdx/res/glsl
Gregory Hainaut 58ce7d4bb8 gsdx-ogl: emulate texture shuffle
GS doesn't supports texture shuffle/swizzle so it is emulated in a
complex way.

The idea is to read/write the 32 bits color format as a 16 bit format.
This way, RG (16 lsb bits) or BA (16 msb bits) can be read or written with
square texture that targets pixels 1-8 or pixels 8-16.
However shuffle is limited. For example you can copy the green channel
to either the alpha channel or another green channel.

Note: Partial masking of channel is not yet implemented

V2: improve logging
V3: better support of green channel in shader
V4: improve detection of destination (issue due to rounding)
2015-07-01 09:30:20 +02:00
..
convert.glsl gsdx-ogl: add some shaders to convert depth <-> color 2015-06-07 12:39:00 +02:00
fxaa.fx glsl: move shader into a separate directory 2015-04-19 18:49:02 +02:00
interlace.glsl glsl: move shader into a separate directory 2015-04-19 18:49:02 +02:00
merge.glsl glsl: move shader into a separate directory 2015-04-19 18:49:02 +02:00
shadeboost.glsl glsl: move shader into a separate directory 2015-04-19 18:49:02 +02:00
tfx_fs.glsl gsdx-ogl: emulate texture shuffle 2015-07-01 09:30:20 +02:00
tfx_fs_subroutine.glsl glsl: move shader into a separate directory 2015-04-19 18:49:02 +02:00
tfx_vgs.glsl glsl: drop useless ifndef 2015-05-08 19:28:17 +02:00