/external/eigen/Eigen/src/Core/arch/CUDA/ |
D | PacketMath.h | 21 template<> struct is_arithmetic<float4> { enum { value = true }; }; 26 typedef float4 type; 27 typedef float4 half; 85 template<> struct unpacket_traits<float4> { typedef float type; enum {size=4, alignment=Aligned16… 88 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pset1<float4>(const float& from) { 96 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 plset<float4>(const float& a) { 103 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 padd<float4>(const float4& a, const float4&… 110 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 psub<float4>(const float4& a, const float4&… 117 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pnegate(const float4& a) { 124 template<> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE float4 pconj(const float4& a) { return a; } [all …]
|
D | MathFunctions.h | 22 float4 plog<float4>(const float4& a) 35 float4 plog1p<float4>(const float4& a) 47 float4 pexp<float4>(const float4& a) 60 float4 psqrt<float4>(const float4& a) 73 float4 prsqrt<float4>(const float4& a)
|
/external/eigen/unsupported/Eigen/src/SpecialFunctions/arch/CUDA/ |
D | CudaSpecialFunctions.h | 23 float4 plgamma<float4>(const float4& a) 36 float4 pdigamma<float4>(const float4& a) 50 float4 pzeta<float4>(const float4& x, const float4& q) 64 float4 ppolygamma<float4>(const float4& n, const float4& x) 78 float4 perf<float4>(const float4& a) 91 float4 perfc<float4>(const float4& a) 106 float4 pigamma<float4>(const float4& a, const float4& x) 124 float4 pigammac<float4>(const float4& a, const float4& x) 142 float4 pbetainc<float4>(const float4& a, const float4& b, const float4& x)
|
/external/clang/test/SemaOpenCL/ |
D | vector_literals_const.cl | 18 typedef float float4 __attribute((ext_vector_type(4))); 20 __constant float4 f_1_1_1_1 = (float4)(1,2,3,4); 21 __constant float4 f_2_1_1 = (float4)((float2)(1,2),3,4); 22 __constant float4 f_1_2_1 = (float4)(1,(float2)(2,3),4); 23 __constant float4 f_1_1_2 = (float4)(1,2,(float2)(3,4)); 24 __constant float4 f_2_2 = (float4)((float2)(1,2),(float2)(3,4)); 25 __constant float4 f_3_1 = (float4)((float3)(1,2,3),4); 26 __constant float4 f_1_3 = (float4)(1,(float3)(2,3,4));
|
D | vector_literals_invalid.cl | 3 typedef __attribute__(( ext_vector_type(4) )) float float4; 11 ((float4)(1.0f))++; // expected-error{{cannot increment value of type 'float4'}} 12 …int8 d = (int8)(a,(float4)(1)); // expected-error{{initializing 'int' with an expression of incomp…
|
/external/swiftshader/src/Shader/ |
D | Constants.hpp | 31 float4 uvWeight[17]; 32 float4 uvStart[17]; 81 float4 sampleX[4][16]; 82 float4 sampleY[4][16]; 83 float4 weight[16]; 89 float4 X[4]; 90 float4 Y[4]; 102 float4 unscaleByte; 103 float4 unscaleSByte; 104 float4 unscaleShort; [all …]
|
D | Constants.cpp | 113 static const float4 uvWeight[17] = in Constants() 134 static const float4 uvStart[17] = in Constants() 323 static const float4 X[4] = {{-0.3125f, -0.3125f, -0.3125f, -0.3125f}, in Constants() 328 static const float4 Y[4] = {{-0.1250f, -0.1250f, -0.1250f, -0.1250f}, in Constants() 356 static const float4 unscaleByte = {1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF, 1.0f / 0xFF}; in Constants() 357 static const float4 unscaleSByte = {1.0f / 0x7F, 1.0f / 0x7F, 1.0f / 0x7F, 1.0f / 0x7F}; in Constants() 358 static const float4 unscaleShort = {1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF, 1.0f / 0x7FFF}; in Constants() 359 static const float4 unscaleUShort = {1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF, 1.0f / 0xFFFF}; in Constants() 360 …static const float4 unscaleInt = {1.0f / 0x7FFFFFFF, 1.0f / 0x7FFFFFFF, 1.0f / 0x7FFFFFFF, 1.0f / … in Constants() 361 …static const float4 unscaleUInt = {1.0f / 0xFFFFFFFF, 1.0f / 0xFFFFFFFF, 1.0f / 0xFFFFFFFF, 1.0f /… in Constants() [all …]
|
/external/clang/test/CodeGen/ |
D | ext-vector.c | 3 typedef __attribute__(( ext_vector_type(4) )) float float4; typedef 9 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 }; 12 const float4 bar = (float4){ 1.0, 2.0, 3.0, __builtin_inff() }; 16 float4 test1(float4 V) { in test1() 21 float4 vec4, vec4_2; 41 void test3(float4 *out) { in test3() 42 *out = ((float4) {1.0f, 2.0f, 3.0f, 4.0f }); in test3() 48 void test4(float4 *out) { in test4() 53 *out = ((float4) {a,b,c,d}); in test4() 62 void test5(float4 *out) { in test5() [all …]
|
D | builtinshufflevector2.c | 3 typedef float float4 __attribute__((ext_vector_type(4))); typedef 7 void clang_shufflevector_v_v( float4* A, float4 x, uint4 mask ) { in clang_shufflevector_v_v() 31 void clang_shufflevector_v_v_c( float4* A, float4 x, float4 y) { in clang_shufflevector_v_v_c() 38 void clang_shufflevector_v_v_undef( float4* A, float4 x, float4 y) { in clang_shufflevector_v_v_undef()
|
/external/clang/test/Sema/ |
D | vector-init.c | 4 typedef float float4 __attribute__((vector_size(16))); typedef 6 float4 foo = (float4){ 1.0, 2.0, 3.0, 4.0 }; 8 float4 foo2 = (float4){ 1.0, 2.0, 3.0, 4.0 , 5.0 }; // expected-warning{{excess elements in vector … 10 float4 array[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0}; 11 int array_sizecheck[(sizeof(array) / sizeof(float4)) == 3 ? 1 : -1]; 13 float4 array2[2] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 16 float4 array3[2] = { {1.0, 2.0, 3.0}, 5.0, 6.0, 7.0, 8.0, 34 int test2[sizeof(float3) == sizeof(float4) ? 1 : -1];
|
/external/clang/test/CodeGenCXX/ |
D | vector-splat-conversion.cpp | 21 typedef __attribute__((__ext_vector_type__(4))) float float4; typedef 31 float4 floatsT = (float4)true; in BoolConversion() 33 float4 floatsF = (float4)false; in BoolConversion() 44 constexpr float4 cFloatsT = (float4)true; in BoolConversion() 46 constexpr float4 cFloatsF = (float4)false; in BoolConversion()
|
D | 2007-05-03-VectorInit.cpp | 6 typedef v4sf float4; typedef 8 static float4 splat4(float a) in splat4() 10 float4 tmp = {a,a,a,a}; in splat4() 14 float4 foo(float a) in foo()
|
/external/clang/test/CodeGenOpenCL/ |
D | logical-ops.cl | 7 typedef float float4 __attribute((ext_vector_type(4))); 11 kernel void floatops(global int4 *out, global float4 *fout) { 13 out[0] = (float4)(1, 1, 1, 1) && 1.0f; 15 out[1] = (float4)(0, 0, 0, 0) && (float4)(0, 0, 0, 0); 18 out[2] = (float4)(0, 0, 0, 0) || (float4)(1, 1, 1, 1); 20 out[3] = (float4)(0, 0, 0, 0) || 0.0f; 23 out[4] = !(float4)(0, 0, 0, 0); 25 out[5] = !(float4)(1, 2, 3, 4); 27 out[6] = !(float4)(0, 1, 0, 1); 29 fout[0] = (float4)(!0.0f); [all …]
|
D | ext-vector-shuffle.cl | 6 typedef __attribute__(( ext_vector_type(4) )) float float4; 8 float2 test1(float4 V) { 12 float4 test2(float4 V) { 17 float4 test3(float4 V1, float4 V2) { return (float4)(V1.zw, V2.xy); }
|
D | vector_literals_nested.cl | 12 typedef float float4 __attribute((ext_vector_type(4))); 14 void ftest1(float4 *p) { 15 *p = (float4)(1.1f, 1.2f, ((float2)(1.3f, 1.4f))); 19 float4 ftest2(float4 *p) { 20 *p = (float4)(1.1f, 1.2f, ((float2)(1.3f)));
|
/external/swiftshader/src/OpenGL/compiler/ |
D | Initialize.cpp | 30 TType *float4 = new TType(EbtFloat, 4); in InsertBuiltInFunctions() local 119 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpModf, float4, "modf", float4, outFloat4); in InsertBuiltInFunctions() 172 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat4, "outerProduct", float4, float4); in InsertBuiltInFunctions() 175 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat2x4, "outerProduct", float4, float2); in InsertBuiltInFunctions() 176 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat4x2, "outerProduct", float2, float4); in InsertBuiltInFunctions() 177 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat3x4, "outerProduct", float4, float3); in InsertBuiltInFunctions() 178 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat4x3, "outerProduct", float3, float4); in InsertBuiltInFunctions() 239 symbolTable.insertBuiltIn(ESSL1_BUILTINS, float4, "texture2D", sampler2D, float2); in InsertBuiltInFunctions() 240 symbolTable.insertBuiltIn(ESSL1_BUILTINS, float4, "texture2DProj", sampler2D, float3); in InsertBuiltInFunctions() 241 symbolTable.insertBuiltIn(ESSL1_BUILTINS, float4, "texture2DProj", sampler2D, float4); in InsertBuiltInFunctions() [all …]
|
/external/llvm/test/CodeGen/ARM/ |
D | inline-diagnostics.ll | 3 %struct.float4 = type { float, float, float, float } 7 %c1 = alloca %struct.float4, align 4 8 %c2 = alloca %struct.float4, align 4 9 %c3 = alloca %struct.float4, align 4 10 …l.f32 ${2:q}, ${0:q}, ${1:q}", "=*r,=*r,*w"(%struct.float4* %c1, %struct.float4* %c2, %struct.floa… 11 %x = getelementptr inbounds %struct.float4, %struct.float4* %c3, i32 0, i32 0
|
/external/swiftshader/src/Renderer/ |
D | VertexProcessor.hpp | 151 float4 transformT[12][4]; 152 float4 cameraTransformT[12][4]; 153 float4 normalTransformT[12][4]; 154 float4 textureTransform[8][4]; 156 float4 lightPosition[8]; 157 float4 lightAmbient[8]; 158 float4 lightSpecular[8]; 159 float4 lightDiffuse[8]; 160 float4 attenuationConstant[8]; 161 float4 attenuationLinear[8]; [all …]
|
D | Polygon.hpp | 24 Polygon(const float4 *P0, const float4 *P1, const float4 *P2) in Polygon() 35 Polygon(const float4 *P, int n) in Polygon() 47 float4 B[16]; // Buffer for clipped vertices 48 const float4 *P[16][16]; // Pointers to clipped polygon's vertices
|
D | Clipper.cpp | 32 unsigned int Clipper::computeClipFlags(const float4 &v) in computeClipFlags() 85 const float4 **V = polygon.P[polygon.i]; in clipNear() 86 const float4 **T = polygon.P[polygon.i + 1]; in clipNear() 123 const float4 **V = polygon.P[polygon.i]; in clipFar() 124 const float4 **T = polygon.P[polygon.i + 1]; in clipFar() 161 const float4 **V = polygon.P[polygon.i]; in clipLeft() 162 const float4 **T = polygon.P[polygon.i + 1]; in clipLeft() 199 const float4 **V = polygon.P[polygon.i]; in clipRight() 200 const float4 **T = polygon.P[polygon.i + 1]; in clipRight() 237 const float4 **V = polygon.P[polygon.i]; in clipTop() [all …]
|
D | Renderer.hpp | 127 …float4 c[VERTEX_UNIFORM_VECTORS + 1]; // One extra for indices out of range, c[VERTEX_UNIFORM_VE… 141 float4 c[FRAGMENT_UNIFORM_VECTORS]; 172 float4 Wx16; 173 float4 Hx16; 174 float4 X0x16; 175 float4 Y0x16; 176 float4 XXXX; 177 float4 YYYY; 178 float4 halfPixelX; 179 float4 halfPixelY; [all …]
|
D | Primitive.hpp | 32 float4 A; 33 float4 B; 34 float4 C; 42 float4 xQuad; 43 float4 yQuad;
|
D | Sampler.hpp | 41 float4 fWidth; 42 float4 fHeight; 43 float4 fDepth; 62 float4 widthHeightLOD; 63 float4 widthLOD; 64 float4 heightLOD; 65 float4 depthLOD; 68 float4 borderColorF[4];
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/ |
D | d3d11tex.hlsl | 34 float4 position : POSITION; 40 float4 position : SV_POSITION; 42 float4 factors : FACTORS; 55 float4 ps(VS2PS input) : SV_TARGET 57 float4 a0 = tex0.Sample(samp0, input.texcoord); 58 float4 a1 = tex0.Sample(samp1, input.texcoord); 59 float4 a = a0 * input.factors.z + a1 * input.factors.x; 61 float4 b0 = tex1.Sample(samp0, input.texcoord); 62 float4 b1 = tex1.Sample(samp1, input.texcoord); 63 float4 b = b0 * input.factors.z + b1 * input.factors.x;
|
/external/swiftshader/src/Common/ |
D | Types.hpp | 90 ALIGN(16, struct float4 107 bool operator!=(const float4 &rhs) 112 bool operator==(const float4 &rhs) 118 inline float4 vector(float x, float y, float z, float w) in vector() 120 float4 v; in vector() 130 inline float4 replicate(float f) in replicate() 132 float4 v; in replicate()
|