/external/deqp-deps/glslang/Test/ |
D | hlsl.samplegrad.basic.dx10.vert | 38 …float4 txval30 = g_tTex3df4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 39 …int4 txval31 = g_tTex3di4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 40 …uint4 txval32 = g_tTex3du4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl… 42 …float4 txval40 = g_tTexcdf4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 43 …int4 txval41 = g_tTexcdi4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 44 …uint4 txval42 = g_tTexcdu4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl…
|
D | hlsl.samplegrad.basic.dx10.frag | 39 …float4 txval30 = g_tTex3df4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 40 …int4 txval31 = g_tTex3di4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 41 …uint4 txval32 = g_tTex3du4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl… 43 …float4 txval40 = g_tTexcdf4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 44 …int4 txval41 = g_tTexcdi4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 45 …uint4 txval42 = g_tTexcdu4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl…
|
D | hlsl.init2.frag | 26 const float3 a[8] = { 27 normalize(float3(1, 1, 1)) * (n += step), 28 normalize(float3(-1, -1, -1)) * (n += step), 29 normalize(float3(-1, -1, 1)) * (n += step), 30 normalize(float3(-1, 1, -1)) * (n += step), 31 normalize(float3(-1, 1, 1)) * (n += step), 32 normalize(float3(1, -1, -1)) * (n += step), 33 normalize(float3(1, -1, 1)) * (n += step), 34 normalize(float3(1, 1, -1)) * (n += step) }; 36 const struct one { float3 a; } oneNonConst = { normalize(float3(-1, 1, 1)) * (n += step) }; [all …]
|
D | hlsl.intrinsics.frag | 178 float3 PixelShaderFunction3(float3 inF0, float3 inF1, float3 inF2, uint3 inU0, uint3 inU1) 183 float3 r001 = abs(inF0); 184 float3 r002 = acos(inF0); 186 float3 r004 = asin(inF0); 189 float3 r007 = asfloat(inU0); 191 float3 r009 = atan(inF0); 192 float3 r010 = atan2(inF0, inF1); 193 float3 r011 = ceil(inF0); 194 float3 r012 = clamp(inF0, inF1, inF2); 197 float3 r013 = cos(inF0); [all …]
|
D | hlsl.gs-hs-mix.tesc | 7 float3 color; 8 float3 view_dir; 9 float3 tess_factor; 16 float3 PositionWS : POSITION; 17 float3 NormalWS : NORMAL; 21 float3 PositionWS : POSITION; 27 float3 NormalWS[3] : NORMAL; 32 float3 roundedEdgeTessFactor = tess_factor; 71 float3 PositionWS : POSITION; 72 float3 NormalWS : NORMAL; [all …]
|
D | hlsl.samplegrad.array.dx10.frag | 31 …float4 txval20 = g_tTex2df4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float2(1.1, 1.2), float2(… 32 …int4 txval21 = g_tTex2di4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float2(1.1, 1.2), float2(… 33 …uint4 txval22 = g_tTex2du4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float2(1.1, 1.2), float2(… 35 … g_tTexcdf4 . SampleGrad(g_sSamp, float4(0.1, 0.2, 0.3, 0.4), float3(1.1, 1.2, 1.3), float3(1.1, 1… 36 … g_tTexcdi4 . SampleGrad(g_sSamp, float4(0.1, 0.2, 0.3, 0.4), float3(1.1, 1.2, 1.3), float3(1.1, 1… 37 … g_tTexcdu4 . SampleGrad(g_sSamp, float4(0.1, 0.2, 0.3, 0.4), float3(1.1, 1.2, 1.3), float3(1.1, 1…
|
D | hlsl.samplegrad.offset.dx10.frag | 39 …float4 txval30 = g_tTex3df4 . SampleGrad(g_sSamp, float3(0.1, 0.2, 0.3), float3(1.1, 1.2, 1.3), fl… 40 …int4 txval31 = g_tTex3di4 . SampleGrad(g_sSamp, float3(0.4, 0.5, 0.6), float3(1.1, 1.2, 1.3), fl… 41 …uint4 txval32 = g_tTex3du4 . SampleGrad(g_sSamp, float3(0.7, 0.8, 0.9), float3(1.1, 1.2, 1.3), fl…
|
D | hlsl.type.type.conversion.all.frag | 22 float3 var26 = float(zeros1); 23 float3 var28 = float3(zeros3); 47 float var2 = float3(zeros3);// warning X3206: implicit truncation of vector type 58 float2 var15 = float3(zeros3);// warning X3206: implicit truncation of vector type 60 float3 var29 = float4(zeros4);// warning X3206: implicit truncation of vector type 97 …float3 var27 = float2(zeros2);// Compilation failed because: error X3017: cannot implicitly conver… 98 …float3 var30 = float2x2(zeros4);// Compilation failed because: error X3017: cannot implicitly conv… 99 …float3 var31 = float2x3(zeros6);// Compilation failed because: error X3017: cannot implicitly conv… 100 …float3 var32 = float2x4(zeros8);// Compilation failed because: error X3017: cannot implicitly conv… 101 …float3 var33 = float3x2(zeros6);// Compilation failed because: error X3017: cannot implicitly conv… [all …]
|
D | hlsl.promotions.frag | 9 uniform float3 f3; 19 void Fn_F3(float3 x) { } 26 float3 Fn_R_F3I(out float3 p) { p = i3; return i3; } 27 float3 Fn_R_F3U(out float3 p) { p = u3; return u3; } 28 float3 Fn_R_F3B(out float3 p) { p = b3; return b3; } 29 float3 Fn_R_F3D(out float3 p) { p = d3; return d3; } // valid, but loss of precision on downconve… 54 float3 r00 = i3; 55 float3 r01 = b3; 56 float3 r02 = u3; 57 float3 r03 = d3; // valid, but loss of precision on downconversion.
|
D | hlsl.samplebias.basic.dx10.frag | 39 float4 txval30 = g_tTex3df4 . SampleBias(g_sSamp, float3(0.1, 0.2, 0.3), 0.5); 40 int4 txval31 = g_tTex3di4 . SampleBias(g_sSamp, float3(0.4, 0.5, 0.6), 0.5); 41 uint4 txval32 = g_tTex3du4 . SampleBias(g_sSamp, float3(0.7, 0.8, 0.9), 0.5); 43 float4 txval40 = g_tTexcdf4 . SampleBias(g_sSamp, float3(0.1, 0.2, 0.3), 0.5); 44 int4 txval41 = g_tTexcdi4 . SampleBias(g_sSamp, float3(0.4, 0.5, 0.6), 0.5); 45 uint4 txval42 = g_tTexcdu4 . SampleBias(g_sSamp, float3(0.7, 0.8, 0.9), 0.5);
|
D | hlsl.samplelevel.basic.dx10.vert | 38 float4 txval30 = g_tTex3df4 . SampleLevel(g_sSamp, float3(0.1, 0.2, 0.3), 0.75); 39 int4 txval31 = g_tTex3di4 . SampleLevel(g_sSamp, float3(0.4, 0.5, 0.6), 0.75); 40 uint4 txval32 = g_tTex3du4 . SampleLevel(g_sSamp, float3(0.7, 0.8, 0.9), 0.75); 42 float4 txval40 = g_tTexcdf4 . SampleLevel(g_sSamp, float3(0.1, 0.2, 0.3), 0.75); 43 int4 txval41 = g_tTexcdi4 . SampleLevel(g_sSamp, float3(0.4, 0.5, 0.6), 0.75); 44 uint4 txval42 = g_tTexcdu4 . SampleLevel(g_sSamp, float3(0.7, 0.8, 0.9), 0.75);
|
D | hlsl.samplelevel.basic.dx10.frag | 40 float4 txval30 = g_tTex3df4 . SampleLevel(g_sSamp, float3(0.1, 0.2, 0.3), 0.75); 41 int4 txval31 = g_tTex3di4 . SampleLevel(g_sSamp, float3(0.4, 0.5, 0.6), 0.75); 42 uint4 txval32 = g_tTex3du4 . SampleLevel(g_sSamp, float3(0.7, 0.8, 0.9), 0.75); 44 float4 txval40 = g_tTexcdf4 . SampleLevel(g_sSamp, float3(0.1, 0.2, 0.3), 0.75); 45 int4 txval41 = g_tTexcdi4 . SampleLevel(g_sSamp, float3(0.4, 0.5, 0.6), 0.75); 46 uint4 txval42 = g_tTexcdu4 . SampleLevel(g_sSamp, float3(0.7, 0.8, 0.9), 0.75);
|
D | hlsl.intrinsic.frexp.frag | 14 float3 PixelShaderFunction3(float3 inF0, float3 inF1) 16 float3 r000 = frexp(inF0, inF1); 17 return float3(1,2,3);
|
D | hlsl.matrixSwizzle.vert | 17 float3 f3; 19 m._21_12_31 = float3(5.0); 26 float3x3 createMat3x3(float3 a, float3 b, float3 c)
|
D | hlsl.rw.swizzle.frag | 1 RWTexture2D<float3> rwtx; 2 RWBuffer<float3> buf; 4 float3 SomeValue() { return float3(1,2,3); } 12 rwtx[tc2].zyx = float3(1,2,3); // full swizzle, simple RHS
|
D | remap.hlsl.sample.basic.none.frag | 78 float4 txval30 = g_tTex3df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3)); 79 int4 txval31 = g_tTex3di4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6)); 80 uint4 txval32 = g_tTex3du4 . Sample(g_sSamp, float3(0.7, 0.8, 0.9)); 82 float4 txval40 = g_tTexcdf4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3)); 83 int4 txval41 = g_tTexcdi4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6)); 84 uint4 txval42 = g_tTexcdu4 . Sample(g_sSamp, float3(0.7, 0.8, 0.9));
|
D | remap.hlsl.sample.basic.everything.frag | 78 float4 txval30 = g_tTex3df4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3)); 79 int4 txval31 = g_tTex3di4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6)); 80 uint4 txval32 = g_tTex3du4 . Sample(g_sSamp, float3(0.7, 0.8, 0.9)); 82 float4 txval40 = g_tTexcdf4 . Sample(g_sSamp, float3(0.1, 0.2, 0.3)); 83 int4 txval41 = g_tTexcdi4 . Sample(g_sSamp, float3(0.4, 0.5, 0.6)); 84 uint4 txval42 = g_tTexcdu4 . Sample(g_sSamp, float3(0.7, 0.8, 0.9));
|
/external/swiftshader/src/OpenGL/compiler/ |
D | Initialize.cpp | 29 TType *float3 = new TType(EbtFloat, 3); in InsertBuiltInFunctions() local 119 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpModf, float3, "modf", float3, outFloat3); in InsertBuiltInFunctions() 142 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpCross, float3, "cross", float3, float3); in InsertBuiltInFunctions() 172 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat3, "outerProduct", float3, float3); in InsertBuiltInFunctions() 174 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat2x3, "outerProduct", float3, float2); in InsertBuiltInFunctions() 175 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat3x2, "outerProduct", float2, float3); in InsertBuiltInFunctions() 178 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat3x4, "outerProduct", float4, float3); in InsertBuiltInFunctions() 179 symbolTable.insertBuiltIn(ESSL3_BUILTINS, EOpOuterProduct, mat4x3, "outerProduct", float3, float4); in InsertBuiltInFunctions() 241 symbolTable.insertBuiltIn(ESSL1_BUILTINS, float4, "texture2DProj", sampler2D, float3); in InsertBuiltInFunctions() 243 symbolTable.insertBuiltIn(ESSL1_BUILTINS, float4, "textureCube", samplerCube, float3); in InsertBuiltInFunctions() [all …]
|
/external/skqp/src/sksl/ |
D | sksl.inc | 131 float3 cross(float3 x, float3 y); 149 float3x3 outerProduct(float3 c, float3 r); 151 float2x3 outerProduct(float3 c, float2 r); 152 float3x2 outerProduct(float2 c, float3 r); 155 float3x4 outerProduct(float4 c, float3 r); 156 float4x3 outerProduct(float3 c, float4 r); 260 float2 textureQueryLod($gsampler3D sampler, float3 P); 261 float2 textureQueryLod($gsamplerCube sampler, float3 P); 264 float2 textureQueryLod($gsamplerCubeArray sampler, float3 P); 267 float2 textureQueryLod(samplerCubeShadow sampler, float3 P); [all …]
|
/external/skia/src/sksl/ |
D | sksl.inc | 175 float3 cross(float3 x, float3 y); 193 float3x3 outerProduct(float3 c, float3 r); 195 float2x3 outerProduct(float3 c, float2 r); 196 float3x2 outerProduct(float2 c, float3 r); 199 float3x4 outerProduct(float4 c, float3 r); 200 float4x3 outerProduct(float3 c, float4 r); 328 float2 textureQueryLod($gsampler3D sampler, float3 P); 329 float2 textureQueryLod($gsamplerCube sampler, float3 P); 332 float2 textureQueryLod($gsamplerCubeArray sampler, float3 P); 335 float2 textureQueryLod(samplerCubeShadow sampler, float3 P); [all …]
|
/external/clang/test/CodeGen/ |
D | ppc64le-aggregates.c | 243 typedef float float3 __attribute__((vector_size (12))); typedef 245 struct v3f1 { float3 v[1]; }; 246 struct v3f2 { float3 v[2]; }; 247 struct v3f3 { float3 v[3]; }; 248 struct v3f4 { float3 v[4]; }; 249 struct v3f5 { float3 v[5]; }; 250 struct v3f6 { float3 v[6]; }; 251 struct v3f7 { float3 v[7]; }; 252 struct v3f8 { float3 v[8]; }; 253 struct v3f9 { float3 v[9]; }; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/ |
D | bug22322.ll | 6 %class.float3 = type { float, float, float } 10 define void @some_kernel(%class.float3* nocapture %dst) #0 { 30 %12 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 0 32 %13 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 1 34 %14 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 2 61 !0 = !{void (%class.float3*)* @some_kernel, !"kernel", i32 1}
|
/external/llvm/test/CodeGen/NVPTX/ |
D | bug22322.ll | 6 %class.float3 = type { float, float, float } 10 define void @some_kernel(%class.float3* nocapture %dst) #0 { 30 %12 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 0 32 %13 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 1 34 %14 = getelementptr inbounds %class.float3, %class.float3* %dst, i64 %5, i32 2 61 !0 = !{void (%class.float3*)* @some_kernel, !"kernel", i32 1}
|
/external/clang/test/Parser/ |
D | opencl-astype.cl | 9 typedef __attribute__(( ext_vector_type(3) )) float float3; 16 // Verify int4->float3, float3->int4 works. 18 float3 f3 = __builtin_astype(i4, float3);
|
/external/clang/test/Sema/ |
D | ext_vector_components.c | 4 typedef __attribute__(( ext_vector_type(3) )) float float3; typedef 12 float3 vec3; in test() 71 float2 lo(float3 x) { return x.lo; } in lo() 72 float2 hi(float3 x) { return x.hi; } in hi() 73 float2 ev(float3 x) { return x.even; } in ev() 74 float2 od(float3 x) { return x.odd; } in od()
|