/external/autotest/client/deps/glbench/src/ |
H A D | 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);
|
H A D | 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);
|
H A D | 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);
|
H A D | yuv2rgb_3.glslf | 58 vec4 channels = vec4(yChannel, uChannel, vChannel, 1.0);
|
H A D | yuv2rgb_4.glslf | 55 vec4 channels = vec4(yChannel, uvChannel, 1.0);
|
H A D | yuv2rgb_1.glslf | 61 varying vec4 v1; 178 vec4 channels = vec4(yChannel, uChannel, vChannel, 1.0);
|
H A D | yuv2rgb_2.glslf | 66 vec4 channels = vec4(yChannel, uChannel, vChannel, 1.0);
|
/external/clang/test/Sema/ |
H A D | 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 [all...] |
H A D | ext_vector_casts.c | 18 float4 vec4, vec4_2; local 26 vec4 += vec3; // expected-error {{cannot convert between vector values of different size}} 28 vec4 = 5.0f; 29 vec4 = (float4)5.0f; 30 vec4 = (float4)5; 31 vec4 = (float4)vec4_3; 42 vec4 = (float4)vec2; // expected-error {{invalid conversion between ext-vector type 'float4' (vector of 4 'float' values) and 'float2' (vector of 2 'float' values)}} 46 vec4 /= 5.2f; 47 vec4 %= 4; // expected-error {{invalid operands to binary expression ('float4' (vector of 4 'float' values) and 'int')}} 49 ivec4 += vec4; // expecte [all...] |
/external/vulkan-validation-layers/demos/ |
H A D | cube.vert | 26 vec4 position[12*3]; 27 vec4 attr[12*3]; 30 layout (location = 0) out vec4 texcoord;
|
H A D | cube.frag | 26 layout (location = 0) in vec4 texcoord; 27 layout (location = 0) out vec4 uFragColor;
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
H A D | int_10_10_10_2.hpp | 38 GLM_DEPRECATED GLM_FUNC_DECL dword uint10_10_10_2_cast(glm::vec4 const & v);
|
/external/eigen/unsupported/test/ |
H A D | cxx11_tensor_mixed_indices.cpp | 31 TensorMap<Tensor<float, 1, ColMajor, int>> vec4(data4, 6); 32 vec4 = vec2.square(); 41 VERIFY_IS_APPROX(vec4(0), 0.0f); 42 VERIFY_IS_APPROX(vec4(1), 1.0f); 43 VERIFY_IS_APPROX(vec4(2), 2.0f * 2.0f); 44 VERIFY_IS_APPROX(vec4(3), 3.0f * 3.0f); 45 VERIFY_IS_APPROX(vec4(4), 4.0f * 4.0f); 46 VERIFY_IS_APPROX(vec4(5), 5.0f * 5.0f);
|
H A D | cxx11_tensor_fixed_size.cpp | 76 TensorFixedSize<float, Sizes<6>, RowMajor> vec4 = vec2.sqrt(); local 90 VERIFY_IS_APPROX(vec4(0), sqrtf(0.0)); 91 VERIFY_IS_APPROX(vec4(1), sqrtf(1.0)); 92 VERIFY_IS_APPROX(vec4(2), sqrtf(2.0)); 93 VERIFY_IS_APPROX(vec4(3), sqrtf(3.0)); 94 VERIFY_IS_APPROX(vec4(4), sqrtf(4.0)); 95 VERIFY_IS_APPROX(vec4(5), sqrtf(5.0));
|
H A D | cxx11_tensor_map.cpp | 41 TensorMap<Tensor<const int, 1, RowMajor> > vec4(vec2.data(), 6); 61 VERIFY_IS_EQUAL(vec4(0), 0); 62 VERIFY_IS_EQUAL(vec4(1), 1); 63 VERIFY_IS_EQUAL(vec4(2), 2); 64 VERIFY_IS_EQUAL(vec4(3), 3); 65 VERIFY_IS_EQUAL(vec4(4), 4); 66 VERIFY_IS_EQUAL(vec4(5), 5);
|
/external/vulkan-validation-layers/libs/glm/gtc/ |
H A D | 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 unpackUnorm4x1 [all...] |
/external/vulkan-validation-layers/libs/glm/detail/ |
H A D | 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);
|
H A D | dummy.cpp | 39 glm::vec4 emission; // Ecm 40 glm::vec4 ambient; // Acm 41 glm::vec4 diffuse; // Dcm 42 glm::vec4 specular; // Scm 47 glm::vec4 ambient; // Acli 48 glm::vec4 diffuse; // Dcli 49 glm::vec4 specular; // Scli 50 glm::vec4 position; // Ppli 51 glm::vec4 halfVector; // Derived: Hi 83 #include <glm/vec4 [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
H A D | fwd_dct32x32_msa.c | 61 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 71 BUTTERFLY_8(in4, in5, in6, in7, in8, in9, in10, in11, vec4, vec5, vec6, vec7, 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 290 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 394 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, temp0, temp1; local 466 v8i16 in24, in25, in26, in27, in28, in29, in30, in31, vec4, vec5; local 697 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, temp0, temp1; local 775 v8i16 vec4, vec5; local [all...] |
/external/clang/test/CodeGen/ |
H A D | ext-vector.c | 21 float4 vec4, vec4_2; variable 31 vec2 = vec4.xy; // shorten 33 vec4 = vec4.yyyy; // splat 312 vec4_2 = vec4.abgr + vec4; 315 vec2 = vec4.rg; 317 vec2_2 = vec4.ba; 319 f = vec4.b; 333 vec4 [all...] |
H A D | vector.c | 15 typedef float vec4 __attribute__((vector_size(16))); typedef 17 void test3 ( vec4* a, char b, float c ) {
|
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/ |
H A D | SkinnedVertShader.vsh | 29 attribute mediump vec4 inBoneIndex; 30 attribute mediump vec4 inBoneWeights; 50 mediump vec4 boneWeights = inBoneWeights; 55 highp vec4 position = boneMatrix * vec4(inVertex, 1.0) * boneWeights.x; 78 position += boneMatrix * vec4(inVertex, 1.0) * boneWeights.x;
|
/external/deqp/external/openglcts/modules/gl/ |
H A D | gl4cShaderSubroutineTests.hpp | 163 struct vec4 struct in class:gl4cts::ShaderSubroutine::Utils 165 vec4() function in struct:gl4cts::ShaderSubroutine::Utils::vec4 169 vec4(T x, T y, T z, T w) : m_x(x), m_y(y), m_z(z), m_w(w) function in struct:gl4cts::ShaderSubroutine::Utils::vec4 173 bool operator==(const vec4& val) const 464 const glw::GLchar** uniform_names, const Utils::vec4<glw::GLfloat> data[5], 493 const Utils::vec4<glw::GLfloat> input_data[3], const Utils::vec4<glw::GLfloat>& first_routine_result, 494 const Utils::vec4<glw::GLfloat>& second_routine_result, 495 const Utils::vec4<glw::GLfloat>& third_routine_result, 496 const Utils::vec4<gl [all...] |
H A D | gl4cShaderImageLoadStoreTests.cpp | 46 typedef tcu::Vec4 vec4; typedef in namespace:gl4cts::__anon4144 188 inline bool ColorEqual(const vec4& c0, const vec4& c1, const vec4& epsilon) 201 bool IsEqual(vec4 a, vec4 b) 206 bool Equal(const vec4& v0, const vec4& v1, GLenum internalformat) 210 return ColorEqual(v0, v1, vec4(0.0001f)); 214 return ColorEqual(v0, v1, vec4(0.0 [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_eu_util.c | 59 dst = vec4(dst); 60 src = vec4(src); 112 dst = vec4(dst);
|