Home
last modified time | relevance | path

Searched refs:ucp_enables (Results 1 - 19 of 19) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_clip.c75 unsigned ucp_enables, bool output, in create_clipdist_vars()
78 shader->info.clip_distance_array_size = util_last_bit(ucp_enables); in create_clipdist_vars()
85 if (ucp_enables & 0x0f) in create_clipdist_vars()
89 if (ucp_enables & 0xf0) in create_clipdist_vars()
249 unsigned ucp_enables, bool use_vars, in lower_clip_outputs()
273 if (ucp_enables & (1 << plane)) { in lower_clip_outputs()
282 if (use_clipdist_array && use_vars && plane < util_last_bit(ucp_enables)) { in lower_clip_outputs()
293 if (ucp_enables & 0x0f) in lower_clip_outputs()
295 if (ucp_enables & 0xf0) in lower_clip_outputs()
298 if (ucp_enables in lower_clip_outputs()
74 create_clipdist_vars(nir_shader *shader, nir_variable **io_vars, unsigned ucp_enables, bool output, bool use_clipdist_array) create_clipdist_vars() argument
247 lower_clip_outputs(nir_builder *b, nir_variable *position, nir_variable *clipvertex, nir_variable **out, unsigned ucp_enables, bool use_vars, bool use_clipdist_array, const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]) lower_clip_outputs() argument
325 nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables, bool use_vars, bool use_clipdist_array, const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]) nir_lower_clip_vs() argument
369 lower_clip_in_gs_block(nir_builder *b, nir_block *block, nir_variable *position, nir_variable *clipvertex, nir_variable **out, unsigned ucp_enables, bool use_clipdist_array, const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]) lower_clip_in_gs_block() argument
398 nir_lower_clip_gs(nir_shader *shader, unsigned ucp_enables, bool use_clipdist_array, const gl_state_index16 clipplane_state_tokens[][STATE_LENGTH]) nir_lower_clip_gs() argument
436 lower_clip_fs(nir_function_impl *impl, unsigned ucp_enables, nir_variable **in, bool use_clipdist_array) lower_clip_fs() argument
472 fs_has_clip_dist_input_var(nir_shader *shader, nir_variable **io_vars, unsigned *ucp_enables) fs_has_clip_dist_input_var() argument
493 nir_lower_clip_fs(nir_shader *shader, unsigned ucp_enables, bool use_clipdist_array) nir_lower_clip_fs() argument
[all...]
H A Dnir.h5233 bool nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables,
5237 bool nir_lower_clip_gs(nir_shader *shader, unsigned ucp_enables,
5240 bool nir_lower_clip_fs(nir_shader *shader, unsigned ucp_enables,
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_shader.h282 unsigned ucp_enables : 8; member
402 if (last_key->ucp_enables != key->ucp_enables) in ir3_shader_key_changes_fs()
424 if (last_key->ucp_enables != key->ucp_enables) in ir3_shader_key_changes_vs()
H A Dir3_nir.c614 if (!so->key.ucp_enables) in lower_ucp_vs()
673 progress |= OPT(s, nir_lower_clip_vs, so->key.ucp_enables, false, true, NULL); in ir3_nir_lower_variant()
680 if (so->key.ucp_enables && !so->compiler->has_clip_cull) in ir3_nir_lower_variant()
681 progress |= OPT(s, nir_lower_clip_fs, so->key.ucp_enables, true); in ir3_nir_lower_variant()
H A Dir3_shader.c523 * ucp_enables to determine whether to lower legacy clip planes to in ir3_setup_used_key()
527 key->ucp_enables = 0xff; in ir3_setup_used_key()
H A Dir3_compiler_nir.c4050 * use the NIR clip/cull distances to avoid reading ucp_enables in the in pack_inlocs()
4392 ctx->so->clip_mask = ctx->so->key.ucp_enables | in emit_instructions()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_draw.c125 emit.key.key.ucp_enables = ctx->rasterizer->clip_plane_enable;
H A Dfd3_emit.c616 if (!emit->key.key.ucp_enables) in fd3_emit_state()
627 if (emit->key.key.ucp_enables) in fd3_emit_state()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_program.c637 unsigned ucp_enables, in lower_ucp()
641 NIR_PASS_V(nir, nir_lower_clip_disable, ucp_enables); in lower_ucp()
662 NIR_PASS_V(nir, nir_lower_clip_vs, ucp_enables, in lower_ucp()
665 NIR_PASS_V(nir, nir_lower_clip_gs, ucp_enables, in lower_ucp()
635 lower_ucp(struct st_context *st, struct nir_shader *nir, unsigned ucp_enables, struct gl_program_parameter_list *params) lower_ucp() argument
/third_party/mesa3d/src/broadcom/compiler/
H A Dvir.c1017 if (c->key->ucp_enables) { in v3d_nir_lower_gs_late()
1018 NIR_PASS(_, c->s, nir_lower_clip_gs, c->key->ucp_enables, in v3d_nir_lower_gs_late()
1029 if (c->key->ucp_enables) { in v3d_nir_lower_vs_late()
1030 NIR_PASS(_, c->s, nir_lower_clip_vs, c->key->ucp_enables, in v3d_nir_lower_vs_late()
1050 if (c->key->ucp_enables) in v3d_nir_lower_fs_late()
1051 NIR_PASS(_, c->s, nir_lower_clip_fs, c->key->ucp_enables, true); in v3d_nir_lower_fs_late()
H A Dv3d_compiler.h405 uint8_t ucp_enables;
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_draw.c94 .ucp_enables = ctx->rasterizer->clip_plane_enable,
/third_party/mesa3d/src/gallium/drivers/v3d/
H A Dv3d_program.c558 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_fs()
680 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_gs()
750 key->base.ucp_enables = v3d->rasterizer->base.clip_plane_enable; in v3d_update_compiled_vs()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_gallium.c189 .ucp_enables = MASK(nir->info.clip_distance_array_size), in create_initial_variants()
H A Dir3_const.h469 if (v->key.ucp_enables) {
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_pipeline.c1035 uint32_t ucp_enables, in pipeline_populate_v3d_key()
1097 key->ucp_enables = ucp_enables; in pipeline_populate_v3d_key()
1144 uint32_t ucp_enables) in pipeline_populate_v3d_fs_key()
1151 pipeline_populate_v3d_key(&key->base, p_stage, ucp_enables, rba); in pipeline_populate_v3d_fs_key()
1033 pipeline_populate_v3d_key(struct v3d_key *key, const struct v3dv_pipeline_stage *p_stage, uint32_t ucp_enables, bool robust_buffer_access) pipeline_populate_v3d_key() argument
1140 pipeline_populate_v3d_fs_key(struct v3d_fs_key *key, const VkGraphicsPipelineCreateInfo *pCreateInfo, const struct v3dv_pipeline_stage *p_stage, bool has_geometry_shader, uint32_t ucp_enables) pipeline_populate_v3d_fs_key() argument
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_qir.h320 uint8_t ucp_enables; member
H A Dvc4_program.c2280 if (c->key->ucp_enables) { in vc4_shader_ntq()
2283 c->key->ucp_enables, false); in vc4_shader_ntq()
2286 c->key->ucp_enables, false, false, NULL); in vc4_shader_ntq()
2673 key->ucp_enables = vc4->rasterizer->base.clip_plane_enable; in vc4_setup_shared_key()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_draw.c154 .ucp_enables = ctx->rasterizer->clip_plane_enable,

Completed in 39 milliseconds