Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_clip.c74 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 …]
Dnir.h5314 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/
Dir3_shader.h277 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()
Dir3_nir.c666 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()
Dir3_shader.c474 key->ucp_enables = 0xff; in ir3_setup_used_key()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_draw.c94 .ucp_enables = ctx->rasterizer->clip_plane_enable, in fd4_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_draw.c125 emit.key.key.ucp_enables = ctx->rasterizer->clip_plane_enable; in fd3_draw_vbo()
Dfd3_emit.c625 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/
Dvir.c993 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()
Dv3d_compiler.h389 uint8_t ucp_enables; member
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_program.c540 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/
Dst_program.c722 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/
Dv3dv_pipeline.c1022 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/
Dir3_gallium.c189 .ucp_enables = MASK(nir->info.clip_distance_array_size), in create_initial_variants()
Dir3_const.h453 if (v->key.ucp_enables) { in ir3_emit_vs_driver_params()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_qir.h320 uint8_t ucp_enables; member
Dvc4_program.c2296 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/
D20.2.0.rst2437 - ir3: mark ucp_enables as allowed values on all keys