/external/angle/third_party/glslang/src/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 | 179 float3 PixelShaderFunction3(float3 inF0, float3 inF1, float3 inF2, uint3 inU0, uint3 inU1) 184 float3 r001 = abs(inF0); 185 float3 r002 = acos(inF0); 187 float3 r004 = asin(inF0); 190 float3 r007 = asfloat(inU0); 192 float3 r009 = atan(inF0); 193 float3 r010 = atan2(inF0, inF1); 194 float3 r011 = ceil(inF0); 195 float3 r012 = clamp(inF0, inF1, inF2); 198 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.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);
|
/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 | 179 float3 PixelShaderFunction3(float3 inF0, float3 inF1, float3 inF2, uint3 inU0, uint3 inU1) 184 float3 r001 = abs(inF0); 185 float3 r002 = acos(inF0); 187 float3 r004 = asin(inF0); 190 float3 r007 = asfloat(inU0); 192 float3 r009 = atan(inF0); 193 float3 r010 = atan2(inF0, inF1); 194 float3 r011 = ceil(inF0); 195 float3 r012 = clamp(inF0, inF1, inF2); 198 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.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.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);
|
/external/skia/src/sksl/ |
D | sksl_interp.inc | 20 float3 degrees(float3 rad) { return rad * 57.2957795; } 25 float3 radians(float3 deg) { return deg * 0.0174532925; } 29 float length(float3 v) { return sqrt(dot(v, v)); } 33 float distance(float3 a, float3 b) { return length(a - b); } 37 float3 normalize(float3 v) { return v / length(v); } 42 float3 mix(float3 x, float3 y, float t) { return x * (1 - t) + y * t; } 46 float3 mix(float3 x, float3 y, float3 t) { return x * (1 - t) + y * t; } 49 float3 cross(float3 a, float3 b) { 50 return float3(a.y * b.z - a.z * b.y,
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/shaders/ |
D | MultiplyAlpha.hlsl | 116 color.rgb = round(color.rgb * float3(31, 63, 31)) / float3(31, 63, 31); 128 color.rgb = round(color.rgb * float3(31, 63, 31)) / float3(31, 63, 31); 202 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 210 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 222 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 229 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 240 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 247 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 258 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 266 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… [all …]
|
D | Passthrough2DArray11.hlsl | 13 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 15 return TextureF.Sample(Sampler, float3(inTexCoord.xy, inLayer)).rgba; 18 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 28 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 38 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 40 return float4(TextureF.Sample(Sampler, float3(inTexCoord.xy, inLayer)).rgb, 1.0f); 43 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 53 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 63 …nPosition : SV_POSITION, in uint inLayer : SV_RENDERTARGETARRAYINDEX, in float3 inTexCoord : TEXCO… 65 return float4(TextureF.Sample(Sampler, float3(inTexCoord.xy, inLayer)).rg, 0.0f, 1.0f); [all …]
|
/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/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 …]
|