Home
last modified time | relevance | path

Searched refs:xyz (Results 1 – 25 of 174) sorted by relevance

1234567

/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DTextureGeneratorMagic.java54 public void compute(float[] xyz, float turbulence) {
55 xyz[1] = -(float) Math.cos(xyz[0] - xyz[1] + xyz[2]) * turbulence;
60 public void compute(float[] xyz, float turbulence) {
61 xyz[0] = (float) Math.cos(xyz[0] - xyz[1] - xyz[2]) * turbulence;
66 public void compute(float[] xyz, float turbulence) {
67 xyz[2] = (float) Math.sin(-xyz[0] - xyz[1] - xyz[2]) * turbulence;
72 public void compute(float[] xyz, float turbulence) {
73 xyz[0] = -(float) Math.cos(-xyz[0] + xyz[1] - xyz[2]) * turbulence;
78 public void compute(float[] xyz, float turbulence) {
79 xyz[1] = -(float) Math.sin(-xyz[0] + xyz[1] + xyz[2]) * turbulence;
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/
Dd3d11spikysphere.hlsl.ds.h66 dcl_input vDomain.xyz
67 dcl_input vicp[3][0].xyz
69 dcl_output o1.xyz
70 dcl_output o2.xyz
71 dcl_output o3.xyz
80 mul r1.xyz, r0.wyzw, cb0[8].yyyy
81 sincos null, r2.xyz, r1.zxyz
82 sincos r1.xyz, null, -r1.xyzx
83 mul r1.xyz, r1.xyzx, cb0[8].yyyy
84 mul r1.xyz, r2.zxyz, r1.xyzx
[all …]
Dd3d11spikysphere.hlsl.ps.h27 dcl_input_ps linear v1.xyz
28 dcl_input_ps linear v2.xyz
29 dcl_input_ps linear v3.xyz
34 mul r0.xyz, r0.xxxx, v2.xyzx
37 mul r1.xyz, r0.wwww, v1.xyzx
44 mad o0.xyz, r0.xxxx, l(0.400000, 0.400000, 0.600000, 0.000000), r0.yzwy
Dd3d11spikysphere.hlsl.vs.h24 dcl_input v0.xyz
25 dcl_output o0.xyz
26 mov o0.xyz, v0.xyzx
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.hlsl.vs.h52 dcl_input v1.xyz
54 dcl_output o1.xyz
55 dcl_output o2.xyz
56 dcl_output o3.xyz
58 mul r0.xyz, v0.yyyy, cb0[5].xyzx
59 mad r0.xyz, cb0[4].xyzx, v0.xxxx, r0.xyzx
60 mad r0.xyz, cb0[6].xyzx, v0.zzzz, r0.xyzx
61 mad r0.xyz, cb0[7].xyzx, v0.wwww, r0.xyzx
66 mul r1.xyz, v1.yyyy, cb0[5].xyzx
67 mad r1.xyz, cb0[4].xyzx, v1.xxxx, r1.xyzx
[all …]
Dd3d11gears.hlsl.ps.h50 dcl_input_ps linear v1.xyz
51 dcl_input_ps linear v2.xyz
52 dcl_input_ps linear v3.xyz
60 mad r1.xyz, v2.xyzx, r0.xxxx, r0.yzwy
63 mul r1.xyz, r0.xxxx, r1.xyzx
66 mul r2.xyz, r0.xxxx, v1.xyzx
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DGBuf.vert42 wvNormal.xyz = normalize( (g_WorldMatrix * wvNormal).xyz );
43 wvTangent.xyz = normalize( (g_WorldMatrix * wvTangent).xyz );
44 wvBinormal.xyz = cross(wvNormal.xyz, wvTangent.xyz);
45 tbnMat = mat3(wvTangent.xyz, wvBinormal.xyz, wvNormal.xyz);
47 vNormal = wvNormal.xyz;
55 vNormal = normalize( (g_WorldMatrix * wvNormal).xyz );
DLighting.vert72 vec3 worldPos = (g_WorldMatrix * vec4(inPosition,1.0)).xyz;
74 vec3 I = normalize( g_CameraPosition - worldPos ).xyz;
75 vec3 N = normalize( (g_WorldMatrix * vec4(inNormal, 0.0)).xyz );
77 refVec.xyz = reflect(I, N);
85 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
90 lightDir.xyz = tempVec / vec3(dist);
118 vec3 L=normalize(lightVec.xyz);
119 vec3 spotdir = normalize(g_LightDirection.xyz);
126 float diffuseFactor = lightComputeDiffuse(wvNorm, lightDir.xyz);
127 float specularFactor = lightComputeSpecular(wvNorm, wvViewDir, lightDir.xyz, m_Shininess);
[all …]
DDeferred.frag59 float diffuseFactor = lightComputeDiffuse(wvNorm, wvLightDir.xyz, wvViewDir);
60 float specularFactor = lightComputeSpecular(wvNorm, wvViewDir, wvLightDir.xyz, shiny);
66 float l = dot(nn.xyz, -nn.xyw);
69 return nn.xyz * vec3(2.0) + vec3(0.0,0.0,-1.0);
91 return pos.xyz;
97 lightDir.xyz = -position.xyz;
99 lightDir.xyz = position.xyz - worldPos.xyz;
100 float dist = length(lightDir.xyz);
102 lightDir.xyz /= dist;
107 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
[all …]
/external/llvm/test/Transforms/GlobalOpt/
D2010-02-26-MallocSROA.ll6 %struct.xyz = type { double, i32 }
8 @Y = internal global %struct.xyz* null ; <%struct.xyz**> [#uses=2]
16 %1 = bitcast i8* %malloccall3 to %struct.xyz* ; <%struct.xyz*> [#uses=1]
17 store %struct.xyz* %1, %struct.xyz** @Y, align 8
23 %0 = load %struct.xyz*, %struct.xyz** @Y, align 8 ; <%struct.xyz*> [#uses=0]
/external/pcre/dist/testdata/
Dtestinput1225 xyz
31 xyz
37 xyz
43 xyz
44 xyz\P
50 xyz
56 xyz
62 xyz
68 xyz
74 xyz
[all …]
Dtestoutput1267 xyz
77 xyz
87 xyz
97 xyz
99 xyz\P
109 xyz
119 xyz
129 xyz
139 xyz
149 xyz
[all …]
Dtestinput837 xyz\nabc
41 xyz\nabc
49 xyz\nabc
55 xyz\nabc
68 xyz
75 xyz
196 xyz
207 xyz
211 xyz
216 xyz
[all …]
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/test/data/tree_construction/
Dtests14.dat2 <!DOCTYPE html><html><body><xyz:abc></xyz:abc>
9 | <xyz:abc>
12 <!DOCTYPE html><html><body><xyz:abc></xyz:abc><span></span>
19 | <xyz:abc>
23 <!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>
32 | <xyz:abc>
/external/deqp/modules/gles3/functional/
Des3fShaderStructTests.cpp212 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
239 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
265 c.color.xyz() = c.coords.swizzle(3,2,1); in init()
293 c.color.xyz() = c.coords.swizzle(1,2,0); in init()
319 c.color.xyz() = c.coords.swizzle(2,1,0); in init()
345 c.color.xyz() = c.coords.swizzle(2,1,0); in init()
409 c.color.xyz() = c.coords.swizzle(2,0,3); in init()
473 c.color.xyz() = c.coords.swizzle(2,0,3); in init()
500 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
532 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
[all …]
Des3fShaderSwitchTests.cpp75 static void evalSwitchStatic (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.sw… in evalSwitchStatic()
76 static void evalSwitchUniform (ShaderEvalContext& evalCtx) { evalCtx.color.xyz() = evalCtx.coords.s… in evalSwitchUniform()
81 case 0: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,1,2); break; in evalSwitchDynamic()
82 case 1: evalCtx.color.xyz() = evalCtx.coords.swizzle(3,2,1); break; in evalSwitchDynamic()
83 case 2: evalCtx.color.xyz() = evalCtx.coords.swizzle(1,2,3); break; in evalSwitchDynamic()
84 case 3: evalCtx.color.xyz() = evalCtx.coords.swizzle(2,1,0); break; in evalSwitchDynamic()
85 default: evalCtx.color.xyz() = evalCtx.coords.swizzle(0,0,0); break; in evalSwitchDynamic()
/external/ltrace/testsuite/ltrace.minor/
Dtrace-irelative.exp20 ltraceMatch1 [ltraceRun -e *xyz -- $bin] {xyz\(} == 2
26 set log [ltraceRun -L -x xyz -- $bin]
27 ltraceMatch1 $log [format {xyz\.IFUNC%s\(\)} $appendage] == 1
34 ltraceMatch1 $log [format {xyz\.IFUNC%s\(\)} $appendage] == 1
43 int xyz (int a);
52 return xyz (xyz (argc));
/external/jmonkeyengine/engine/src/terrain/Common/MatDefs/Terrain/
DTerrainLighting.vert40 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
41 lightVec.xyz = tempVec;
44 lightDir.xyz = tempVec / vec3(dist);
57 vec3 wvPosition = (g_WorldViewMatrix * pos).xyz;
61 vec4 wvLightPos = (g_ViewMatrix * vec4(g_LightPosition.xyz,clamp(g_LightColor.w,0.0,1.0)));
69 vec3 wvTangent = normalize(g_NormalMatrix * inTangent.xyz);
77 vLightDir.xyz = (vLightDir.xyz * tbnMat).xyz;
93 // spotVec=(g_ViewMatrix *vec4(g_LightDirection.xyz,0.0) );
DTerrainLighting.frag272 n = texture2D(m_NormalMap, texCoord * m_DiffuseMap_0_scale).xyz;
277 n = texture2D(m_NormalMap_1, texCoord * m_DiffuseMap_1_scale).xyz;
282 n = texture2D(m_NormalMap_2, texCoord * m_DiffuseMap_2_scale).xyz;
287 n = texture2D(m_NormalMap_3, texCoord * m_DiffuseMap_3_scale).xyz;
293 n = texture2D(m_NormalMap_4, texCoord * m_DiffuseMap_4_scale).xyz;
298 n = texture2D(m_NormalMap_5, texCoord * m_DiffuseMap_5_scale).xyz;
303 n = texture2D(m_NormalMap_6, texCoord * m_DiffuseMap_6_scale).xyz;
308 n = texture2D(m_NormalMap_7, texCoord * m_DiffuseMap_7_scale).xyz;
315 n = texture2D(m_NormalMap_8, texCoord * m_DiffuseMap_8_scale).xyz;
335 normal = (normal.xyz * vec3(2.0) - vec3(1.0));
[all …]
/external/deqp/modules/gles2/functional/
Des2fShaderStructTests.cpp238 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
265 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
291 c.color.xyz() = c.coords.swizzle(3,2,1); in init()
319 c.color.xyz() = c.coords.swizzle(1,2,0); in init()
345 c.color.xyz() = c.coords.swizzle(2,1,0); in init()
371 c.color.xyz() = c.coords.swizzle(2,1,0); in init()
435 c.color.xyz() = c.coords.swizzle(2,0,3); in init()
499 c.color.xyz() = c.coords.swizzle(2,0,3); in init()
526 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
558 c.color.xyz() = c.coords.swizzle(0,1,2); in init()
[all …]
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
Dcmspcs.c134 void CMSEXPORT cmsXYZ2Lab(const cmsCIEXYZ* WhitePoint, cmsCIELab* Lab, const cmsCIEXYZ* xyz) in cmsXYZ2Lab() argument
141 fx = f(xyz->X / WhitePoint->X); in cmsXYZ2Lab()
142 fy = f(xyz->Y / WhitePoint->Y); in cmsXYZ2Lab()
143 fz = f(xyz->Z / WhitePoint->Z); in cmsXYZ2Lab()
152 void CMSEXPORT cmsLab2XYZ(const cmsCIEXYZ* WhitePoint, cmsCIEXYZ* xyz, const cmsCIELab* Lab) in cmsLab2XYZ() argument
163 xyz -> X = f_1(x) * WhitePoint -> X; in cmsLab2XYZ()
164 xyz -> Y = f_1(y) * WhitePoint -> Y; in cmsLab2XYZ()
165 xyz -> Z = f_1(z) * WhitePoint -> Z; in cmsLab2XYZ()
367 cmsCIEXYZ xyz; in cmsFloat2XYZEncoded() local
369 xyz.X = fXYZ -> X; in cmsFloat2XYZEncoded()
[all …]
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/
DLighting.glsllib21 vec3 tempVec = position.xyz * sign(posLight - 0.5) - (worldPos * posLight);
25 lightDir.xyz = tempVec / dist;
35 vec4 wvLightPos = (g_ViewMatrix * vec4(g_LightPosition[i].xyz, g_LightColor[i].w));
40 tanLightDir.xyz = tanLightDir.xyz * tbnMat;
43 float specular = Lighting_Specular(tanNormal, tanViewDir, tanLightDir.xyz, m_Shininess);
44 float diffuse = Lighting_Diffuse(tanNormal, tanLightDir.xyz);
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Post/
DFXAA.frag36 vec3 rgbNW = FxaaTex(tex, posPos.zw).xyz;
37 vec3 rgbNE = FxaaTexOff(tex, posPos.zw, OffsetVec(1,0), rcpFrame.xy).xyz;
38 vec3 rgbSW = FxaaTexOff(tex, posPos.zw, OffsetVec(0,1), rcpFrame.xy).xyz;
39 vec3 rgbSE = FxaaTexOff(tex, posPos.zw, OffsetVec(1,1), rcpFrame.xy).xyz;
41 vec3 rgbM = FxaaTex(tex, posPos.xy).xyz;
66 FxaaTex(tex, posPos.xy + dir * vec2(1.0/3.0 - 0.5)).xyz +
67 FxaaTex(tex, posPos.xy + dir * vec2(2.0/3.0 - 0.5)).xyz);
69 FxaaTex(tex, posPos.xy + dir * vec2(0.0/3.0 - 0.5)).xyz +
70 FxaaTex(tex, posPos.xy + dir * vec2(3.0/3.0 - 0.5)).xyz);
/external/llvm/test/Transforms/IndVarSimplify/
Ddivide-pointer.ll6 …%struct.xyz = type <{ i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i…
9 define i32 @foo(%struct.xyz* %header, i8* %p2, i8* %p3, i8* nocapture %p4) nounwind {
17 %conv135 = ptrtoint %struct.xyz* %header to i32 ; <i32> [#uses=1]
31 define i32 @same_thing_but_signed(%struct.xyz* %header, i8* %p2, i8* %p3, i8* nocapture %p4) nounwi…
39 %conv135 = ptrtoint %struct.xyz* %header to i32 ; <i32> [#uses=1]
53 define i32 @same_thing_but_multiplied(%struct.xyz* %header, i8* %p2, i8* %p3, i8* nocapture %p4) no…
61 %conv135 = ptrtoint %struct.xyz* %header to i32 ; <i32> [#uses=1]
75 define i32 @same_thing_but_xored(%struct.xyz* %header, i8* %p2, i8* %p3, i8* nocapture %p4) nounwin…
83 %conv135 = ptrtoint %struct.xyz* %header to i32 ; <i32> [#uses=1]
/external/mesa3d/src/glsl/builtins/ir/
DouterProduct.ir16 …(assign (xyz) (array_ref (var_ref m) (constant int (0))) (expression vec3 * (var_ref u) (swiz x (v…
17 …(assign (xyz) (array_ref (var_ref m) (constant int (1))) (expression vec3 * (var_ref u) (swiz y (v…
45 …(assign (xyz) (array_ref (var_ref m) (constant int (0))) (expression vec3 * (var_ref u) (swiz x (v…
46 …(assign (xyz) (array_ref (var_ref m) (constant int (1))) (expression vec3 * (var_ref u) (swiz y (v…
47 …(assign (xyz) (array_ref (var_ref m) (constant int (2))) (expression vec3 * (var_ref u) (swiz z (v…
76 …(assign (xyz) (array_ref (var_ref m) (constant int (0))) (expression vec3 * (var_ref u) (swiz x (v…
77 …(assign (xyz) (array_ref (var_ref m) (constant int (1))) (expression vec3 * (var_ref u) (swiz y (v…
78 …(assign (xyz) (array_ref (var_ref m) (constant int (2))) (expression vec3 * (var_ref u) (swiz z (v…
79 …(assign (xyz) (array_ref (var_ref m) (constant int (3))) (expression vec3 * (var_ref u) (swiz w (v…

1234567