HomeSort by relevance Sort by last modified time
    Searched refs:vec4 (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/
ARB_shader_texture_lod.frag 5 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
9 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
10 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
11 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
12 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod)
    [all...]
ARB_shader_texture_lod.glsl 2 vec4 texture1DGradARB (sampler1D sampler,
4 vec4 texture1DProjGradARB (sampler1D sampler,
6 vec4 texture1DProjGradARB (sampler1D sampler,
7 vec4 P, float dPdx, float dPdy);
9 vec4 texture2DGradARB (sampler2D sampler,
11 vec4 texture2DProjGradARB (sampler2D sampler,
13 vec4 texture2DProjGradARB (sampler2D sampler,
14 vec4 P, vec2 dPdx, vec2 dPdy);
16 vec4 texture3DGradARB (sampler3D sampler,
18 vec4 texture3DProjGradARB (sampler3D sampler
    [all...]
  /external/mesa3d/src/glsl/builtins/profiles/
ARB_shader_texture_lod.frag 5 vec4 texture1DLod (sampler1D sampler, float coord, float lod);
6 vec4 texture1DProjLod(sampler1D sampler, vec2 coord, float lod);
7 vec4 texture1DProjLod(sampler1D sampler, vec4 coord, float lod);
8 vec4 texture2DLod (sampler2D sampler, vec2 coord, float lod);
9 vec4 texture2DProjLod(sampler2D sampler, vec3 coord, float lod);
10 vec4 texture2DProjLod(sampler2D sampler, vec4 coord, float lod);
11 vec4 texture3DLod (sampler3D sampler, vec3 coord, float lod);
12 vec4 texture3DProjLod(sampler3D sampler, vec4 coord, float lod)
    [all...]
ARB_shader_texture_lod.glsl 2 vec4 texture1DGradARB (sampler1D sampler,
4 vec4 texture1DProjGradARB (sampler1D sampler,
6 vec4 texture1DProjGradARB (sampler1D sampler,
7 vec4 P, float dPdx, float dPdy);
9 vec4 texture2DGradARB (sampler2D sampler,
11 vec4 texture2DProjGradARB (sampler2D sampler,
13 vec4 texture2DProjGradARB (sampler2D sampler,
14 vec4 P, vec2 dPdx, vec2 dPdy);
16 vec4 texture3DGradARB (sampler3D sampler,
18 vec4 texture3DProjGradARB (sampler3D sampler
    [all...]
  /external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
simple_water.frag 13 uniform vec4 m_waterColor;
15 uniform vec4 m_distortionScale;
16 uniform vec4 m_distortionMix;
17 uniform vec4 m_texScale;
23 varying vec4 lightDir; //lightpos
24 varying vec4 waterTex1; //moving texcoords
25 varying vec4 waterTex2; //moving texcoords
26 varying vec4 position; //for projection
27 varying vec4 viewDir; //viewts
28 varying vec4 viewLightDir
    [all...]
simple_water.vert 16 attribute vec4 inPosition;
21 varying vec4 lightDir;
22 varying vec4 waterTex1;
23 varying vec4 waterTex2;
24 varying vec4 position;
25 varying vec4 viewDir;
26 varying vec4 viewpos;
27 varying vec4 viewLightDir;
28 varying vec4 viewCamDir;
44 vec4 temp
    [all...]
  /external/clang/test/Sema/
ext_vector_components.c 13 float4 vec4, vec4_2, *vec4p; local
19 vec4.xyzw; // expected-warning {{expression result unused}}
20 vec4.xyzc; // expected-error {{illegal vector component name 'c'}}
21 vec4.s01z; // expected-error {{illegal vector component name 'z'}}
22 vec2 = vec4.s01; // legal, shorten
23 vec2 = vec4.S01; // legal, shorten
25 vec3 = vec4.xyz; // legal, shorten
27 f = vec4.xy.x; // legal, shorten
29 vec4_2.xyzx = vec4.xyzw; // expected-error {{vector is not assignable (contains duplicate components)}}
30 vec4_2.xyzz = vec4.xyzw; // expected-error {{vector is not assignable (contains duplicate components)}
    [all...]
ext_vector_casts.c 11 float4 vec4, vec4_2; local
18 vec4 = 5.0f;
19 vec4 = (float4)5.0f;
20 vec4 = (float4)5;
21 vec4 = (float4)vec4_3;
32 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' and 'float2'}}
37 vec4 /= 5.2f;
38 vec4 %= 4; // expected-error {{invalid operands to binary expression ('float4' and 'int')}}
40 ivec4 += vec4; // expected-error {{can't convert between vector values of different size ('int4' and 'float4')}}
41 ivec4 += (int4)vec4;
    [all...]
  /frameworks/native/libs/ui/tests/
mat_test.cpp 67 mat4 m2(vec4(2));
74 mat4 m4(vec4(1), vec4(2), vec4(3), vec4(4));
80 mat4 m2(vec4(2));
103 EXPECT_EQ(mat4( vec4(2,1,1,1), vec4(1,2,1,1), vec4(1,1,2,1), vec4(1,1,1,2) ), m0)
    [all...]
vec_test.cpp 24 #include <ui/vec4.h>
33 vec4 v4;
36 EXPECT_EQ(sizeof(vec4), sizeof(float)*4);
43 vec4 v0;
49 vec4 v1(1);
55 vec4 v2(1,2,3,4);
61 vec4 v3(v2);
67 vec4 v4(v3.xyz, 42);
73 vec4 v5(vec3(v2.xy, 42), 24);
87 vec4 v0(1,2,3,4)
    [all...]
  /cts/suite/cts/deviceTests/opengl/assets/vertex/
basic 15 attribute vec4 a_Position;
blur 15 attribute vec4 a_Position;
perspective 17 attribute vec4 a_Position;
29 v_Normal = vec3(u_MVMatrix * vec4(a_Normal, 0.0));
water 17 attribute vec4 a_Position;
  /frameworks/base/tests/RenderScriptTests/SceneGraph/res/raw/
shader2v.glsl 12 vec4 objPos = ATTRIB_position;
13 vec4 worldPos = UNI_model * objPos;
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
vec4-spec.js 23 describe("vec4", function() {
29 beforeEach(function() { result = vec4.create(); });
34 beforeEach(function() { result = vec4.clone(vecA); });
39 beforeEach(function() { result = vec4.fromValues(1, 2, 3, 4); });
44 beforeEach(function() { result = vec4.copy(out, vecA); });
50 beforeEach(function() { result = vec4.set(out, 1, 2, 3, 4); });
57 beforeEach(function() { result = vec4.add(out, vecA, vecB); });
66 beforeEach(function() { result = vec4.add(vecA, vecA, vecB); });
74 beforeEach(function() { result = vec4.add(vecB, vecA, vecB); });
83 it("should have an alias called 'sub'", function() { expect(vec4.sub).toEqual(vec4.subtract); })
    [all...]
  /external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
vec4.js 25 * @name vec4
27 var vec4 = {};
30 * Creates a new, empty vec4
32 * @returns {vec4} a new 4D vector
34 vec4.create = function() {
44 * Creates a new vec4 initialized with values from an existing vector
46 * @param {vec4} a vector to clone
47 * @returns {vec4} a new 4D vector
49 vec4.clone = function(a) {
59 * Creates a new vec4 initialized with the given value
    [all...]
  /external/chromium_org/third_party/angle_dx11/tests/compiler_tests/
ExpressionLimit_test.cpp 60 *ss << "+ vec4(" << ii << ")";
68 uniform vec4 u_color;
86 uniform vec4 u_color;
91 vec4 someFunction() {
108 uniform vec4 u_color;
109 vec4 function0() {
116 *ss << "vec4 function" << (ii + 1) << "() {\n"
142 << " gl_FragColor = vec4(0,0,0,0);\n"
306 uniform vec4 u_color;
307 vec4 someFunc()
    [all...]
  /cts/suite/cts/deviceTests/opengl/assets/fragment/
blur 31 vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
  /external/chromium_org/gpu/command_buffer/tests/
gl_program_unittests.cc 32 attribute vec4 a_vertex;
52 vec4(u_struct.x, u_struct.y, 0, 1) +
53 vec4(u_array[0], u_array[1], u_array[2], u_array[3]);
61 gl_FragColor = vec4(v_normal/2.0+vec3(0.5), 1);
92 attribute vec4 a_position;
101 gl_FragColor = vec4(1, 0, 0, 1);
107 gl_FragColor = vec4(0, 0, 1, 1);
130 attribute vec4 a_position;
138 uniform vec4 u_color;
gl_bind_uniform_location_unittest.cc 39 attribute vec4 a_position;
47 uniform vec4 u_colorC;
48 uniform vec4 u_colorB[2];
49 uniform vec4 u_colorA;
109 attribute vec4 a_position;
113 uniform vec4 color_b;
114 varying vec4 v_color;
126 varying vec4 v_color;
128 uniform vec4 multiplier;
132 vec4 color_c_sum = vec4(0.0)
    [all...]
  /external/chromium_org/cc/output/
shader.cc 143 attribute vec4 a_position;
182 attribute vec4 a_position;
218 attribute vec4 a_position;
256 attribute vec4 a_position;
260 uniform TexCoordPrecision vec4 texTransform[8];
267 TexCoordPrecision vec4 texTrans = texTransform[quad_index];
276 attribute vec4 a_position;
316 attribute TexCoordPrecision vec4 a_position;
324 gl_Position = matrix * vec4(pos, a_position.z, a_position.w);
330 attribute TexCoordPrecision vec4 a_position
    [all...]
  /external/clang/test/CodeGen/
vector.c 15 typedef float vec4 __attribute__((vector_size(16))); typedef
17 void test3 ( vec4* a, char b, float c ) {
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
brw_eu_util.c 60 dst = vec4(dst);
61 src = vec4(src);
113 dst = vec4(dst);
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_eu_util.c 60 dst = vec4(dst);
61 src = vec4(src);
113 dst = vec4(dst);

Completed in 453 milliseconds

1 2 3