HomeSort by relevance Sort by last modified time
    Searched full:vec2 (Results 276 - 300 of 655) sorted by null

<<11121314151617181920>>

  /external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
bloomExtract.frag 5 varying vec2 texCoord;
bloomExtract15.frag 8 in vec2 texCoord;
  /external/jmonkeyengine/engine/src/test/jme3test/texture/
tex3DThumb.frag 5 varying vec2 texCoord;
  /external/mesa3d/src/glsl/builtins/ir/
length.ir 9 (declare (in) vec2 arg0))
matrixCompMult.ir 7 (assign (xy) (array_ref (var_ref z) (constant int (0))) (expression vec2 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0)))))
8 (assign (xy) (array_ref (var_ref z) (constant int (1))) (expression vec2 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1)))))
46 (assign (xy) (array_ref (var_ref z) (constant int (0))) (expression vec2 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0)))))
47 (assign (xy) (array_ref (var_ref z) (constant int (1))) (expression vec2 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1)))))
48 (assign (xy) (array_ref (var_ref z) (constant int (2))) (expression vec2 * (array_ref (var_ref x) (constant int (2))) (array_ref (var_ref y) (constant int (2)))))
65 (assign (xy) (array_ref (var_ref z) (constant int (0))) (expression vec2 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0)))))
66 (assign (xy) (array_ref (var_ref z) (constant int (1))) (expression vec2 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1)))))
67 (assign (xy) (array_ref (var_ref z) (constant int (2))) (expression vec2 * (array_ref (var_ref x) (constant int (2))) (array_ref (var_ref y) (constant int (2)))))
68 (assign (xy) (array_ref (var_ref z) (constant int (3))) (expression vec2 * (array_ref (var_ref x) (constant int (3))) (array_ref (var_ref y) (constant int (3)))))
  /frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
shader2v.glsl 8 varying vec2 varTex0;
  /cts/suite/pts/deviceTests/opengl/assets/fragment/
blur 16 uniform vec2 u_Scale;
17 varying vec2 v_TexCoordinate;
33 vec2 coords = v_TexCoordinate.xy + ((float(i) - 5.0) * u_Scale);
  /external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
Deferred.frag 4 varying vec2 texCoord;
12 uniform vec2 m_FrustumNearFar;
58 vec2 computeLighting(in vec3 wvPos, in vec3 wvNorm, in vec3 wvViewDir, in vec4 wvLightDir, in float shiny){
61 return vec2(diffuseFactor, specularFactor) * vec2(wvLightDir.w);
72 vec3 getPosition(in vec2 newTexCoord){
86 pos.xy = (newTexCoord * vec2(2.0)) - vec2(1.0);
122 vec2 newTexCoord = texCoord;
137 vec2 light = computeLighting(worldPosition, normal, viewDir, lightDir, specularColor.w*128.0);
    [all...]
Lighting.frag 6 varying vec2 texCoord;
8 varying vec2 texCoord2;
22 varying vec2 vertexLightValues;
119 vec2 computeLighting(in vec3 wvNorm, in vec3 wvViewDir, in vec3 wvLightDir){
135 return vec2(diffuseFactor, specularFactor) * vec2(att);
140 vec2 newTexCoord;
244 vec2 light = vertexLightValues.xy;
246 light.x = texture2D(m_ColorRamp, vec2(light.x, 0.0)).r;
247 light.y = texture2D(m_ColorRamp, vec2(light.y, 0.0)).r;
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
gles2_cmd_copy_texture_chromium.cc 59 varying vec2 v_uv;
62 v_uv = a_position.xy * 0.5 + vec2(0.5, 0.5);
67 varying vec2 v_uv;
74 varying vec2 v_uv;
76 gl_FragColor = texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t));
81 varying vec2 v_uv;
89 varying vec2 v_uv;
98 varying vec2 v_uv;
100 gl_FragColor = texture2D(u_texSampler, vec2(v_uv.s, 1.0 - v_uv.t));
106 varying vec2 v_uv
    [all...]
  /external/chromium_org/third_party/angle_dx11/src/compiler/
BuiltInFunctionEmulator.cpp 20 "#error no emulation for cos(vec2)",
25 "#error no emulation for distance(vec2, vec2)",
30 "#error no emulation for dot(vec2, vec2)",
35 "#error no emulation for length(vec2)",
40 "#error no emulation for normalize(vec2)",
45 "#error no emulation for reflect(vec2, vec2)",
52 "webgl_emu_precision vec2 webgl_cos_emu(webgl_emu_precision vec2 a) { return cos(a); }"
    [all...]
  /external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
Water.frag 34 uniform vec2 m_WindDirection;
40 vec2 scale = vec2(m_WaveScale, m_WaveScale);
54 varying vec2 texCoord;
65 mat3 computeTangentFrame(in vec3 N, in vec3 P, in vec2 UV) {
68 vec2 duv1 = dFdx(UV);
69 vec2 duv2 = dFdy(UV);
80 //vec3 T = inverseM * vec2(duv1.x, duv2.x);
81 //vec3 B = inverseM * vec2(duv1.y, duv2.y);
103 vec3 getPosition(in float depth, in vec2 uv){
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
GrainFilter.java 57 "uniform vec2 seed;\n" +
58 "varying vec2 v_texcoord;\n" +
59 "float rand(vec2 loc) {\n" +
60 " float theta1 = dot(loc, vec2(0.9898, 0.233));\n" +
61 " float theta2 = dot(loc, vec2(12.0, 78.0));\n" +
81 "varying vec2 v_texcoord;\n" +
83 " float noise = texture2D(tex_sampler_1, v_texcoord + vec2(-stepX, -stepY)).r * 0.224;\n" +
84 " noise += texture2D(tex_sampler_1, v_texcoord + vec2(-stepX, stepY)).r * 0.224;\n" +
85 " noise += texture2D(tex_sampler_1, v_texcoord + vec2(stepX, -stepY)).r * 0.224;\n" +
86 " noise += texture2D(tex_sampler_1, v_texcoord + vec2(stepX, stepY)).r * 0.224;\n"
    [all...]
  /external/clang/test/PCH/
exprs.h 79 extern double2 vec2, vec2b;
80 typedef typeof(vec2.x) ext_vector_element;
103 typedef typeof(__builtin_shufflevector(vec2, vec2b, 2, 1)) shuffle_expr;
  /external/llvm/test/Transforms/DeadStoreElimination/
OverwriteStoreEnd.ll 4 %struct.vec2 = type { <4 x i32>, <4 x i32> }
7 @glob1 = global %struct.vec2 zeroinitializer, align 16
55 define void @write16to32(%struct.vec2* nocapture %p) nounwind uwtable ssp {
58 %0 = bitcast %struct.vec2* %p to i8*
59 ; CHECK: tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.vec2* @glob1 to i8*), i64 16, i32 16, i1 false)
60 tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.vec2* @glob1 to i8*), i64 32, i32 16, i1 false)
61 %c = getelementptr inbounds %struct.vec2* %p, i64 0, i32 1
66 define void @dontwrite28to32memcpy(%struct.vec2* nocapture %p) nounwind uwtable ssp {
69 %0 = bitcast %struct.vec2* %p to i8*
70 ; CHECK: tail call void @llvm.memcpy.p0i8.p0i8.i64(i8* %0, i8* bitcast (%struct.vec2* @glob1 to i8*), i64 32, i32 16, i1 false
    [all...]
  /frameworks/native/services/surfaceflinger/RenderEngine/
GLES20RenderEngine.cpp 264 Mesh::VertexArray<vec2> position(mesh.getPositionArray<vec2>());
265 Mesh::VertexArray<vec2> texCoord(mesh.getTexCoordArray<vec2>());
266 position[0] = vec2(0, 0);
267 position[1] = vec2(group.width, 0);
268 position[2] = vec2(group.width, group.height);
269 position[3] = vec2(0, group.height);
270 texCoord[0] = vec2(0, 0);
271 texCoord[1] = vec2(1, 0)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/glsl/builtins/ir/
matrixCompMult.ir 7 (assign (xy) (array_ref (var_ref z) (constant int (0))) (expression vec2 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0)))))
8 (assign (xy) (array_ref (var_ref z) (constant int (1))) (expression vec2 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1)))))
46 (assign (xy) (array_ref (var_ref z) (constant int (0))) (expression vec2 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0)))))
47 (assign (xy) (array_ref (var_ref z) (constant int (1))) (expression vec2 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1)))))
48 (assign (xy) (array_ref (var_ref z) (constant int (2))) (expression vec2 * (array_ref (var_ref x) (constant int (2))) (array_ref (var_ref y) (constant int (2)))))
65 (assign (xy) (array_ref (var_ref z) (constant int (0))) (expression vec2 * (array_ref (var_ref x) (constant int (0))) (array_ref (var_ref y) (constant int (0)))))
66 (assign (xy) (array_ref (var_ref z) (constant int (1))) (expression vec2 * (array_ref (var_ref x) (constant int (1))) (array_ref (var_ref y) (constant int (1)))))
67 (assign (xy) (array_ref (var_ref z) (constant int (2))) (expression vec2 * (array_ref (var_ref x) (constant int (2))) (array_ref (var_ref y) (constant int (2)))))
68 (assign (xy) (array_ref (var_ref z) (constant int (3))) (expression vec2 * (array_ref (var_ref x) (constant int (3))) (array_ref (var_ref y) (constant int (3)))))
equal.ir 4 (declare (in) vec2 arg0)
5 (declare (in) vec2 arg1))
greaterThan.ir 4 (declare (in) vec2 arg0)
5 (declare (in) vec2 arg1))
greaterThanEqual.ir 4 (declare (in) vec2 arg0)
5 (declare (in) vec2 arg1))
lessThan.ir 4 (declare (in) vec2 arg0)
5 (declare (in) vec2 arg1))
lessThanEqual.ir 4 (declare (in) vec2 arg0)
5 (declare (in) vec2 arg1))
  /external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/
SimpleTextured.frag 3 varying vec2 texCoord;
  /cts/suite/pts/deviceTests/opengl/assets/vertex/
perspective 19 attribute vec2 a_TexCoordinate;
22 varying vec2 v_TexCoordinate;
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
lp_bld_quad.c 96 LLVMValueRef vec1, vec2; local
114 vec2 = lp_build_swizzle_aos(bld, a, swizzle2);
117 return LLVMBuildFSub(builder, vec2, vec1, "ddxddy");
119 return LLVMBuildSub(builder, vec2, vec1, "ddxddy");
131 LLVMValueRef vec1, vec2; local
151 vec2 = LLVMBuildShuffleVector(builder, a, b,
154 return LLVMBuildFSub(builder, vec2, vec1, "ddxddyddxddy");
156 return LLVMBuildSub(builder, vec2, vec1, "ddxddyddxddy");

Completed in 298 milliseconds

<<11121314151617181920>>