Home
last modified time | relevance | path

Searched refs:clip_enable (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state_validate.c355 uint8_t clip_enable = nv50->rast->pipe.clip_plane_enable; in nv50_validate_clip() local
368 if (clip_enable) in nv50_validate_clip()
369 nv50_check_program_ucps(nv50, vp, clip_enable); in nv50_validate_clip()
371 clip_enable &= vp->vp.clip_enable; in nv50_validate_clip()
372 clip_enable |= vp->vp.cull_enable; in nv50_validate_clip()
375 PUSH_DATA (push, clip_enable); in nv50_validate_clip()
Dnv50_program.h87 uint8_t clip_enable; /* mask of defined clip planes */ member
Dnv50_program.c410 prog->vp.clip_enable = (1 << info_out.io.clipDistances) - 1; in nv50_program_translate()
Dnv50_shader_state.c438 uint32_t clpd_nr = util_last_bit(vp->vp.clip_enable | vp->vp.cull_enable); in nv50_fp_linkage_validate()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c512 uint8_t clip_enable = nvc0->rast->pipe.clip_plane_enable; in nvc0_validate_clip() local
526 if (clip_enable && vp->vp.num_ucps < PIPE_MAX_CLIP_PLANES) in nvc0_validate_clip()
527 nvc0_check_program_ucps(nvc0, vp, clip_enable); in nvc0_validate_clip()
533 clip_enable &= vp->vp.clip_enable; in nvc0_validate_clip()
534 clip_enable |= vp->vp.cull_enable; in nvc0_validate_clip()
536 if (nvc0->state.clip_enable != clip_enable) { in nvc0_validate_clip()
537 nvc0->state.clip_enable = clip_enable; in nvc0_validate_clip()
538 IMMED_NVC0(push, NVC0_3D(CLIP_DISTANCE_ENABLE), clip_enable); in nvc0_validate_clip()
Dnvc0_program.h40 uint8_t clip_enable; /* mask of defined clip planes */ member
Dnvc0_screen.h56 uint8_t clip_enable; member
Dnvc0_program.c267 vp->vp.clip_enable = (1 << info->io.clipDistances) - 1; in nvc0_vtgp_gen_header()