Home
last modified time | relevance | path

Searched refs:ucp_enables (Results 1 – 22 of 22) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_clip.c74 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 …]
Dnir.h4874 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/
Dir3_shader.h282 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()
Dir3_nir.c455 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()
Dir3_shader.c346 key->ucp_enables = 0xff; in ir3_setup_used_key()
Dir3_compiler_nir.c3346 ctx->so->clip_mask = ctx->so->key.ucp_enables; in emit_instructions()
/external/mesa3d/src/broadcom/compiler/
Dvir.c942 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()
Dv3d_compiler.h354 uint8_t ucp_enables; member
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_draw.c143 emit.key.ucp_enables = ctx->rasterizer->clip_plane_enable; in fd3_draw_vbo()
Dfd3_emit.c615 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/
Dfd4_draw.c114 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd4_draw_vbo()
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c542 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/
Dir3_gallium.c191 .ucp_enables = MASK(nir->info.clip_distance_array_size), in ir3_shader_create()
Dir3_const.h479 if (v->key.ucp_enables) { in ir3_emit_vs_driver_params()
/external/mesa3d/src/mesa/state_tracker/
Dst_program.c658 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/
Dfd5_draw.c109 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd5_draw_vbo()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c1011 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/
Dfd6_draw.c160 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd6_draw_vbo()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir.h321 uint8_t ucp_enables; member
Dvc4_program.c2304 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/
Dtu_pipeline.c2103 key.ucp_enables = MASK(last_shader->ir3_shader->nir->info.clip_distance_array_size); in tu_pipeline_builder_compile_shaders()
/external/mesa3d/docs/relnotes/
D20.2.0.rst2437 - ir3: mark ucp_enables as allowed values on all keys