dolphin/Data/Sys/Shaders
Ryan Houdek bc9ef95643 Support Sampler binding in the shader.
In the cases where we support the binding layout keyword, use it for more than binding UBO location.
This changes it so it is supported for samplers as well.

Instances when this is enabled is if a device supports GL_ARB_shading_language_420pack, or if it supports GLES 3.10.
2014-07-18 17:04:03 -05:00
..
16bit.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
32bit.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
FXAA.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
README.txt Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
acidmetal.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
acidtrip.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
acidtrip2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
asciiart.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
auto_toon.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
auto_toon2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
bad_bloom.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
brighten.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
chrismas.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
cool1.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
darkerbrighter.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
emboss.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
fire.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
fire2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
firewater.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
grayscale.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
grayscale2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
invert.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
invert_blue.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
invertedoutline.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
mad_world.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
nightvision.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
nightvision2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
nightvision2scanlines.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
posterize.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
posterize2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
primarycolors.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
sepia.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
sketchy.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
spookey1.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
spookey2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
stereoscopic.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
stereoscopic2.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
sunset.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
swap_RGB_BGR.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
swap_RGB_BRG.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
swap_RGB_GBR.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
swap_RGB_GRB.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
swap_RGB_RBG.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00
toxic.glsl Support Sampler binding in the shader. 2014-07-18 17:04:03 -05:00

README.txt

//dummy shader:
SAMPLER_BINDING(9) uniform sampler2D samp9;

out vec4 ocol0;
in vec2 uv0;

void main()
{
  ocol0 = texture(samp9, uv0);
}

/*
And now that's over with, the contents of this readme file!
For best results, turn Wordwrap formatting on...
The shaders shown in the dropdown box in the video plugin configuration window are kept in the directory named User/Data/Shaders. They are linked in to the dolphin source from the repository at <http://dolphin-shaders-database.googlecode.com/svn/trunk/>. See <http://code.google.com/p/dolphin-shaders-database/wiki/Documentation> for more details on the way shaders work.

This file will hopefully hold more content in future...
*/