Home
last modified time | relevance | path

Searched refs:ray (Results 1 – 25 of 62) sorted by relevance

123

/external/llvm/test/Transforms/Inline/
Dinline-byval-bonus.ll4 ; The performance of the c-ray benchmark largely depends on the inlining of a
14 %struct.ray = type { %struct.vec3, %struct.vec3 }
18 %shadow_ray = alloca %struct.ray, align 8
19 call void @fix(%struct.ray* %shadow_ray)
21 …%call = call i32 @ray_sphere(%struct.sphere* %i, %struct.ray* byval align 8 %shadow_ray, %struct.s…
29 declare void @fix(%struct.ray*)
31 define i32 @ray_sphere(%struct.sphere* nocapture %sph, %struct.ray* nocapture byval align 8 %ray, %…
32 %1 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 0
35 %4 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 1
39 %8 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 2
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Inline/
Dinline-byval-bonus.ll5 ; The performance of the c-ray benchmark largely depends on the inlining of a
15 %struct.ray = type { %struct.vec3, %struct.vec3 }
19 %shadow_ray = alloca %struct.ray, align 8
20 call void @fix(%struct.ray* %shadow_ray)
22 …%call = call i32 @ray_sphere(%struct.sphere* %i, %struct.ray* byval align 8 %shadow_ray, %struct.s…
30 declare void @fix(%struct.ray*)
32 define i32 @ray_sphere(%struct.sphere* nocapture %sph, %struct.ray* nocapture byval align 8 %ray, %…
33 %1 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 0
36 %4 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 1
40 %8 = getelementptr inbounds %struct.ray, %struct.ray* %ray, i64 0, i32 1, i32 2
[all …]
/external/skqp/src/pathops/
DSkPathOpsCurve.h299 static void line_intersect_ray(const SkPoint a[2], SkScalar , const SkDLine& ray, in line_intersect_ray() argument
303 i->intersectRay(line, ray); in line_intersect_ray()
306 static void quad_intersect_ray(const SkPoint a[3], SkScalar , const SkDLine& ray, in quad_intersect_ray() argument
310 i->intersectRay(quad, ray); in quad_intersect_ray()
313 static void conic_intersect_ray(const SkPoint a[3], SkScalar weight, const SkDLine& ray, in conic_intersect_ray() argument
317 i->intersectRay(conic, ray); in conic_intersect_ray()
320 static void cubic_intersect_ray(const SkPoint a[4], SkScalar , const SkDLine& ray, in cubic_intersect_ray() argument
324 i->intersectRay(cubic, ray); in cubic_intersect_ray()
336 static void dline_intersect_ray(const SkDCurve& c, const SkDLine& ray, SkIntersections* i) { in dline_intersect_ray() argument
337 i->intersectRay(c.fLine, ray); in dline_intersect_ray()
[all …]
/external/skia/src/pathops/
DSkPathOpsCurve.h299 static void line_intersect_ray(const SkPoint a[2], SkScalar , const SkDLine& ray, in line_intersect_ray() argument
303 i->intersectRay(line, ray); in line_intersect_ray()
306 static void quad_intersect_ray(const SkPoint a[3], SkScalar , const SkDLine& ray, in quad_intersect_ray() argument
310 i->intersectRay(quad, ray); in quad_intersect_ray()
313 static void conic_intersect_ray(const SkPoint a[3], SkScalar weight, const SkDLine& ray, in conic_intersect_ray() argument
317 i->intersectRay(conic, ray); in conic_intersect_ray()
320 static void cubic_intersect_ray(const SkPoint a[4], SkScalar , const SkDLine& ray, in cubic_intersect_ray() argument
324 i->intersectRay(cubic, ray); in cubic_intersect_ray()
336 static void dline_intersect_ray(const SkDCurve& c, const SkDLine& ray, SkIntersections* i) { in dline_intersect_ray() argument
337 i->intersectRay(c.fLine, ray); in dline_intersect_ray()
[all …]
/external/v8/benchmarks/
Draytrace.js426 intersect: function(ray){ argument
430 var dst = Flog.RayTracer.Vector.prototype.subtract(ray.position, this.position);
432 var B = dst.dot(ray.direction);
440 ray.position,
442 ray.direction,
478 intersect: function(ray){ argument
481 var Vd = this.position.dot(ray.direction);
484 var t = -(this.position.dot(ray.position) + this.d) / Vd;
490 ray.position,
492 ray.direction,
[all …]
/external/skqp/src/core/
DSkStroke.cpp239 ResultType strokeCloseEnough(const SkPoint stroke[3], const SkPoint ray[2],
997 const SkPoint ray[2], SkQuadConstruct* quadPts STROKER_DEBUG_PARAMS(int depth)) const { in strokeCloseEnough()
1000 if (points_within_dist(ray[0], strokeMid, fInvResScale)) { // if the difference is small in strokeCloseEnough()
1010 ray[0].fX, ray[0].fY, strokeMid.fX, strokeMid.fY, fInvResScale); in strokeCloseEnough()
1014 if (!ptInQuadBounds(stroke, ray[0])) { // if far, subdivide in strokeCloseEnough()
1018 ray[0].fX, ray[0].fY); in strokeCloseEnough()
1022 int rootCount = intersect_quad_ray(ray, stroke, roots); in strokeCloseEnough()
1029 if (points_within_dist(ray[0], quadPt, error)) { // if the difference is small, we're done in strokeCloseEnough()
1039 ray[0].fX, ray[0].fY, quadPt.fX, quadPt.fY, error); in strokeCloseEnough()
1055 SkPoint ray[2]; // points near midpoint on quad, midpoint on cubic in compareQuadCubic() local
[all …]
/external/skia/src/core/
DSkStroke.cpp239 ResultType strokeCloseEnough(const SkPoint stroke[3], const SkPoint ray[2],
993 const SkPoint ray[2], SkQuadConstruct* quadPts STROKER_DEBUG_PARAMS(int depth)) const { in strokeCloseEnough()
996 if (points_within_dist(ray[0], strokeMid, fInvResScale)) { // if the difference is small in strokeCloseEnough()
1006 ray[0].fX, ray[0].fY, strokeMid.fX, strokeMid.fY, fInvResScale); in strokeCloseEnough()
1010 if (!ptInQuadBounds(stroke, ray[0])) { // if far, subdivide in strokeCloseEnough()
1014 ray[0].fX, ray[0].fY); in strokeCloseEnough()
1018 int rootCount = intersect_quad_ray(ray, stroke, roots); in strokeCloseEnough()
1025 if (points_within_dist(ray[0], quadPt, error)) { // if the difference is small, we're done in strokeCloseEnough()
1035 ray[0].fX, ray[0].fY, quadPt.fX, quadPt.fY, error); in strokeCloseEnough()
1051 SkPoint ray[2]; // points near midpoint on quad, midpoint on cubic in compareQuadCubic() local
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dspv.RayGenShader_Errors.rgen.out2 ERROR: 0:3: 'hitAttributeNV' : not supported in this stage: ray-generation
3 ERROR: 0:4: 'rayPayloadInNV' : not supported in this stage: ray-generation
37 ERROR: Linking ray-generation stage: Only one shaderRecordNV buffer block is allowed per stage
/external/eigen/unsupported/Eigen/
DBVH39 * - Determine all points where a ray intersects a triangle mesh
48 … - Find the intersection between a ray and a triangle mesh closest to the ray origin (function is …
/external/skqp/tests/
DPathOpsAngleIdeas.cpp514 SkDVector ray = q.ptAtT(smallT) - origin; in testQuadAngles() local
516 if (ray.fX * end.fX < 0 || ray.fY * end.fY < 0) { in testQuadAngles()
519 double rayDist = ray.length(); in testQuadAngles()
533 SkDVector ray = q.ptAtT(t) - origin; in testQuadAngles() local
535 double rayDist = ray.length(); in testQuadAngles()
538 double midXray = mid.crossCheck(ray); in testQuadAngles()
/external/skia/tests/
DPathOpsAngleIdeas.cpp514 SkDVector ray = q.ptAtT(smallT) - origin; in testQuadAngles() local
516 if (ray.fX * end.fX < 0 || ray.fY * end.fY < 0) { in testQuadAngles()
519 double rayDist = ray.length(); in testQuadAngles()
533 SkDVector ray = q.ptAtT(t) - origin; in testQuadAngles() local
535 double rayDist = ray.length(); in testQuadAngles()
538 double midXray = mid.crossCheck(ray); in testQuadAngles()
/external/fonttools/Tests/mtiLib/data/mti/
Dgsubreversechanined.txt46 ray
/external/pdfium/third_party/lcms/src/
Dcmssm.c479 cmsLine ray; in InterpolateMissingSector() local
503 LineOf2Points(&ray, &Lab, &Centre); in InterpolateMissingSector()
523 ClosestLineToLine(&temp, &ray, &edge); in InterpolateMissingSector()
/external/swiftshader/third_party/LLVM/test/Transforms/GVN/
D2007-07-25-SinglePredecessor.ll13 …R16ggMaterialRecord(%struct.mrXEllipticalCylinder* %this, %struct.ggBox3* %ray, double %unnamed_ar…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/
D2007-07-25-SinglePredecessor.ll13 …R16ggMaterialRecord(%struct.mrXEllipticalCylinder* %this, %struct.ggBox3* %ray, double %unnamed_ar…
/external/llvm/test/Transforms/GVN/
D2007-07-25-SinglePredecessor.ll13 …R16ggMaterialRecord(%struct.mrXEllipticalCylinder* %this, %struct.ggBox3* %ray, double %unnamed_ar…
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/
D2007-07-25-SinglePredecessor.ll13 …R16ggMaterialRecord(%struct.mrXEllipticalCylinder* %this, %struct.ggBox3* %ray, double %unnamed_ar…
/external/google-breakpad/src/testing/
DCONTRIBUTORS19 Keith Ray <keith.ray@gmail.com>
/external/googletest/googlemock/
DCONTRIBUTORS19 Keith Ray <keith.ray@gmail.com>
/external/libvpx/libvpx/third_party/googletest/src/
DCONTRIBUTORS18 Keith Ray <keith.ray@gmail.com>
/external/googletest/googletest/
DCONTRIBUTORS18 Keith Ray <keith.ray@gmail.com>
/external/google-breakpad/src/testing/gtest/
DCONTRIBUTORS18 Keith Ray <keith.ray@gmail.com>
/external/libaom/libaom/third_party/googletest/src/googletest/
DCONTRIBUTORS18 Keith Ray <keith.ray@gmail.com>
/external/skqp/site/dev/design/conical/
Dindex.md166 **Lemma 1.** Draw a ray from $C_f = (0, 0)$ to $P = (x, y)$. For every
167 intersection points $P_1$ between that ray and circle $C_1 = (1, 0), r_1$, there exists an $x_t$
182 $1 / x_t$ (i.e., find $P_1$ on ray $C_f P$ such that $||C_f P_1|| / ||C_f P|| = 1 / x_t$), then
189 number of intersections between ray $C_f P$ and circle $C_1, r_1$. Therefore
236 Define $X_P$ and $H$ similarly as before except that now $H$ is on ray $P_1 C_f$ instead of
/external/skia/site/dev/design/conical/
Dindex.md166 **Lemma 1.** Draw a ray from $C_f = (0, 0)$ to $P = (x, y)$. For every
167 intersection points $P_1$ between that ray and circle $C_1 = (1, 0), r_1$, there exists an $x_t$
182 $1 / x_t$ (i.e., find $P_1$ on ray $C_f P$ such that $||C_f P_1|| / ||C_f P|| = 1 / x_t$), then
189 number of intersections between ray $C_f P$ and circle $C_1, r_1$. Therefore
236 Define $X_P$ and $H$ similarly as before except that now $H$ is on ray $P_1 C_f$ instead of

123