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

1 2 3 4

  /external/autotest/client/deps/glbench/src/
yuv2rgb_1.glslv 32 attribute vec4 c;
33 varying vec4 v1;
36 gl_Position = vec4(2.0 * c.x - 1.0, 2.0 * c.y - 1.0, 0.0, 1.0);
yuv2rgb_34.glslv 32 attribute vec4 c;
37 gl_Position = vec4(2.0 * c.x - 1.0, 2.0 * c.y - 1.0, 0.0, 1.0);
yuv2rgb_2.glslv 34 attribute vec4 c;
42 gl_Position = vec4(2.0 * c.x - 1.0, 2.0 * c.y - 1.0, 0.0, 1.0);
  /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 {{cannot 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 {{cannot convert between vector values of different size ('int4' (vector of 4 ' (…)
    [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...]
  /external/vulkan-validation-layers/demos/
cube.frag 33 layout (location = 0) in vec4 texcoord;
34 layout (location = 0) out vec4 uFragColor;
cube.vert 33 vec4 position[12*3];
34 vec4 attr[12*3];
37 layout (location = 0) out vec4 texcoord;
40 vec4 gl_Position;
tri.frag 33 layout (location = 0) out vec4 uFragColor;
tri.vert 31 layout (location = 0) in vec4 pos;
  /external/vulkan-validation-layers/libs/glm/gtx/
int_10_10_10_2.hpp 38 GLM_DEPRECATED GLM_FUNC_DECL dword uint10_10_10_2_cast(glm::vec4 const & v);
  /cts/tests/openglperf2/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));
  /external/vulkan-validation-layers/libs/glm/gtc/
packing.hpp 62 /// @see uint32 packUnorm4x8(vec4 const & v)
74 /// @see vec4 unpackUnorm4x8(uint32 p)
90 /// @see uint32 packUnorm4x8(vec4 const & v)
106 /// @see vec4 unpackUnorm4x8(uint32 p)
119 /// @see uint32 packSnorm4x8(vec4 const & v)
132 /// @see vec4 unpackSnorm4x8(uint32 p)
148 /// @see uint32 packSnorm4x8(vec4 const & v)
164 /// @see vec4 unpackSnorm4x8(uint32 p)
177 /// @see uint64 packSnorm4x16(vec4 const & v)
190 /// @see vec4 unpackUnorm4x16(uint64 p
    [all...]
  /external/chromium-trace/catapult/tracing/third_party/gl-matrix/spec/gl-matrix/
vec4-spec.js 21 describe("vec4", function() {
23 var vec4 = require("../../src/gl-matrix/vec4.js");
30 beforeEach(function() { result = vec4.create(); });
35 beforeEach(function() { result = vec4.clone(vecA); });
40 beforeEach(function() { result = vec4.fromValues(1, 2, 3, 4); });
45 beforeEach(function() { result = vec4.copy(out, vecA); });
51 beforeEach(function() { result = vec4.set(out, 1, 2, 3, 4); });
58 beforeEach(function() { result = vec4.add(out, vecA, vecB); });
67 beforeEach(function() { result = vec4.add(vecA, vecA, vecB); })
    [all...]
  /external/chromium-trace/catapult/tracing/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/vulkan-validation-layers/libs/glm/detail/
func_packing.hpp 84 GLM_FUNC_DECL uint packUnorm4x8(vec4 const & v);
97 GLM_FUNC_DECL uint packSnorm4x8(vec4 const & v);
136 GLM_FUNC_DECL vec4 unpackUnorm4x8(uint const & p);
149 GLM_FUNC_DECL vec4 unpackSnorm4x8(uint const & p);
dummy.cpp 39 glm::vec4 emission; // Ecm
40 glm::vec4 ambient; // Acm
41 glm::vec4 diffuse; // Dcm
42 glm::vec4 specular; // Scm
48 glm::vec4 ambient; // Acli
49 glm::vec4 diffuse; // Dcli
50 glm::vec4 specular; // Scli
51 glm::vec4 position; // Ppli
52 glm::vec4 halfVector; // Derived: Hi
85 #include <glm/vec4.hpp> // glm::vec4, glm::ivec4
    [all...]
  /external/libgdx/tests/gdx-tests-android/assets/data/g3d/shaders/
g_attributes.glsl 51 varying vec4 v_position;
54 vec4 g_position = vec4(a_position, 1.0);
57 vec4 g_position = vec4(0.0, 0.0, 0.0, 1.0);
68 varying vec4 v_position;
69 vec4 g_position = vec4(0.0, 0.0, 0.0, 1.0);
78 varying vec4 v_color;
81 vec4 g_color = a_color
    [all...]
  /external/chromium-trace/catapult/tracing/third_party/gl-matrix/src/
gl-matrix.js 37 exports.vec4 = require("./gl-matrix/vec4.js")
  /external/libvpx/libvpx/vpx_dsp/mips/
fwd_dct32x32_msa.c 61 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local
72 vec4, vec5, vec6, vec7, in8, in9, in10, in11);
75 ADD4(vec0, vec7, vec1, vec6, vec2, vec5, vec3, vec4, in0, in1, in2, in3);
87 SUB4(vec0, vec7, vec1, vec6, vec2, vec5, vec3, vec4, vec7, vec6, vec5, vec4);
89 ADD2(vec4, vec5, vec7, vec6, vec0, vec1);
95 SUB2(vec4, vec5, vec7, vec6, vec4, vec7);
96 DOTP_CONST_PAIR(vec7, vec4, cospi_12_64, cospi_20_64, temp1, temp0);
102 DOTP_CONST_PAIR(in12, in11, cospi_16_64, cospi_16_64, vec3, vec4);
134 v8i16 in24, in25, in26, in27, in28, in29, in30, in31, vec4, vec5; local
292 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local
397 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, temp0, temp1; local
470 v8i16 in24, in25, in26, in27, in28, in29, in30, in31, vec4, vec5; local
702 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, temp0, temp1; local
781 v8i16 vec4, vec5; local
    [all...]
  /cts/tests/openglperf2/assets/fragment/
blur 31 vec4 color = vec4(0.0, 0.0, 0.0, 0.0);

Completed in 251 milliseconds

1 2 3 4