Searched refs:ucp (Results 1 - 25 of 95) sorted by relevance

1234

/xsrc/external/mit/xsm/dist/
H A Dprinthex.c69 unsigned char *ucp = (unsigned char *) cp;
71 for (; len > 0; len--, ucp++)
73 register const char *s = hex_table[*ucp];
68 unsigned char *ucp = (unsigned char *) cp; local in function:fprintfhex
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_atom_clip.c50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
60 memcpy(clip.ucp,
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_atom_clip.c50 STATIC_ASSERT(sizeof(clip.ucp) <= sizeof(ctx->Transform._ClipUserPlane));
60 memcpy(clip.ucp,
62 : ctx->Transform._ClipUserPlane, sizeof(clip.ucp));
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_from_common.cpp88 Value *ucp = mkLoadv(TYPE_F32, sym, NULL); local in function:nv50_ir::ConverterCommon::handleUserClipPlanes
90 res[i] = mkOp2v(OP_MUL, TYPE_F32, getScratch(), clipVtx[c], ucp);
92 mkOp3(OP_MAD, TYPE_F32, res[i], clipVtx[c], ucp, res[i]);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_from_common.cpp90 Value *ucp = mkLoadv(TYPE_F32, sym, NULL); local in function:nv50_ir::ConverterCommon::handleUserClipPlanes
92 res[i] = mkOp2v(OP_MUL, TYPE_F32, getScratch(), clipVtx[c], ucp);
94 mkOp3(OP_MAD, TYPE_F32, res[i], clipVtx[c], ucp, res[i]);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/math/
H A Dm_eval.c131 GLfloat *ucp = &cn[j * dim]; local in function:_math_horner_bezier_surf
139 cp[j * dim + k] = s * ucp[k] + bincoeff * u * ucp[uinc + k];
141 for (i = 2, ucp += 2 * uinc, poweru = u * u; i < uorder;
142 i++, poweru *= u, ucp += uinc) {
148 s * cp[j * dim + k] + bincoeff * poweru * ucp[k];
/xsrc/external/mit/MesaLib/dist/src/mesa/math/
H A Dm_eval.c131 GLfloat *ucp = &cn[j * dim]; local in function:_math_horner_bezier_surf
139 cp[j * dim + k] = s * ucp[k] + bincoeff * u * ucp[uinc + k];
141 for (i = 2, ucp += 2 * uinc, poweru = u * u; i < uorder;
142 i++, poweru *= u, ucp += uinc) {
148 s * cp[j * dim + k] + bincoeff * poweru * ucp[k];
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_clip.c153 /* ucp_enables is bitmask of enabled ucps. Actual ucp values are
237 nir_ssa_def *ucp = nir_load_user_clip_plane(&b, plane); local in function:nir_lower_clip_vs
239 /* calculate clipdist[plane] - dot(ucp, cv): */
240 clipdist[plane] = nir_fdot4(&b, ucp, cv);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
H A Dsvga_state_framebuffer.c798 float a = svga->curr.clip.ucp[i][0];
799 float b = svga->curr.clip.ucp[i][1];
800 float c = svga->curr.clip.ucp[i][2];
801 float d = svga->curr.clip.ucp[i][3];
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ir3/
H A Dir3_gallium.c550 struct pipe_clip_state *ucp = &ctx->ucp; local in function:ir3_emit_vs_consts
554 vertex_params[pos] = fui(ucp->ucp[i][j]);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ir3/
H A Dir3_const.h454 struct pipe_clip_state *ucp = &ctx->ucp; local in function:ir3_emit_vs_driver_params
458 vertex_params[pos] = fui(ucp->ucp[i][j]);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_state_init.c570 ALLOC_STATE( ucp[0], tcl_ucp0_add4, UCP_STATE_SIZE, "UCP/userclip-0", 1 );
571 ALLOC_STATE( ucp[1], tcl_ucp1_add4, UCP_STATE_SIZE, "UCP/userclip-1", 1 );
572 ALLOC_STATE( ucp[2], tcl_ucp2_add4, UCP_STATE_SIZE, "UCP/userclip-2", 1 );
573 ALLOC_STATE( ucp[3], tcl_ucp3_add4, UCP_STATE_SIZE, "UCP/userclip-3", 1 );
574 ALLOC_STATE( ucp[4], tcl_ucp4_add4, UCP_STATE_SIZE, "UCP/userclip-4", 1 );
575 ALLOC_STATE( ucp[5], tcl_ucp5_add4, UCP_STATE_SIZE, "UCP/userclip-5", 1 );
646 rmesa->hw.ucp[i].cmd[UCP_CMD_0] =
665 rmesa->hw.ucp[i].emit = vec_emit;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_emit.c608 OUT_RING(ring, fui(ctx->ucp.ucp[i][0]));
609 OUT_RING(ring, fui(ctx->ucp.ucp[i][1]));
610 OUT_RING(ring, fui(ctx->ucp.ucp[i][2]));
611 OUT_RING(ring, fui(ctx->ucp.ucp[i][3]));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_emit.c645 OUT_RING(ring, fui(ctx->ucp.ucp[i][0]));
646 OUT_RING(ring, fui(ctx->ucp.ucp[i][1]));
647 OUT_RING(ring, fui(ctx->ucp.ucp[i][2]));
648 OUT_RING(ring, fui(ctx->ucp.ucp[i][3]));
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
H A Dradeon_state_init.c570 ALLOC_STATE( ucp[0], tcl_ucp0_add4, UCP_STATE_SIZE, "UCP/userclip-0", 1 );
571 ALLOC_STATE( ucp[1], tcl_ucp1_add4, UCP_STATE_SIZE, "UCP/userclip-1", 1 );
572 ALLOC_STATE( ucp[2], tcl_ucp2_add4, UCP_STATE_SIZE, "UCP/userclip-2", 1 );
573 ALLOC_STATE( ucp[3], tcl_ucp3_add4, UCP_STATE_SIZE, "UCP/userclip-3", 1 );
574 ALLOC_STATE( ucp[4], tcl_ucp4_add4, UCP_STATE_SIZE, "UCP/userclip-4", 1 );
575 ALLOC_STATE( ucp[5], tcl_ucp5_add4, UCP_STATE_SIZE, "UCP/userclip-5", 1 );
646 rmesa->hw.ucp[i].cmd[UCP_CMD_0] =
665 rmesa->hw.ucp[i].emit = vec_emit;
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
H A Dstateblock9.c238 if (mask->changed.ucp) {
239 DBG("ucp: %x\n", mask->changed.ucp);
241 if (mask->changed.ucp & (1 << i))
242 memcpy(dst->clip.ucp[i],
243 src->clip.ucp[i], sizeof(src->clip.ucp[0]));
245 * dst->changed.ucp |= mask->changed.ucp;*/
443 * dst->changed.ucp
[all...]
H A Dnine_state.h178 uint8_t ucp; member in struct:nine_state::__anon97a8ae2a0208
232 BOOL ucp; member in struct:nine_context::__anon97a8ae2a0308
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
H A Dstateblock9.c238 if (mask->changed.ucp) {
239 DBG("ucp: %x\n", mask->changed.ucp);
241 if (mask->changed.ucp & (1 << i))
242 memcpy(dst->clip.ucp[i],
243 src->clip.ucp[i], sizeof(src->clip.ucp[0]));
245 * dst->changed.ucp |= mask->changed.ucp;*/
443 * dst->changed.ucp
[all...]
H A Dnine_state.h180 uint8_t ucp; member in struct:nine_state::__anon9e15edb10208
234 BOOL ucp; member in struct:nine_context::__anon9e15edb10308
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state.c314 memcpy(nv30->clip.ucp, clip->ucp, sizeof(clip->ucp));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state.c314 memcpy(nv30->clip.ucp, clip->ucp, sizeof(clip->ucp));
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_clip.c258 nir_ssa_def *ucp = get_ucp(b, plane, clipplane_state_tokens); local in function:lower_clip_outputs
260 /* calculate clipdist[plane] - dot(ucp, cv): */
261 clipdist[plane] = nir_fdot(b, ucp, cv);
295 /* ucp_enables is bitmask of enabled ucps. Actual ucp values are
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/
H A Dr200_state_init.c727 ALLOC_STATE( ucp[0], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-0", 0 );
728 ALLOC_STATE( ucp[1], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-1", 1 );
729 ALLOC_STATE( ucp[2], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-2", 2 );
730 ALLOC_STATE( ucp[3], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-3", 3 );
731 ALLOC_STATE( ucp[4], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-4", 4 );
732 ALLOC_STATE( ucp[5], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-5", 5 );
848 rmesa->hw.ucp[i].emit = vec_emit;
906 rmesa->hw.ucp[i].cmd[UCP_CMD_0] =
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/r200/
H A Dr200_state_init.c727 ALLOC_STATE( ucp[0], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-0", 0 );
728 ALLOC_STATE( ucp[1], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-1", 1 );
729 ALLOC_STATE( ucp[2], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-2", 2 );
730 ALLOC_STATE( ucp[3], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-3", 3 );
731 ALLOC_STATE( ucp[4], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-4", 4 );
732 ALLOC_STATE( ucp[5], tcl_ucp_add4, UCP_STATE_SIZE, "UCP/userclip-5", 5 );
848 rmesa->hw.ucp[i].emit = vec_emit;
906 rmesa->hw.ucp[i].cmd[UCP_CMD_0] =
/xsrc/external/mit/MesaLib.old/dist/src/gallium/include/pipe/
H A Dp_state.h230 float ucp[PIPE_MAX_CLIP_PLANES][4]; member in struct:pipe_clip_state

Completed in 28 milliseconds

1234