/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/ |
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;
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
shadertoy_shader.cpp | 88 gl_Position = vec4(pos.xy, 0.0, 1.0);
96 uniform vec4 iMouse;
101 vec4 texture2DGrad(sampler2D s, in vec2 uv, vec2 gx, vec2 gy) { return texture2D(s, uv); }
102 vec4 texture2DLod(sampler2D s, in vec2 uv, in float lod) { return texture2D(s, uv); }
103 void mainImage(out vec4 c, in vec2 f);
108 vec4 shader_color = vec4(0, 0, 0, 1);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_eu_util.c | 59 dst = vec4(dst); 60 src = vec4(src); 112 dst = vec4(dst);
|
/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/eigen/unsupported/test/ |
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));
|
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);
|
cxx11_tensor_assign.cpp | 33 TensorMap<Tensor<int, 1, RowMajor> > vec4(row_major, 6); 36 vec4 = vec2; 45 VERIFY_IS_EQUAL(vec4(0), 0); 46 VERIFY_IS_EQUAL(vec4(1), 1); 47 VERIFY_IS_EQUAL(vec4(2), 2); 48 VERIFY_IS_EQUAL(vec4(3), 3); 49 VERIFY_IS_EQUAL(vec4(4), 4); 50 VERIFY_IS_EQUAL(vec4(5), 5); 55 vec2 = vec4;
|
cxx11_tensor_simple.cpp | 51 Tensor<int, 1, RowMajor> vec4; local 54 vec4.resize(6); 62 vec4.setZero(); 89 VERIFY_IS_EQUAL((vec4[0]), 0); 90 VERIFY_IS_EQUAL((vec4[1]), 0); 91 VERIFY_IS_EQUAL((vec4[2]), 0); 92 VERIFY_IS_EQUAL((vec4[3]), 0); 93 VERIFY_IS_EQUAL((vec4[4]), 0); 94 VERIFY_IS_EQUAL((vec4[5]), 0);
|
cxx11_tensor_expr.cpp | 33 TensorMap<Tensor<float, 1, RowMajor>> vec4(data4, 6); 34 vec4 = vec2.square(); 46 VERIFY_IS_APPROX(vec4(0), 0.0f); 47 VERIFY_IS_APPROX(vec4(1), 1.0f); 48 VERIFY_IS_APPROX(vec4(2), 2.0f * 2.0f); 49 VERIFY_IS_APPROX(vec4(3), 3.0f * 3.0f); 50 VERIFY_IS_APPROX(vec4(4), 4.0f * 4.0f); 51 VERIFY_IS_APPROX(vec4(5), 5.0f * 5.0f);
|
/external/vulkan-validation-layers/demos/ |
linmath.h | 74 typedef float vec4[4]; typedef 75 static inline void vec4_add(vec4 r, vec4 const a, vec4 const b) { 80 static inline void vec4_sub(vec4 r, vec4 const a, vec4 const b) { 85 static inline void vec4_scale(vec4 r, vec4 v, float s) { 90 static inline float vec4_mul_inner(vec4 a, vec4 b) [all...] |
/frameworks/native/libs/math/tests/ |
mat_test.cpp | 71 mat4 m2(vec4(2)); 78 mat4 m4(vec4(1), vec4(2), vec4(3), vec4(4)); 84 mat4 m2(vec4(2)); 107 EXPECT_EQ(mat4(vec4(-1, 0, 0, 0), 108 vec4(0, -1, 0, 0), 109 vec4(0, 0, -1, 0), 110 vec4(0, 0, 0, -1)), m0) [all...] |
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
types.h | 34 using vec4 = vec4f;
|
/cts/tests/openglperf2/assets/fragment/ |
water | 35 gl_FragColor = vec4(1.0 - diffuse, 1.0 - diffuse, 1.0, 1.0 - (diffuse * 0.9));// Semi transparent blue.
|
/external/clang/test/SemaCXX/ |
references.cpp | 117 __attribute((vector_size(16))) typedef int vec4; typedef 120 vec4 v;
|
/hardware/interfaces/sensors/1.0/default/ |
convert.cpp | 105 dst->u.vec4.x = src.data[0]; 106 dst->u.vec4.y = src.data[1]; 107 dst->u.vec4.z = src.data[2]; 108 dst->u.vec4.w = src.data[3]; 249 dst->data[0] = src.u.vec4.x; 250 dst->data[1] = src.u.vec4.y; 251 dst->data[2] = src.u.vec4.z; 252 dst->data[3] = src.u.vec4.w;
|
/external/deqp/modules/glshared/ |
glsAttributeLocationTests.cpp | 156 src << "vec4(" << variableName << ".xy, " << variableName << ".yx)"; 162 src << "vec4(" << variableName << ".xyz, " << variableName << ".x)"; 166 src << "vec4(" << variableName << ")"; 232 "${VTX_OUTPUT} mediump vec4 v_color;\n"; 241 "\tmediump vec4 color = vec4(0.0);\n" 270 ? "layout(location=0) out mediump vec4 dEQP_FragColor;" 281 "${FRAG_INPUT} mediump vec4 v_color;\n" 301 ? "layout(location=0) out mediump vec4 dEQP_FragColor;" 885 attributes.push_back(Attribute(AttribType("vec4", 1, GL_FLOAT_VEC4), "a_1", Attribute::LOC_UNDEF, Cond("A", false))) [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
vpx_convolve8_avg_horiz_msa.c | 147 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 167 VSHF_B4_SH(src0, src0, mask0, mask1, mask2, mask3, vec0, vec4, vec8, vec12); 177 DPADD_SB4_SH(vec4, vec5, vec6, vec7, filt1, filt1, filt1, filt1, vec0, vec1, 201 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 223 VSHF_B4_SH(src0, src0, mask0, mask1, mask2, mask3, vec0, vec4, vec8, vec12); 233 DPADD_SB4_SH(vec4, vec5, vec6, vec7, filt1, filt1, filt1, filt1, vec0, vec1, 256 v8i16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 278 VSHF_B4_SH(src0, src0, mask0, mask1, mask2, mask3, vec0, vec4, vec8, 290 DPADD_SB4_SH(vec4, vec5, vec6, vec7, filt1, filt1, filt1, filt1, vec0, 340 v8u16 vec4, vec5, vec6, vec7, filt local 484 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 551 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 600 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local [all...] |
vpx_convolve8_avg_vert_msa.c | 358 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, filt0; local 376 ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, vec4, vec5, vec6, 385 DOTP_UB4_UH(vec4, vec5, vec6, vec7, filt0, filt0, filt0, filt0, tmp0, tmp1, 414 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 436 ILVR_B2_UB(src3, src2, src4, src3, vec4, vec6); 443 DOTP_UB2_UH(vec4, vec5, filt0, filt0, tmp0, tmp1); 464 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, filt0; local 492 ILVR_B2_UB(src3, src2, src4, src3, vec4, vec6); 494 DOTP_UB2_UH(vec4, vec5, filt0, filt0, tmp0, tmp1); 512 ILVR_B2_UB(src8, src7, src9, src8, vec4, vec6) 536 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local [all...] |
vpx_convolve8_horiz_msa.c | 344 v8u16 vec4, vec5, vec6, vec7, filt; local 355 DOTP_UB4_UH(vec0, vec1, vec2, vec3, filt0, filt0, filt0, filt0, vec4, vec5, 357 SRARI_H4_UH(vec4, vec5, vec6, vec7, FILTER_BITS); 358 PCKEV_B4_SB(vec4, vec4, vec5, vec5, vec6, vec6, vec7, vec7, res0, res1, res2, 476 v16u8 filt0, vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 493 VSHF_B2_UB(src4, src4, src5, src5, mask, mask, vec4, vec5); 497 DOTP_UB4_UH(vec4, vec5, vec6, vec7, filt0, filt0, filt0, filt0, out4, out5, 517 VSHF_B2_UB(src4, src4, src5, src5, mask, mask, vec4, vec5); 521 DOTP_UB4_UH(vec4, vec5, vec6, vec7, filt0, filt0, filt0, filt0, out4, out5 541 v16u8 filt0, vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 586 v16u8 filt0, vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local [all...] |
vpx_convolve8_vert_msa.c | 394 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, filt0; local 412 ILVR_B4_UB(src5, src4, src6, src5, src7, src6, src8, src7, vec4, vec5, vec6, 421 DOTP_UB4_UH(vec4, vec5, vec6, vec7, filt0, filt0, filt0, filt0, tmp0, tmp1, 447 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, filt0; local 469 ILVR_B2_UB(src3, src2, src4, src3, vec4, vec6); 476 DOTP_UB2_UH(vec4, vec5, filt0, filt0, tmp0, tmp1); 495 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, filt0; local 522 ILVR_B2_UB(src3, src2, src4, src3, vec4, vec6); 524 DOTP_UB2_UH(vec4, vec5, filt0, filt0, tmp0, tmp1); 542 ILVR_B2_UB(src8, src7, src9, src8, vec4, vec6) 563 v16u8 src11, vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, filt0; local [all...] |
/external/libyuv/files/source/ |
row_msa.cc | 478 v8i16 vec0, vec1, vec2, vec3, vec4, vec5; local 505 vec3, vec4, vec5); 507 reg2 = (v16u8)__msa_ilvev_b((v16i8)vec4, (v16i8)vec3); 825 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; local 986 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 1020 v16u8 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; local 1086 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 1236 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7, vec8, vec9; local 1432 v16u8 src0, src1, dst0, dst1, vec0, vec1, vec2, vec3, vec4, vec5; local 1505 v8u16 vec0, vec1, vec2, vec3, vec4, vec5; local 1552 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5; local 1647 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5; local 1704 v8u16 src0, src1, vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 1857 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6; local 1938 v8u16 vec0, vec1, vec2, vec3, vec4, vec5; local 2019 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local 2124 v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7; local [all...] |
/external/mesa3d/src/amd/vulkan/ |
radv_meta_blit.c | 37 const struct glsl_type *vec4 = glsl_vec4_type(); local 44 vec4, "a_pos"); 47 vec4, "gl_Position"); 52 vec4, "a_tex_pos"); 55 vec4, "v_tex_pos"); 67 const struct glsl_type *vec4 = glsl_vec4_type(); local 76 vec4, "v_tex_pos"); 89 glsl_get_base_type(vec4)); 110 vec4, "f_color"); 121 const struct glsl_type *vec4 = glsl_vec4_type() local 175 const struct glsl_type *vec4 = glsl_vec4_type(); local [all...] |
/external/clang/test/CodeGenCXX/ |
references.cpp | 60 __attribute((vector_size(16))) typedef int vec4; typedef 61 f((vec4){1,2,3,4}[0]);
|
/external/skia/src/gpu/effects/ |
GrCircleEffect.fp | 16 uniform vec4 circle;
|
/frameworks/native/services/surfaceflinger/Effects/ |
Daltonizer.cpp | 83 const vec3 lms_w((rgb2lms * vec4(1)).rgb);
|