mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-11 04:43:36 +00:00
b4ef9e0d56
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@26155 e7fa87d3-cd2b-0410-9028-fcbf551c1848
37 lines
599 B
GLSL
37 lines
599 B
GLSL
#version 130
|
|
|
|
uniform vec4 uv4;
|
|
uniform vec2 glass;
|
|
|
|
const int ci = 8;
|
|
|
|
vec4 d = ci * uv4;
|
|
|
|
in vec3 iv3;
|
|
flat in vec4 cup;
|
|
|
|
vec4 e = ci * d;
|
|
|
|
ivec2 foo()
|
|
{
|
|
return ivec2(2);
|
|
}
|
|
|
|
vec4 f = e * e;
|
|
|
|
const vec3 cv3 = vec3(43.0, 0.34, 9.9);
|
|
const vec3 cv3e = vec3(43.0, 0.34, 2.9);
|
|
uniform mat2 um2 = mat2(4.0);
|
|
uniform mat2 um2n;
|
|
uniform mat2 um2e = mat2(3.0);
|
|
struct S {
|
|
int a;
|
|
float b;
|
|
};
|
|
uniform S s = S(82, 3.9);
|
|
uniform S sn = S(82, 3.9);
|
|
uniform S se = S(81, 3.9);
|
|
|
|
#extension GL_OES_texture_3D : enable
|
|
#extension GL_OES_standard_derivatives : enable
|