/external/mesa3d/src/compiler/nir/ |
D | nir_lower_clip.c | 74 unsigned ucp_enables, bool output, in create_clipdist_vars() argument 81 util_last_bit(ucp_enables)); in create_clipdist_vars() 83 if (ucp_enables & 0x0f) in create_clipdist_vars() 87 if (ucp_enables & 0xf0) in create_clipdist_vars() 246 unsigned ucp_enables, bool use_vars, in lower_clip_outputs() argument 270 if (ucp_enables & (1 << plane)) { in lower_clip_outputs() 279 if (use_clipdist_array && plane < util_last_bit(ucp_enables)) { in lower_clip_outputs() 291 if (ucp_enables & 0x0f) in lower_clip_outputs() 293 if (ucp_enables & 0xf0) in lower_clip_outputs() 296 if (ucp_enables & 0x0f) in lower_clip_outputs() [all …]
|
D | nir.h | 4874 bool nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables, 4878 bool nir_lower_clip_gs(nir_shader *shader, unsigned ucp_enables, 4881 bool nir_lower_clip_fs(nir_shader *shader, unsigned ucp_enables,
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.h | 282 unsigned ucp_enables : 8; member 398 if (last_key->ucp_enables != key->ucp_enables) in ir3_shader_key_changes_fs() 423 if (last_key->ucp_enables != key->ucp_enables) in ir3_shader_key_changes_vs()
|
D | ir3_nir.c | 455 if (so->key.ucp_enables) in ir3_nir_lower_variant() 456 progress |= OPT(s, nir_lower_clip_vs, so->key.ucp_enables, false, false, NULL); in ir3_nir_lower_variant() 463 if (so->key.ucp_enables && !so->shader->compiler->has_clip_cull) in ir3_nir_lower_variant() 464 progress |= OPT(s, nir_lower_clip_fs, so->key.ucp_enables, false); in ir3_nir_lower_variant()
|
D | ir3_shader.c | 346 key->ucp_enables = 0xff; in ir3_setup_used_key()
|
D | ir3_compiler_nir.c | 3346 ctx->so->clip_mask = ctx->so->key.ucp_enables; in emit_instructions()
|
/external/mesa3d/src/broadcom/compiler/ |
D | vir.c | 942 if (c->key->ucp_enables) { in v3d_nir_lower_gs_late() 943 NIR_PASS_V(c->s, nir_lower_clip_gs, c->key->ucp_enables, in v3d_nir_lower_gs_late() 957 if (c->key->ucp_enables) { in v3d_nir_lower_vs_late() 958 NIR_PASS_V(c->s, nir_lower_clip_vs, c->key->ucp_enables, in v3d_nir_lower_vs_late() 984 if (c->key->ucp_enables) in v3d_nir_lower_fs_late() 985 NIR_PASS_V(c->s, nir_lower_clip_fs, c->key->ucp_enables, true); in v3d_nir_lower_fs_late()
|
D | v3d_compiler.h | 354 uint8_t ucp_enables; member
|
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
D | fd3_draw.c | 143 emit.key.ucp_enables = ctx->rasterizer->clip_plane_enable; in fd3_draw_vbo()
|
D | fd3_emit.c | 615 if (!emit->key.ucp_enables) in fd3_emit_state() 626 if (emit->key.ucp_enables) in fd3_emit_state()
|
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
D | fd4_draw.c | 114 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd4_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_program.c | 542 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_fs() 672 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_gs() 742 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_vs()
|
/external/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_gallium.c | 191 .ucp_enables = MASK(nir->info.clip_distance_array_size), in ir3_shader_create()
|
D | ir3_const.h | 479 if (v->key.ucp_enables) { in ir3_emit_vs_driver_params()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_program.c | 658 unsigned ucp_enables, in lower_ucp() argument 662 NIR_PASS_V(nir, nir_lower_clip_disable, ucp_enables); in lower_ucp() 683 NIR_PASS_V(nir, nir_lower_clip_vs, ucp_enables, in lower_ucp() 686 NIR_PASS_V(nir, nir_lower_clip_gs, ucp_enables, in lower_ucp()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_draw.c | 109 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd5_draw_vbo()
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline.c | 1011 uint32_t ucp_enables, in pipeline_populate_v3d_key() argument 1056 key->ucp_enables = ucp_enables; in pipeline_populate_v3d_key() 1102 uint32_t ucp_enables) in pipeline_populate_v3d_fs_key() argument 1107 pipeline_populate_v3d_key(&key->base, p_stage, ucp_enables, rba); in pipeline_populate_v3d_fs_key()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_draw.c | 160 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd6_draw_vbo()
|
/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_qir.h | 321 uint8_t ucp_enables; member
|
D | vc4_program.c | 2304 if (c->key->ucp_enables) { in vc4_shader_ntq() 2307 c->key->ucp_enables, false); in vc4_shader_ntq() 2310 c->key->ucp_enables, false, false, NULL); in vc4_shader_ntq() 2693 key->ucp_enables = vc4->rasterizer->base.clip_plane_enable; in vc4_setup_shared_key()
|
/external/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 2103 key.ucp_enables = MASK(last_shader->ir3_shader->nir->info.clip_distance_array_size); in tu_pipeline_builder_compile_shaders()
|
/external/mesa3d/docs/relnotes/ |
D | 20.2.0.rst | 2437 - ir3: mark ucp_enables as allowed values on all keys
|