HomeSort by: relevance | last modified time | path
    Searched refs:Dst (Results 1 - 25 of 112) sorted by relevancy

1 2 3 4 5

  /xsrc/external/mit/glu/dist/src/libtess/
tessmono.c 84 for( ; VertLeq( up->Dst, up->Org ); up = up->Lprev )
86 for( ; VertLeq( up->Org, up->Dst ); up = up->Lnext )
91 if( VertLeq( up->Dst, lo->Org )) {
92 /* up->Dst is on the left. It is safe to form triangles from lo->Org.
97 || EdgeSign( lo->Org, lo->Dst, lo->Lnext->Dst ) <= 0 )) {
104 /* lo->Org is on the left. We can make CCW triangles from up->Dst. */
106 || EdgeSign( up->Dst, up->Org, up->Lprev->Org ) >= 0 )) {
115 /* Now lo->Org == up->Dst == the leftmost vertex. The remaining region
sweep.c 68 * - for each e, e->Dst has been processed, but not e->Org
69 * - each edge e satisfies VertLeq(e->Dst,event) && VertLeq(event,e->Org)
128 if( e1->Dst == event ) {
129 if( e2->Dst == event ) {
134 return EdgeSign( e2->Dst, e1->Org, e2->Org ) <= 0;
136 return EdgeSign( e1->Dst, e2->Org, e1->Org ) >= 0;
138 return EdgeSign( e2->Dst, event, e2->Org ) <= 0;
140 if( e2->Dst == event ) {
141 return EdgeSign( e1->Dst, event, e1->Org ) >= 0;
145 t1 = EdgeEval( e1->Dst, event, e1->Org )
204 GLUvertex *dst = reg->eUp->Dst; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/
i915_fpc_optimize.c 263 copy_dst_reg(&o->Dst[0].Register, &i->Dst[0].Register);
334 dst_reg = &current->FullInstruction.Dst[0];
339 debug_printf("Op %d has %d dst regs\n", opcode, num_dst);
435 &current->FullInstruction.Dst[0]) &&
437 unused_from(ctx, &current->FullInstruction.Dst[0], index)) {
466 same_dst_reg(&next->FullInstruction.Dst[0],
467 &current->FullInstruction.Dst[0]) &&
471 &current->FullInstruction.Dst[0])) {
473 dst_reg1 = &current->FullInstruction.Dst[0]
    [all...]
i915_fpc_translate.c 273 const uint32_t writeMask = inst->Dst[0].Register.WriteMask;
365 i915_emit_texld(p, get_result_vector(p, &inst->Dst[0]),
388 i915_emit_arith(p, opcode, get_result_vector(p, &inst->Dst[0]),
440 i915_emit_arith(p, A0_MOV, get_result_vector(p, &inst->Dst[0]), flags, 0,
448 i915_emit_arith(p, A0_CMP, get_result_vector(p, &inst->Dst[0]),
457 src0 = get_result_vector(p, &inst->Dst[0]);
458 i915_emit_arith(p, A0_MOV, get_result_vector(p, &inst->Dst[0]),
467 i915_emit_arith(p, A0_DP3, get_result_vector(p, &inst->Dst[0]),
489 i915_emit_arith(p, A0_MUL, get_result_vector(p, &inst->Dst[0]),
501 i915_emit_arith(p, A0_EXP, get_result_vector(p, &inst->Dst[0])
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/
i915_fpc_optimize.c 245 copy_dst_reg(&o->Dst[0].Register, &i->Dst[0].Register);
318 dst_reg = &current->FullInstruction.Dst[0];
323 debug_printf("Op %d has %d dst regs\n", opcode, num_dst);
413 same_src_dst_reg(&next->FullInstruction.Src[0], &current->FullInstruction.Dst[0]) &&
415 unused_from(ctx, &current->FullInstruction.Dst[0], index))
441 same_dst_reg(&next->FullInstruction.Dst[0], &current->FullInstruction.Dst[0]) &&
443 !same_src_dst_reg(&current->FullInstruction.Src[0], &current->FullInstruction.Dst[0]) )
446 dst_reg1 = &current->FullInstruction.Dst[0]
    [all...]
i915_fpc_translate.c 314 = inst->Dst[0].Register.WriteMask;
411 get_result_vector( p, &inst->Dst[0] ),
441 get_result_vector( p, &inst->Dst[0]),
502 get_result_vector(p, &inst->Dst[0]),
512 get_result_vector(p, &inst->Dst[0]),
554 get_result_vector(p, &inst->Dst[0]),
564 src0 = get_result_vector(p, &inst->Dst[0]);
567 get_result_vector(p, &inst->Dst[0]),
578 get_result_vector(p, &inst->Dst[0]),
602 get_result_vector(p, &inst->Dst[0])
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/
tgsi_emulate.c 88 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
89 new_inst.Dst[0].Register.Index = ctx->info.num_outputs;
90 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
123 if (inst->Dst[i].Register.File != TGSI_FILE_OUTPUT ||
124 inst->Dst[i].Register.Indirect)
128 ctx->info.output_semantic_name[inst->Dst[i].Register.Index];
tgsi_parse.c 77 copy_token(void *dst, const void *src)
79 memcpy(dst, src, 4);
208 next_token( ctx, &inst->Dst[i].Register );
210 if (inst->Dst[i].Register.Indirect)
211 next_token( ctx, &inst->Dst[i].Indirect );
213 if (inst->Dst[i].Register.Dimension) {
214 next_token( ctx, &inst->Dst[i].Dimension );
219 assert( !inst->Dst[i].Dimension.Dimension );
221 if (inst->Dst[i].Dimension.Indirect)
222 next_token( ctx, &inst->Dst[i].DimIndirect )
    [all...]
tgsi_transform.h 300 inst.Dst[0].Register.File = dst_file,
301 inst.Dst[0].Register.Index = dst_index;
302 inst.Dst[0].Register.WriteMask = dst_writemask;
327 inst.Dst[0].Register.File = dst_file,
328 inst.Dst[0].Register.Index = dst_index;
329 inst.Dst[0].Register.WriteMask = dst_writemask;
357 inst.Dst[0].Register.File = dst_file,
358 inst.Dst[0].Register.Index = dst_index;
359 inst.Dst[0].Register.WriteMask = dst_writemask;
385 inst.Dst[0].Register.File = dst_file
    [all...]
tgsi_lowering.c 48 struct tgsi_full_dst_register dst; member in struct:tgsi_lowering_context::__anon1060
68 reg_dst(struct tgsi_full_dst_register *dst,
71 *dst = *orig_dst;
72 dst->Register.WriteMask &= wrmask;
73 assert(dst->Register.WriteMask);
104 * if (dst.x aliases src.x) {
108 * COS dst.x, src.x
109 * SIN dst.y, src.x
110 * MOV dst.zw, imm{0.0, 1.0}
113 aliases(const struct tgsi_full_dst_register *dst, unsigned dst_mask
201 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
282 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
332 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
377 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
437 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
562 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
685 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
823 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
909 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
963 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
    [all...]
tgsi_point_sprite.c 256 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY,
305 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY,
357 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_OUTPUT, ts->point_pos_out,
383 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_OUTPUT,
430 else if (inst->Dst[0].Register.File == TGSI_FILE_OUTPUT &&
431 inst->Dst[0].Register.Index == (int)ts->point_size_out) {
437 inst->Dst[0].Register.File = TGSI_FILE_TEMPORARY;
438 inst->Dst[0].Register.Index = ts->point_size_tmp;
454 else if (inst->Dst[0].Register.File == TGSI_FILE_OUTPUT &&
455 inst->Dst[0].Register.Index == (int)ts->point_pos_out)
    [all...]
tgsi_exec.c 89 micro_abs(union tgsi_exec_channel *dst,
92 dst->f[0] = fabsf(src->f[0]);
93 dst->f[1] = fabsf(src->f[1]);
94 dst->f[2] = fabsf(src->f[2]);
95 dst->f[3] = fabsf(src->f[3]);
99 micro_arl(union tgsi_exec_channel *dst,
102 dst->i[0] = (int)floorf(src->f[0]);
103 dst->i[1] = (int)floorf(src->f[1]);
104 dst->i[2] = (int)floorf(src->f[2]);
105 dst->i[3] = (int)floorf(src->f[3])
1704 union tgsi_exec_channel *dst; local
1792 union tgsi_exec_channel *dst; local
1813 union tgsi_exec_channel *dst; local
2938 union tgsi_exec_channel dst; local
2956 struct tgsi_exec_vector dst; local
2985 union tgsi_exec_channel dst; local
3004 struct tgsi_exec_vector dst; local
3034 struct tgsi_exec_vector dst; local
3066 struct tgsi_exec_vector dst; local
3161 union tgsi_exec_channel arg[2], dst; local
3181 union tgsi_exec_channel arg, dst[2]; local
3212 struct tgsi_exec_vector dst; local
3479 union tgsi_exec_channel dst[2]; local
3517 union tgsi_double_channel dst; local
3538 union tgsi_double_channel dst; local
3579 union tgsi_double_channel dst; local
3603 union tgsi_double_channel dst; local
3627 union tgsi_double_channel dst; local
3649 union tgsi_double_channel dst; local
4323 union tgsi_double_channel dst; local
4343 union tgsi_exec_channel dst; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/
tgsi_emulate.c 88 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
89 new_inst.Dst[0].Register.Index = ctx->info.num_outputs;
90 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
123 if (inst->Dst[i].Register.File != TGSI_FILE_OUTPUT ||
124 inst->Dst[i].Register.Indirect)
128 ctx->info.output_semantic_name[inst->Dst[i].Register.Index];
tgsi_parse.c 77 copy_token(void *dst, const void *src)
79 memcpy(dst, src, 4);
208 next_token( ctx, &inst->Dst[i].Register );
210 if (inst->Dst[i].Register.Indirect)
211 next_token( ctx, &inst->Dst[i].Indirect );
213 if (inst->Dst[i].Register.Dimension) {
214 next_token( ctx, &inst->Dst[i].Dimension );
219 assert( !inst->Dst[i].Dimension.Dimension );
221 if (inst->Dst[i].Dimension.Indirect)
222 next_token( ctx, &inst->Dst[i].DimIndirect )
    [all...]
tgsi_transform.h 282 inst.Dst[0].Register.File = dst_file,
283 inst.Dst[0].Register.Index = dst_index;
284 inst.Dst[0].Register.WriteMask = dst_writemask;
309 inst.Dst[0].Register.File = dst_file,
310 inst.Dst[0].Register.Index = dst_index;
311 inst.Dst[0].Register.WriteMask = dst_writemask;
339 inst.Dst[0].Register.File = dst_file,
340 inst.Dst[0].Register.Index = dst_index;
341 inst.Dst[0].Register.WriteMask = dst_writemask;
367 inst.Dst[0].Register.File = dst_file
    [all...]
tgsi_lowering.c 47 struct tgsi_full_dst_register dst; member in struct:tgsi_lowering_context::__anon3570
67 reg_dst(struct tgsi_full_dst_register *dst,
70 *dst = *orig_dst;
71 dst->Register.WriteMask &= wrmask;
72 assert(dst->Register.WriteMask);
103 * if (dst.x aliases src.x) {
107 * COS dst.x, src.x
108 * SIN dst.y, src.x
109 * MOV dst.zw, imm{0.0, 1.0}
112 aliases(const struct tgsi_full_dst_register *dst, unsigned dst_mask
200 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
281 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
331 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
376 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
436 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
561 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
684 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
822 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
908 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
962 struct tgsi_full_dst_register *dst = &inst->Dst[0]; local
    [all...]
tgsi_point_sprite.c 256 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY,
305 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_TEMPORARY,
357 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_OUTPUT, ts->point_pos_out,
383 tgsi_transform_dst_reg(&inst.Dst[0], TGSI_FILE_OUTPUT,
430 else if (inst->Dst[0].Register.File == TGSI_FILE_OUTPUT &&
431 inst->Dst[0].Register.Index == (int)ts->point_size_out) {
437 inst->Dst[0].Register.File = TGSI_FILE_TEMPORARY;
438 inst->Dst[0].Register.Index = ts->point_size_tmp;
454 else if (inst->Dst[0].Register.File == TGSI_FILE_OUTPUT &&
455 inst->Dst[0].Register.Index == (int)ts->point_pos_out)
    [all...]
tgsi_exec.c 90 micro_abs(union tgsi_exec_channel *dst,
93 dst->f[0] = fabsf(src->f[0]);
94 dst->f[1] = fabsf(src->f[1]);
95 dst->f[2] = fabsf(src->f[2]);
96 dst->f[3] = fabsf(src->f[3]);
100 micro_arl(union tgsi_exec_channel *dst,
103 dst->i[0] = (int)floorf(src->f[0]);
104 dst->i[1] = (int)floorf(src->f[1]);
105 dst->i[2] = (int)floorf(src->f[2]);
106 dst->i[3] = (int)floorf(src->f[3])
1816 union tgsi_exec_channel *dst; local
1982 union tgsi_exec_channel *dst; local
2004 union tgsi_exec_channel *dst; local
3142 union tgsi_exec_channel dst; local
3161 struct tgsi_exec_vector dst; local
3191 union tgsi_exec_channel dst; local
3211 struct tgsi_exec_vector dst; local
3242 struct tgsi_exec_vector dst; local
3275 struct tgsi_exec_vector dst; local
3370 union tgsi_exec_channel arg[2], dst; local
3390 union tgsi_exec_channel arg, dst[2]; local
3421 struct tgsi_exec_vector dst; local
3693 union tgsi_exec_channel dst[2]; local
3731 union tgsi_double_channel dst; local
3752 union tgsi_double_channel dst; local
3793 union tgsi_double_channel dst; local
3817 union tgsi_double_channel dst; local
3841 union tgsi_double_channel dst; local
3863 union tgsi_double_channel dst; local
4606 union tgsi_double_channel dst; local
4627 union tgsi_exec_channel dst; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/compiler/
radeon_variable.h 46 struct rc_dst_register Dst;
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/compiler/
radeon_variable.h 46 struct rc_dst_register Dst;
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
st_atifs_to_tgsi.c 209 struct ureg_dst *dst, struct ureg_src *args, unsigned argcount)
215 ureg_ADD(t->ureg, *dst, args[0], ureg_negate(args[1]));
224 ureg_insn(t->ureg, TGSI_OPCODE_CMP, dst, 1, src, 3, 0);
229 ureg_insn(t->ureg, TGSI_OPCODE_CMP, dst, 1, src, 3, 0);
237 ureg_insn(t->ureg, TGSI_OPCODE_ADD, dst, 1, src, 2, 0);
244 struct ureg_dst *dst, struct ureg_src *args, unsigned argcount)
247 emit_special_inst(t, desc, dst, args, argcount);
251 ureg_insn(t->ureg, desc->TGSI_opcode, dst, 1, args, argcount, 0);
256 struct ureg_dst dst, GLuint dstMod)
289 src[0] = ureg_src(dst);
305 struct ureg_dst dst[1]; local
355 struct ureg_dst dst[1]; local
403 struct ureg_dst dst[1] = { { 0 } }; local
    [all...]
st_tgsi_lower_yuv.c 40 struct tgsi_full_dst_register dst; member in struct:tgsi_yuv_transform::__anon5008
63 reg_dst(struct tgsi_full_dst_register *dst,
66 *dst = *orig_dst;
67 dst->Register.WriteMask &= wrmask;
68 assert(dst->Register.WriteMask);
238 ctx->tmp[i].dst.Register.File = TGSI_FILE_TEMPORARY;
239 ctx->tmp[i].dst.Register.Index = tempbase + i;
240 ctx->tmp[i].dst.Register.WriteMask = TGSI_WRITEMASK_XYZW;
247 struct tgsi_full_dst_register *dst)
265 reg_dst(&inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_XYZ)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
st_tgsi_lower_yuv.c 39 struct tgsi_full_dst_register dst; member in struct:tgsi_yuv_transform::__anon2689
62 reg_dst(struct tgsi_full_dst_register *dst,
65 *dst = *orig_dst;
66 dst->Register.WriteMask &= wrmask;
67 assert(dst->Register.WriteMask);
237 ctx->tmp[i].dst.Register.File = TGSI_FILE_TEMPORARY;
238 ctx->tmp[i].dst.Register.Index = tempbase + i;
239 ctx->tmp[i].dst.Register.WriteMask = TGSI_WRITEMASK_XYZW;
246 struct tgsi_full_dst_register *dst)
264 reg_dst(&inst.Dst[0], &ctx->tmp[A].dst, TGSI_WRITEMASK_XYZ)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/
r300_vs_draw.c 251 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
252 new_inst.Dst[0].Register.Index = vsctx->pos_output;
253 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
263 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
264 new_inst.Dst[0].Register.Index = vsctx->num_outputs - 1;
265 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
276 struct tgsi_full_dst_register *dst = &inst->Dst[i]; local
277 if (dst->Register.File == TGSI_FILE_OUTPUT) {
278 if (dst->Register.Index == vsctx->pos_output)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/
r300_vs_draw.c 251 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
252 new_inst.Dst[0].Register.Index = vsctx->pos_output;
253 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
263 new_inst.Dst[0].Register.File = TGSI_FILE_OUTPUT;
264 new_inst.Dst[0].Register.Index = vsctx->num_outputs - 1;
265 new_inst.Dst[0].Register.WriteMask = TGSI_WRITEMASK_XYZW;
276 struct tgsi_full_dst_register *dst = &inst->Dst[i]; local
277 if (dst->Register.File == TGSI_FILE_OUTPUT) {
278 if (dst->Register.Index == vsctx->pos_output)
    [all...]

Completed in 12 milliseconds

1 2 3 4 5