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

1 2 3 4

  /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/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 16 float4 vec4, vec4_2; local
24 vec4 += vec3; // expected-error {{can't convert between vector values of different size}}
26 vec4 = 5.0f;
27 vec4 = (float4)5.0f;
28 vec4 = (float4)5;
29 vec4 = (float4)vec4_3;
40 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' (vector of 4 'float' values) and 'float2' (vector of 2 'float' values)}}
44 vec4 /= 5.2f;
45 vec4 %= 4; // expected-error {{invalid operands to binary expression ('float4' (vector of 4 'float' values) and 'int')}}
47 ivec4 += vec4; // expected-error {{can't convert between vector values of different size ('int4' (vector of 4 'i (…)
    [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;
  /external/chromium_org/third_party/angle/tests/compiler_tests/
ExpressionLimit_test.cpp 53 *ss << "+ vec4(" << ii << ")";
61 uniform vec4 u_color;
79 uniform vec4 u_color;
84 vec4 someFunction() {
101 uniform vec4 u_color;
102 vec4 function0() {
109 *ss << "vec4 function" << (ii + 1) << "() {\n"
135 << " gl_FragColor = vec4(0,0,0,0);\n"
299 uniform vec4 u_color;
300 vec4 someFunc()
    [all...]
  /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...]
  /cts/suite/cts/deviceTests/opengl/assets/fragment/
blur 31 vec4 color = vec4(0.0, 0.0, 0.0, 0.0);
  /external/chromium_org/third_party/angle/tests/angle_tests/
GLSLStructTest.cpp 22 attribute vec4 inputAttribute;
46 gl_FragColor = vec4(1, 0, 0, 1);
76 gl_FragColor = vec4(1, 0, 0, 1);
99 gl_FragColor = vec4(1, 0, 0, 1);
PBOExtensionTest.cpp 30 attribute vec4 aTest;
32 varying vec4 vTest;
37 gl_Position = vec4(aPosition, 0.0, 1.0);
45 varying vec4 vTest;
  /external/chromium_org/gpu/command_buffer/tests/
gl_program_unittest.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 177 attribute vec4 a_position;
215 attribute vec4 a_position;
250 attribute vec4 a_position;
286 attribute vec4 a_position;
290 uniform TexCoordPrecision vec4 texTransform[8];
297 TexCoordPrecision vec4 texTrans = texTransform[quad_index];
306 attribute vec4 a_position;
344 attribute TexCoordPrecision vec4 a_position;
352 gl_Position = matrix * vec4(pos, a_position.z, a_position.w);
358 attribute TexCoordPrecision vec4 a_position
    [all...]
  /external/chromium_org/third_party/angle/samples/angle/hello_triangle/
HelloTriangle.cpp 31 attribute vec4 vPosition;
43 gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
  /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 1088 milliseconds

1 2 3 4