Searched refs:intersection (Results 1 - 25 of 27) sorted by relevance

12

/xsrc/external/mit/xlogo/dist/
H A DRenderLogo.c44 intersect(XLineDouble *l1, XLineDouble *l2, XPointDouble *intersection);
137 intersect(XLineDouble *l1, XLineDouble *l2, XPointDouble *intersection) argument
152 intersection->y = (b2 - b1) / (m1 - m2);
153 intersection->x = m1 * intersection->y + b1;
155 check = m2 * intersection->y + b2;
156 if (check >= intersection->x)
157 check -= intersection->x;
159 check = intersection->x - check;
161 fprintf(stderr, "intersect: intersection i
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/compiler/
H A Dbrw_nir_rt.h40 void brw_nir_lower_combined_intersection_any_hit(nir_shader *intersection,
58 void brw_nir_lower_intersection_shader(nir_shader *intersection,
H A Dbrw_nir_rt.c75 * any-hit shader into an intersection shader, we can end up with multiple
181 * written out by the intersection shader. In our implementation, it's a
388 brw_nir_lower_combined_intersection_any_hit(nir_shader *intersection, argument
392 assert(intersection->info.stage == MESA_SHADER_INTERSECTION);
394 NIR_PASS_V(intersection, brw_nir_lower_shader_returns);
395 NIR_PASS_V(intersection, brw_nir_lower_intersection_shader,
397 NIR_PASS_V(intersection, lower_ray_walk_intrinsics, devinfo);
398 lower_rt_io_and_scratch(intersection);
H A Dbrw_nir_lower_intersection_shader.c93 * intersection shaders.
131 brw_nir_lower_intersection_shader(nir_shader *intersection, argument
135 void *dead_ctx = ralloc_context(intersection);
146 nir_function_impl *impl = nir_shader_get_entrypoint(intersection);
H A Dbrw_fs_combine_constants.cpp464 bblock_t *intersection = idom.intersect(block, imm->block); local in function:fs_visitor::opt_combine_constants
465 if (intersection != imm->block)
467 imm->block = intersection;
/xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/
H A Dvmwgfx_saa.c238 RegionRec intersection; local in function:vmwgfx_pixmap_present_readback
248 REGION_NULL(vsaa->pScreen, &intersection);
249 REGION_COPY(vsaa->pScreen, &intersection, &spix->dirty_hw);
250 REGION_INTERSECT(vsaa->pScreen, &intersection, &intersection,
254 REGION_INTERSECT(vsaa->pScreen, &intersection, &intersection, region);
256 if (!REGION_NOTEMPTY(vsaa->pScreen, &intersection))
267 &intersection) != 0)
271 &spix->dirty_hw, &intersection);
351 RegionRec intersection; local in function:vmwgfx_download_from_hw
743 RegionRec intersection; local in function:vmwgfx_check_hw_contents
863 RegionRec intersection; local in function:vmwgfx_hw_validate
1668 RegionRec intersection; local in function:vmwgfx_saa_copy_to_surface
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_constant_expressions.py20 sizes = sizes.intersection(set(type_sizes(input_type)))
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_constant_expressions.py22 sizes = sizes.intersection(set(type_sizes(input_type)))
/xsrc/external/mit/freetype/dist/src/psaux/
H A Dpshints.c1192 * intersection on the corresponding lines.
1193 * Return false if no intersection is found, or if the intersection is
1203 FT_Vector* intersection )
1250 intersection->x = ADD_INT32( u1->x,
1252 intersection->y = ADD_INT32( u1->y,
1266 cf2_fixedAbs( SUB_INT32( intersection->x,
1268 intersection->x = u1->x;
1270 cf2_fixedAbs( SUB_INT32( intersection->y,
1272 intersection
1198 cf2_glyphpath_computeIntersection(CF2_GlyphPath glyphpath,const FT_Vector * u1,const FT_Vector * u2,const FT_Vector * v1,const FT_Vector * v2,FT_Vector * intersection) argument
1329 FT_Vector intersection = { 0, 0 }; local in function:cf2_glyphpath_pushPrevElem
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
H A Dbi_packer.c.py76 intersection = set(opts) & bucket
77 assert(len(intersection) <= 1)
78 return intersection.pop() if len(intersection) == 1 else None
/xsrc/external/mit/MesaLib/dist/bin/
H A Dkhronos-update.py204 if args.apis and 'khr' not in args.apis and depend_on_khr.intersection(set(args.apis)):
/xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
H A Dbrw_fs_combine_constants.cpp354 bblock_t *intersection = cfg_t::intersect(block, imm->block); local in function:fs_visitor::opt_combine_constants
355 if (intersection != imm->block)
357 imm->block = intersection;
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D20.2.1.rst107 - vc4: Avoid negative scissor caused by no intersection
H A D21.3.0.rst547 - radv: Add pass to lower anyhit shader into an intersection shader.
1601 - llvmpipe: take intersection with bbox for non-legacy points
3728 - llvmpipe: always use draw_regions intersection
H A D19.3.0.rst357 - pan/midgard: Add constant intersection filters
H A D21.0.0.rst1718 - intel/rt: Add lowering for combined intersection/any-hit shaders
H A D20.3.0.rst3046 - vc4: Avoid negative scissor caused by no intersection
/xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
H A Danv_pipeline.c722 struct anv_pipeline_stage *intersection,
735 _mesa_sha1_update(&ctx, intersection->shader_sha1, sizeof(intersection->shader_sha1));
736 _mesa_sha1_update(&ctx, &intersection->key, sizeof(intersection->key.bs));
2840 /* We handle intersection shaders as part of the group */
2920 /* The any-hit and intersection shader have to be combined */
2927 nir_shader *intersection = local in function:anv_pipeline_compile_ray_tracing
2930 brw_nir_lower_combined_intersection_any_hit(intersection, any_hit,
2934 intersection,
720 anv_pipeline_hash_ray_tracing_combined_shader(struct anv_ray_tracing_pipeline * pipeline,struct anv_pipeline_layout * layout,struct anv_pipeline_stage * intersection,struct anv_pipeline_stage * any_hit,unsigned char * sha1_out) argument
[all...]
H A DgenX_pipeline.c3000 sh.Intersection = anv_shader_bin_get_bsr(group->intersection, 24);
H A Danv_private.h3631 struct anv_shader_bin *intersection; member in struct:anv_rt_shader_group
/xsrc/external/mit/MesaLib/dist/src/amd/registers/
H A Dregdb.py270 type_ref != other_type_ref and chips.intersection(other_chips):
666 joining_chips = chips.intersection(regmap.chips)
/xsrc/external/mit/libepoxy/dist/src/
H A Dgen_dispatch.py406 if {'gl', 'gles1', 'gles2'}.intersection(apis):
/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_pipeline_rt.c183 /* Output variable for intersection & anyhit shaders. */
953 * intersection shaders.
996 /* Inline the any_hit shader into the intersection shader so we don't have
1000 nir_lower_intersection_shader(nir_shader *intersection, nir_shader *any_hit) argument
1002 void *dead_ctx = ralloc_context(intersection);
1013 nir_function_impl *impl = nir_shader_get_entrypoint(intersection);
1078 NIR_PASS_V(intersection, nir_opt_deref);
1394 /* For AABBs the intersection shader writes the hit kind, and only does it if it is the
1662 /* Based on watertight Ray/Triangle intersection from
1963 * emulate ray/box intersection her
[all...]
/xsrc/external/mit/xedit/dist/lisp/
H A Dcore.c2013 intersection list1 list2 &key test test-not key
2328 intersection list1 list2 &key test test-not key
2341 intersection, setdifference, xunion, setexclusiveor; local in function:LispListSet
2357 setdifference = intersection = xunion = setexclusiveor = inplace = 0;
2367 intersection = 1;
2383 return (setdifference || intersection ?
2386 return (intersection || xunion || function == SUBSETP ? NIL : list1);
2471 (intersection && value == expect)) {
/xsrc/external/mit/xedit/dist/lisp/test/
H A Dlist.lsp838 ;; intersection - function
841 (equal-test '(1 1 4 b c) #'intersection list1 list2)
842 (equal-test '(1 1 4 b c "B") #'intersection list1 list2 :test 'equal)
844 #'intersection list1 list2 :test #'equalp)

Completed in 67 milliseconds

12