HomeSort by: relevance | last modified time | path
    Searched refs:intersection (Results 1 - 20 of 20) sorted by relevancy

  /xsrc/external/mit/xlogo/dist/
RenderLogo.c 44 intersect(XLineDouble *l1, XLineDouble *l2, XPointDouble *intersection);
137 intersect(XLineDouble *l1, XLineDouble *l2, XPointDouble *intersection)
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 is off by %f\n", check)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/intel/compiler/
brw_nir_rt.h 40 void brw_nir_lower_combined_intersection_any_hit(nir_shader *intersection,
58 void brw_nir_lower_intersection_shader(nir_shader *intersection,
brw_nir_rt.c 75 * 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,
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);
brw_nir_lower_intersection_shader.c 93 * intersection shaders.
131 brw_nir_lower_intersection_shader(nir_shader *intersection,
135 void *dead_ctx = ralloc_context(intersection);
146 nir_function_impl *impl = nir_shader_get_entrypoint(intersection);
brw_fs_combine_constants.cpp 464 bblock_t *intersection = idom.intersect(block, imm->block); local
465 if (intersection != imm->block)
467 imm->block = intersection;
  /xsrc/external/mit/xf86-video-vmware/dist/vmwgfx/
vmwgfx_saa.c 238 RegionRec intersection; local
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
743 RegionRec intersection; local
863 RegionRec intersection; local
1668 RegionRec intersection; local
    [all...]
  /xsrc/external/mit/freetype/dist/src/psaux/
pshints.c 1192 * 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->y = u1->y
1329 FT_Vector intersection = { 0, 0 }; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/panfrost/bifrost/
bi_packer.c.py 76 intersection = set(opts) & bucket
77 assert(len(intersection) <= 1)
78 return intersection.pop() if len(intersection) == 1 else None
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
nir_constant_expressions.py 22 sizes = sizes.intersection(set(type_sizes(input_type)))
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_constant_expressions.py 20 sizes = sizes.intersection(set(type_sizes(input_type)))
  /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/
brw_fs_combine_constants.cpp 354 bblock_t *intersection = cfg_t::intersect(block, imm->block); local
355 if (intersection != imm->block)
357 imm->block = intersection;
  /xsrc/external/mit/MesaLib/dist/bin/
khronos-update.py 204 if args.apis and 'khr' not in args.apis and depend_on_khr.intersection(set(args.apis)):
  /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
anv_pipeline.c 722 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
2930 brw_nir_lower_combined_intersection_any_hit(intersection, any_hit,
2934 intersection,
    [all...]
genX_pipeline.c 3000 sh.Intersection = anv_shader_bin_get_bsr(group->intersection, 24);
anv_private.h 3631 struct anv_shader_bin *intersection; member in struct:anv_rt_shader_group
  /xsrc/external/mit/MesaLib/dist/src/amd/registers/
regdb.py 270 type_ref != other_type_ref and chips.intersection(other_chips):
666 joining_chips = chips.intersection(regmap.chips)
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_pipeline_rt.c 183 /* 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)
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 here *
    [all...]
  /xsrc/external/mit/libepoxy/dist/src/
gen_dispatch.py 406 if {'gl', 'gles1', 'gles2'}.intersection(apis):
  /xsrc/external/mit/xedit/dist/lisp/
core.c 94 #define INTERSECTION 2
2013 intersection list1 list2 &key test test-not key
2016 return (LispListSet(builtin, INTERSECTION));
2328 intersection list1 list2 &key test test-not key
2341 intersection, setdifference, xunion, setexclusiveor; local
2357 setdifference = intersection = xunion = setexclusiveor = inplace = 0;
2366 case INTERSECTION:
2367 intersection = 1;
2383 return (setdifference || intersection ?
2386 return (intersection || xunion || function == SUBSETP ? NIL : list1)
    [all...]
  /xsrc/external/mit/xedit/dist/lisp/test/
list.lsp 838 ;; 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 33 milliseconds