Searched refs:vec4 (Results 1 - 25 of 84) sorted by relevance

1234

/external/chromium_org/third_party/mesa/src/src/glsl/builtins/profiles/
H A DARB_shader_texture_lod.frag5 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 texture3DProjLo
[all...]
H A DARB_shader_texture_lod.glsl2 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 texture3DProjGradAR
[all...]
/external/mesa3d/src/glsl/builtins/profiles/
H A DARB_shader_texture_lod.frag5 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 texture3DProjLo
[all...]
H A DARB_shader_texture_lod.glsl2 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 texture3DProjGradAR
[all...]
/external/clang/test/Sema/
H A Dext_vector_components.c13 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
[all...]
H A Dext_vector_casts.c16 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; // expecte
[all...]
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
H A Dvec4.js25 * @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 initialize
[all...]
H A Dquat.js50 quat.clone = vec4.clone;
62 quat.fromValues = vec4.fromValues;
72 quat.copy = vec4.copy;
85 quat.set = vec4.set;
129 quat.add = vec4.add;
165 quat.scale = vec4.scale;
257 quat.dot = vec4.dot;
269 quat.lerp = vec4.lerp;
366 quat.length = vec4.length;
381 quat.squaredLength = vec4
[all...]
/external/chromium-trace/trace-viewer/third_party/gl-matrix/spec/gl-matrix/
H A Dvec4-spec.js23 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
[all...]
/external/chromium_org/third_party/angle/tests/compiler_tests/
H A DExpressionLimit_test.cpp54 *ss << "+ vec4(" << ii << ")";
62 uniform vec4 u_color;
80 uniform vec4 u_color;
85 vec4 someFunction() {
102 uniform vec4 u_color;
103 vec4 function0() {
110 *ss << "vec4 function" << (ii + 1) << "() {\n"
136 << " gl_FragColor = vec4(0,0,0,0);\n"
304 uniform vec4 u_color;
305 vec4 someFun
[all...]
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_program_unittest.cc32 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;
H A Dgl_bind_uniform_location_unittest.cc39 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_su
[all...]
H A Dgl_stream_draw_unittest.cc39 attribute vec4 a_position;
40 attribute vec4 a_color;
41 varying vec4 v_color;
51 varying vec4 v_color;
/external/chromium_org/cc/output/
H A Dshader.cc176 attribute vec4 a_position;
214 attribute vec4 a_position;
249 attribute vec4 a_position;
285 attribute vec4 a_position;
289 uniform TexCoordPrecision vec4 texTransform[8];
296 TexCoordPrecision vec4 texTrans = texTransform[quad_index];
305 attribute vec4 a_position;
343 attribute TexCoordPrecision vec4 a_position;
351 gl_Position = matrix * vec4(pos, a_position.z, a_position.w);
357 attribute TexCoordPrecision vec4 a_positio
[all...]
/external/chromium_org/third_party/angle/samples/angle/hello_triangle/
H A DHelloTriangle.cpp31 attribute vec4 vPosition;
43 gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
/external/chromium-trace/trace-viewer/src/base/
H A Dgl_matrix.js12 base.requireRawScript('../third_party/gl-matrix/src/gl-matrix/vec4.js');
17 var tmp_vec4 = vec4.create();
65 vec4.unitize = function(out, a) {
74 vec4.unitize(tmp_vec4, a);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_eu_util.c60 dst = vec4(dst);
61 src = vec4(src);
113 dst = vec4(dst);
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_eu_util.c60 dst = vec4(dst);
61 src = vec4(src);
113 dst = vec4(dst);
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DPBOExtensionTest.cpp30 attribute vec4 aTest;
32 varying vec4 vTest;
37 gl_Position = vec4(aPosition, 0.0, 1.0);
45 varying vec4 vTest;
H A DProgramBinaryTest.cpp22 attribute vec4 inputAttribute;
33 gl_FragColor = vec4(1,0,0,1);
H A DTransformFeedbackTest.cpp24 attribute vec4 position;
38 gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
H A DGLSLTest.cpp22 attribute vec4 inputAttribute;
197 fragmentShader->append("\nvoid main() \n{ \n\tvec4 retColor = vec4(0,0,0,0);\n");
202 fragmentShader->append("\tretColor += vec4(");
219 fragmentShader->append("\tretColor += vec4(");
236 fragmentShader->append("\tretColor += vec4(");
270 gl_FragColor = vec4(1, 0, 0, 1);
300 gl_FragColor = vec4(1, 0, 0, 1);
323 gl_FragColor = vec4(1, 0, 0, 1);
346 attribute vec4 inputAttribute;
350 gl_Position = vec4(inputAttribut
[all...]
H A DVertexAttributeTest.cpp67 attribute highp vec4 position;
68 attribute highp vec4 test;
69 attribute highp vec4 expected;
71 varying highp vec4 color;
76 color = vec4(lessThan(abs(test - expected), vec4(1.0 / 64.0)));
82 varying highp vec4 color;
/external/clang/test/CodeGen/
H A Dvector.c15 typedef float vec4 __attribute__((vector_size(16))); typedef
17 void test3 ( vec4* a, char b, float c ) {
/external/chromium_org/third_party/angle/samples/angle/multi_texture/
H A DMultiTexture.cpp44 attribute vec4 a_position;
62 vec4 baseColor;
63 vec4 lightColor;

Completed in 5994 milliseconds

1234