SPIR-V: Move from Version .99 Rev 31 to Version 1.0, Rev 2.

This commit is contained in:
John Kessenich
2015-11-15 21:33:39 -07:00
parent 1c77f3a8d2
commit 55e7d11ce8
117 changed files with 6740 additions and 5997 deletions

View File

@@ -1,4 +1,4 @@
#version 110
#version 400
uniform sampler2D texSampler2D;
uniform sampler3D texSampler3D;
@@ -7,16 +7,16 @@ uniform float blend;
uniform vec2 scale;
uniform vec4 u;
varying vec2 t;
varying vec3 coords;
in vec2 t;
in vec3 coords;
void main()
{
float blendscale = 1.789;
vec4 v = texture2D(texSampler2D, (t + scale) / scale ).wzyx;
vec4 v = texture(texSampler2D, (t + scale) / scale ).wzyx;
vec4 w = texture3D(texSampler3D, coords) + v;
vec4 w = texture(texSampler3D, coords) + v;
gl_FragColor = mix(w, u, blend * blendscale);
}