Lines Matching full:vec2
6 vec2 radians(vec2 degrees);
11 vec2 degrees(vec2 radians);
16 vec2 sin(vec2 angle);
21 vec2 cos(vec2 angle);
26 vec2 tan(vec2 angle);
31 vec2 asin(vec2 angle);
36 vec2 acos(vec2 angle);
41 vec2 atan(vec2 y, vec2 x);
46 vec2 atan(vec2 y_over_x);
51 vec2 sinh(vec2 x);
56 vec2 cosh(vec2 x);
61 vec2 tanh(vec2 x);
66 vec2 asinh(vec2 x);
71 vec2 acosh(vec2 x);
76 vec2 atanh(vec2 x);
84 vec2 pow(vec2 x, vec2 y);
89 vec2 exp(vec2 x);
94 vec2 log(vec2 x);
99 vec2 exp2(vec2 x);
104 vec2 log2(vec2 x);
109 vec2 sqrt(vec2 x);
114 vec2 inversesqrt(vec2 x);
122 vec2 abs(vec2 x);
131 vec2 sign(vec2 x);
140 vec2 floor(vec2 x);
145 vec2 trunc(vec2 x);
150 vec2 round(vec2 x);
155 vec2 roundEven(vec2 x);
160 vec2 ceil(vec2 x);
165 vec2 fract(vec2 x);
170 vec2 mod(vec2 x, float y);
174 vec2 mod(vec2 x, vec2 y);
179 vec2 modf(vec2 x, out vec2 i);
184 vec2 min(vec2 x, vec2 y);
188 vec2 min(vec2 x, float y);
211 vec2 max(vec2 x, vec2 y);
215 vec2 max(vec2 x, float y);
238 vec2 clamp(vec2 x, vec2 minVal, vec2 maxVal);
242 vec2 clamp(vec2 x, float minVal, float maxVal);
265 vec2 mix(vec2 x, vec2 y, vec2 a);
269 vec2 mix(vec2 x, vec2 y, float a);
274 vec2 mix(vec2 x, vec2 y, bvec2 a);
279 vec2 step(vec2 edge, vec2 x);
283 vec2 step(float edge, vec2 x);
288 vec2 smoothstep(vec2 edge0, vec2 edge1, vec2 x);
292 vec2 smoothstep(float edge0, float edge1, vec2 x);
297 bvec2 isnan(vec2 x);
302 bvec2 isinf(vec2 x);
310 float length(vec2 x);
315 float distance(vec2 p0, vec2 p1);
320 float dot(vec2 x, vec2 y);
327 vec2 normalize(vec2 x);
332 vec2 faceforward(vec2 N, vec2 I, vec2 Nref);
337 vec2 reflect(vec2 I, vec2 N);
342 vec2 refract(vec2 I, vec2 N, float eta);
360 mat2 outerProduct(vec2 c, vec2 r);
364 mat2x3 outerProduct(vec3 c, vec2 r);
365 mat3x2 outerProduct(vec2 c, vec3 r);
367 mat2x4 outerProduct(vec4 c, vec2 r);
368 mat4x2 outerProduct(vec2 c, vec4 r);
389 bvec2 lessThan( vec2 x, vec2 y);
399 bvec2 lessThanEqual( vec2 x, vec2 y);
409 bvec2 greaterThan( vec2 x, vec2 y);
419 bvec2 greaterThanEqual( vec2 x, vec2 y);
429 bvec2 equal( vec2 x, vec2 y);
442 bvec2 notEqual( vec2 x, vec2 y);
507 vec4 texture( sampler2D sampler, vec2 P);
508 ivec4 texture(isampler2D sampler, vec2 P);
509 uvec4 texture(usampler2D sampler, vec2 P);
523 vec4 texture( sampler1DArray sampler, vec2 P);
524 ivec4 texture(isampler1DArray sampler, vec2 P);
525 uvec4 texture(usampler1DArray sampler, vec2 P);
535 vec4 textureProj( sampler1D sampler, vec2 P);
536 ivec4 textureProj(isampler1D sampler, vec2 P);
537 uvec4 textureProj(usampler1D sampler, vec2 P);
561 vec4 textureLod( sampler2D sampler, vec2 P, float lod);
562 ivec4 textureLod(isampler2D sampler, vec2 P, float lod);
563 uvec4 textureLod(usampler2D sampler, vec2 P, float lod);
576 vec4 textureLod( sampler1DArray sampler, vec2 P, float lod);
577 ivec4 textureLod(isampler1DArray sampler, vec2 P, float lod);
578 uvec4 textureLod(usampler1DArray sampler, vec2 P, float lod);
591 vec4 textureOffset( sampler2D sampler, vec2 P, ivec2 offset);
592 ivec4 textureOffset(isampler2D sampler, vec2 P, ivec2 offset);
593 uvec4 textureOffset(usampler2D sampler, vec2 P, ivec2 offset);
602 vec4 textureOffset( sampler1DArray sampler, vec2 P, int offset);
603 ivec4 textureOffset(isampler1DArray sampler, vec2 P, int offset);
604 uvec4 textureOffset(usampler1DArray sampler, vec2 P, int offset);
655 vec4 textureProjOffset( sampler1D sampler, vec2 P, int offset);
656 ivec4 textureProjOffset(isampler1D sampler, vec2 P, int offset);
657 uvec4 textureProjOffset(usampler1D sampler, vec2 P, int offset);
681 vec4 textureLodOffset( sampler2D sampler, vec2 P, float lod, ivec2 offset);
682 ivec4 textureLodOffset(isampler2D sampler, vec2 P, float lod, ivec2 offset);
683 uvec4 textureLodOffset(usampler2D sampler, vec2 P, float lod, ivec2 offset);
692 vec4 textureLodOffset( sampler1DArray sampler, vec2 P, float lod, int offset);
693 ivec4 textureLodOffset(isampler1DArray sampler, vec2 P, float lod, int offset);
694 uvec4 textureLodOffset(usampler1DArray sampler, vec2 P, float lod, int offset);
703 vec4 textureProjLod( sampler1D sampler, vec2 P, float lod);
704 ivec4 textureProjLod(isampler1D sampler, vec2 P, float lod);
705 uvec4 textureProjLod(usampler1D sampler, vec2 P, float lod);
725 vec4 textureProjLodOffset( sampler1D sampler, vec2 P, float lod, int offset);
726 ivec4 textureProjLodOffset(isampler1D sampler, vec2 P, float lod, int offset);
727 uvec4 textureProjLodOffset(usampler1D sampler, vec2 P, float lod, int offset);
751 vec4 textureGrad( sampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
752 ivec4 textureGrad(isampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
753 uvec4 textureGrad(usampler2D sampler, vec2 P, vec2 dPdx, vec2 dPdy);
764 float textureGrad(sampler2DShadow sampler, vec3 P, vec2 dPdx, vec2 dPdy);
767 vec4 textureGrad( sampler1DArray sampler, vec2 P, float dPdx, float dPdy);
768 ivec4 textureGrad(isampler1DArray sampler, vec2 P, float dPdx, float dPdy);
769 uvec4 textureGrad(usampler1DArray sampler, vec2 P, float dPdx, float dPdy);
771 vec4 textureGrad( sampler2DArray sampler, vec3 P, vec2 dPdx, vec2 dPdy);
772 ivec4 textureGrad(isampler2DArray sampler, vec3 P, vec2 dPdx, vec2 dPdy);
773 uvec4 textureGrad(usampler2DArray sampler, vec3 P, vec2 dPdx, vec2 dPdy);
776 float textureGrad(sampler2DArrayShadow sampler, vec4 P, vec2 dPdx, vec2 dPdy);
783 vec4 textureGradOffset( sampler2D s, vec2 P, vec2 dx, vec2 dy, ivec2 offset);
784 ivec4 textureGradOffset(isampler2D s, vec2 P, vec2 dx, vec2 dy, ivec2 offset);
785 uvec4 textureGradOffset(usampler2D s, vec2 P, vec2 dx, vec2 dy, ivec2 offset);
792 float textureGradOffset(sampler2DShadow s, vec3 P, vec2 dx, vec2 dy, ivec2 off);
794 vec4 textureGradOffset( sampler1DArray s, vec2 P, float dx, float dy, int off);
795 ivec4 textureGradOffset(isampler1DArray s, vec2 P, float dx, float dy, int off);
796 uvec4 textureGradOffset(usampler1DArray s, vec2 P, float dx, float dy, int off);
798 vec4 textureGradOffset( sampler2DArray s, vec3 P, vec2 dx, vec2 dy, ivec2 off);
799 ivec4 textureGradOffset(isampler2DArray s, vec3 P, vec2 dx, vec2 dy, ivec2 off);
800 uvec4 textureGradOffset(usampler2DArray s, vec3 P, vec2 dx, vec2 dy, ivec2 off);
803 float textureGradOffset(sampler2DArrayShadow s, vec4 P, vec2 dx, vec2 dy, ivec2 o);
806 vec4 textureProjGrad( sampler1D sampler, vec2 P, float dPdx, float dPdy);
807 ivec4 textureProjGrad(isampler1D sampler, vec2 P, float dPdx, float dPdy);
808 uvec4 textureProjGrad(usampler1D sampler, vec2 P, float dPdx, float dPdy);
813 vec4 textureProjGrad( sampler2D sampler, vec3 P, vec2 dPdx, vec2 dPdy);
814 ivec4 textureProjGrad(isampler2D sampler, vec3 P, vec2 dPdx, vec2 dPdy);
815 uvec4 textureProjGrad(usampler2D sampler, vec3 P, vec2 dPdx, vec2 dPdy);
816 vec4 textureProjGrad( sampler2D sampler, vec4 P, vec2 dPdx, vec2 dPdy);
817 ivec4 textureProjGrad(isampler2D sampler, vec4 P, vec2 dPdx, vec2 dPdy);
818 uvec4 textureProjGrad(usampler2D sampler, vec4 P, vec2 dPdx, vec2 dPdy);
825 float textureProjGrad(sampler2DShadow sampler, vec4 P, vec2 dPdx, vec2 dPdy);
828 vec4 textureProjGradOffset( sampler1D s, vec2 P, float dx, float dy, int off);
829 ivec4 textureProjGradOffset(isampler1D s, vec2 P, float dx, float dy, int off);
830 uvec4 textureProjGradOffset(usampler1D s, vec2 P, float dx, float dy, int off);
835 vec4 textureProjGradOffset( sampler2D s, vec3 P, vec2 dx, vec2 dy, ivec2 off);
836 ivec4 textureProjGradOffset(isampler2D s, vec3 P, vec2 dx, vec2 dy, ivec2 off);
837 uvec4 textureProjGradOffset(usampler2D s, vec3 P, vec2 dx, vec2 dy, ivec2 off);
838 vec4 textureProjGradOffset( sampler2D s, vec4 P, vec2 dx, vec2 dy, ivec2 off);
839 ivec4 textureProjGradOffset(isampler2D s, vec4 P, vec2 dx, vec2 dy, ivec2 off);
840 uvec4 textureProjGradOffset(usampler2D s, vec4 P, vec2 dx, vec2 dy, ivec2 off);
847 float textureProjGradOffset(sampler2DShadow s, vec4 P, vec2 dx, vec2 dy, ivec2 o);
853 vec4 texture1DProj (sampler1D sampler, vec2 coord);
856 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
859 vec4 texture2D (sampler2D sampler, vec2 coord);
862 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
887 float noise1(vec2 x);
891 vec2 noise2(float x);
892 vec2 noise2(vec2 x);
893 vec2 noise2(vec3 x);
894 vec2 noise2(vec4 x);
897 vec3 noise3(vec2 x);
902 vec4 noise4(vec2 x);