/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_clip.c | 74 unsigned ucp_enables, bool output, in create_clipdist_vars() argument 78 shader->info.clip_distance_array_size = util_last_bit(ucp_enables); in create_clipdist_vars() 84 if (ucp_enables & 0x0f) in create_clipdist_vars() 88 if (ucp_enables & 0xf0) in create_clipdist_vars() 233 unsigned ucp_enables, bool use_vars, in lower_clip_outputs() argument 257 if (ucp_enables & (1 << plane)) { in lower_clip_outputs() 266 if (use_clipdist_array && plane < util_last_bit(ucp_enables)) { in lower_clip_outputs() 278 if (ucp_enables & 0x0f) in lower_clip_outputs() 280 if (ucp_enables & 0xf0) in lower_clip_outputs() 283 if (ucp_enables & 0x0f) in lower_clip_outputs() [all …]
|
D | nir.h | 5314 bool nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables, 5318 bool nir_lower_clip_gs(nir_shader *shader, unsigned ucp_enables, 5321 bool nir_lower_clip_fs(nir_shader *shader, unsigned ucp_enables,
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.h | 277 unsigned ucp_enables : 8; member 375 if (last_key->ucp_enables != key->ucp_enables) in ir3_shader_key_changes_fs() 395 if (last_key->ucp_enables != key->ucp_enables) in ir3_shader_key_changes_vs()
|
D | ir3_nir.c | 666 if (so->key.ucp_enables) in ir3_nir_lower_variant() 668 OPT(s, nir_lower_clip_vs, so->key.ucp_enables, false, false, NULL); in ir3_nir_lower_variant() 675 if (so->key.ucp_enables && !so->shader->compiler->has_clip_cull) in ir3_nir_lower_variant() 676 progress |= OPT(s, nir_lower_clip_fs, so->key.ucp_enables, false); in ir3_nir_lower_variant()
|
D | ir3_shader.c | 474 key->ucp_enables = 0xff; in ir3_setup_used_key()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_draw.c | 94 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd4_draw_vbo()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_draw.c | 125 emit.key.key.ucp_enables = ctx->rasterizer->clip_plane_enable; in fd3_draw_vbo()
|
D | fd3_emit.c | 625 if (!emit->key.key.ucp_enables) in fd3_emit_state() 636 if (emit->key.key.ucp_enables) in fd3_emit_state()
|
/third_party/mesa3d/src/broadcom/compiler/ |
D | vir.c | 993 if (c->key->ucp_enables) { in v3d_nir_lower_gs_late() 994 NIR_PASS_V(c->s, nir_lower_clip_gs, c->key->ucp_enables, in v3d_nir_lower_gs_late() 1005 if (c->key->ucp_enables) { in v3d_nir_lower_vs_late() 1006 NIR_PASS_V(c->s, nir_lower_clip_vs, c->key->ucp_enables, in v3d_nir_lower_vs_late() 1026 if (c->key->ucp_enables) in v3d_nir_lower_fs_late() 1027 NIR_PASS_V(c->s, nir_lower_clip_fs, c->key->ucp_enables, true); in v3d_nir_lower_fs_late()
|
D | v3d_compiler.h | 389 uint8_t ucp_enables; member
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_program.c | 540 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_fs() 661 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_gs() 731 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_vs()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_program.c | 722 unsigned ucp_enables, in lower_ucp() argument 726 NIR_PASS_V(nir, nir_lower_clip_disable, ucp_enables); in lower_ucp() 746 NIR_PASS_V(nir, nir_lower_clip_vs, ucp_enables, in lower_ucp() 749 NIR_PASS_V(nir, nir_lower_clip_gs, ucp_enables, in lower_ucp()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline.c | 1022 uint32_t ucp_enables, in pipeline_populate_v3d_key() argument 1084 key->ucp_enables = ucp_enables; in pipeline_populate_v3d_key() 1131 uint32_t ucp_enables) in pipeline_populate_v3d_fs_key() argument 1138 pipeline_populate_v3d_key(&key->base, p_stage, ucp_enables, rba); in pipeline_populate_v3d_fs_key()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_gallium.c | 189 .ucp_enables = MASK(nir->info.clip_distance_array_size), in create_initial_variants()
|
D | ir3_const.h | 453 if (v->key.ucp_enables) { in ir3_emit_vs_driver_params()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qir.h | 320 uint8_t ucp_enables; member
|
D | vc4_program.c | 2296 if (c->key->ucp_enables) { in vc4_shader_ntq() 2299 c->key->ucp_enables, false); in vc4_shader_ntq() 2302 c->key->ucp_enables, false, false, NULL); in vc4_shader_ntq() 2689 key->ucp_enables = vc4->rasterizer->base.clip_plane_enable; in vc4_setup_shared_key()
|
/third_party/mesa3d/docs/relnotes/ |
D | 20.2.0.rst | 2437 - ir3: mark ucp_enables as allowed values on all keys
|