Home | History | Annotate | Download | only in cts

Lines Matching refs:float4

21 static float4 gCoordMul;
29 gCoordMul = (float4)(1.f / 255.f) * convert_float4(gDims - 1);
33 float4 baseCoord = convert_float4(in) * gCoordMul;
36 float4 f = baseCoord - convert_float4(coord1);
38 float4 v000 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord1.z));
39 float4 v100 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord1.z));
40 float4 v010 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord1.z));
41 float4 v110 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord1.z));
42 float4 v001 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord1.y, coord2.z));
43 float4 v101 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord1.y, coord2.z));
44 float4 v011 = convert_float4(rsGetElementAt_uchar4(gCube, coord1.x, coord2.y, coord2.z));
45 float4 v111 = convert_float4(rsGetElementAt_uchar4(gCube, coord2.x, coord2.y, coord2.z));
47 float4 yz00 = mix(v000, v100, f.x);
48 float4 yz10 = mix(v010, v110, f.x);
49 float4 yz01 = mix(v001, v101, f.x);
50 float4 yz11 = mix(v011, v111, f.x);
52 float4 z0 = mix(yz00, yz10, f.y);
53 float4 z1 = mix(yz01, yz11, f.y);
55 float4 v = mix(z0, z1, f.z);