| /xsrc/external/mit/xsm/dist/ |
| printhex.c | 69 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
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| st_atom_clip.c | 50 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/mesa/state_tracker/ |
| st_atom_clip.c | 50 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/gallium/drivers/nouveau/codegen/ |
| nv50_ir_from_common.cpp | 90 Value *ucp = mkLoadv(TYPE_F32, sym, NULL); local 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/gallium/drivers/nouveau/codegen/ |
| nv50_ir_from_common.cpp | 88 Value *ucp = mkLoadv(TYPE_F32, sym, NULL); local 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/mesa/math/ |
| m_eval.c | 131 GLfloat *ucp = &cn[j * dim]; local 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/mesa/math/ |
| m_eval.c | 131 GLfloat *ucp = &cn[j * dim]; local 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/ |
| nir_lower_clip.c | 33 * from UCP[n] + CLIPVERTEX or POSITION. Additionally, an optional pass 153 /* ucp_enables is bitmask of enabled ucps. Actual ucp values are 237 nir_ssa_def *ucp = nir_load_user_clip_plane(&b, plane); local 239 /* calculate clipdist[plane] - dot(ucp, cv): */ 240 clipdist[plane] = nir_fdot4(&b, ucp, cv);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ir3/ |
| ir3_const.h | 454 struct pipe_clip_state *ucp = &ctx->ucp; variable in typeref:struct:pipe_clip_state 458 vertex_params[pos] = fui(ucp->ucp[i][j]); 464 /* Only emit as many params as needed, i.e. up to the highest enabled UCP
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ir3/ |
| ir3_gallium.c | 550 struct pipe_clip_state *ucp = &ctx->ucp; local 554 vertex_params[pos] = fui(ucp->ucp[i][j]);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| svga_state_framebuffer.c | 798 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/dist/src/gallium/drivers/freedreno/a3xx/ |
| fd3_emit.c | 645 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/ |
| radeon_state_init.c | 570 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 ) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a3xx/ |
| fd3_emit.c | 608 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.old/dist/src/mesa/drivers/dri/radeon/ |
| radeon_state_init.c | 570 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 ) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/ |
| stateblock9.c | 238 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 = src->changed.ucp;* [all...] |
| nine_state.h | 180 uint8_t ucp; member in struct:nine_state::__anon2168 234 BOOL ucp; member in struct:nine_context::__anon2169
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/ |
| stateblock9.c | 238 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 = src->changed.ucp;* [all...] |
| nine_state.h | 178 uint8_t ucp; member in struct:nine_state::__anon4549 232 BOOL ucp; member in struct:nine_context::__anon4550
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/ |
| nv30_state.c | 314 memcpy(nv30->clip.ucp, clip->ucp, sizeof(clip->ucp));
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/ |
| nv30_state.c | 314 memcpy(nv30->clip.ucp, clip->ucp, sizeof(clip->ucp));
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| nir_lower_clip.c | 33 * from UCP[n] + CLIPVERTEX or POSITION. Additionally, an optional pass 258 nir_ssa_def *ucp = get_ucp(b, plane, clipplane_state_tokens); local 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/dist/src/mesa/drivers/dri/r200/ |
| r200_state_init.c | 727 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 ) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/r200/ |
| r200_state_init.c | 727 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 ) [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| svga_state_framebuffer.c | 862 float a = svga->curr.clip.ucp[i][0]; 863 float b = svga->curr.clip.ucp[i][1]; 864 float c = svga->curr.clip.ucp[i][2]; 865 float d = svga->curr.clip.ucp[i][3];
|