Home
last modified time | relevance | path

Searched refs:ngg_cull_shader (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_internal.h167 void si_init_shader_args(struct si_shader_context *ctx, bool ngg_cull_shader);
171 const struct si_shader_key *key, bool ngg_cull_shader);
173 bool ngg_cull_shader, const struct si_vs_prolog_bits *prolog_key,
206 void si_llvm_create_main_func(struct si_shader_context *ctx, bool ngg_cull_shader);
228 struct nir_shader *nir, bool free_nir, bool ngg_cull_shader);
247 void si_llvm_init_tes_callbacks(struct si_shader_context *ctx, bool ngg_cull_shader);
270 void si_llvm_init_vs_callbacks(struct si_shader_context *ctx, bool ngg_cull_shader);
Dsi_shader_llvm.c195 void si_llvm_create_main_func(struct si_shader_context *ctx, bool ngg_cull_shader) in si_llvm_create_main_func() argument
201 si_init_shader_args(ctx, ngg_cull_shader); in si_llvm_create_main_func()
208 si_llvm_create_func(ctx, ngg_cull_shader ? "ngg_cull_main" : "main", returns, in si_llvm_create_main_func()
815 struct nir_shader *nir, bool free_nir, bool ngg_cull_shader) in si_llvm_translate_nir() argument
833 si_llvm_init_vs_callbacks(ctx, ngg_cull_shader); in si_llvm_translate_nir()
839 si_llvm_init_tes_callbacks(ctx, ngg_cull_shader); in si_llvm_translate_nir()
855 si_llvm_create_main_func(ctx, ngg_cull_shader); in si_llvm_translate_nir()
930 !si_vs_needs_prolog(sel, &shader->key.part.vs.prolog, &shader->key, ngg_cull_shader)))) in si_llvm_translate_nir()
Dsi_shader.c377 void si_init_shader_args(struct si_shader_context *ctx, bool ngg_cull_shader) in si_init_shader_args() argument
562 if ((ctx->shader->key.as_es || ngg_cull_shader) && in si_init_shader_args()
566 if (ctx->stage == MESA_SHADER_VERTEX && ngg_cull_shader) { in si_init_shader_args()
577 } else if (ctx->stage == MESA_SHADER_TESS_EVAL && ngg_cull_shader) { in si_init_shader_args()
588 num_vgprs = ngg_cull_shader ? 9 : 5; in si_init_shader_args()
1273 const struct si_shader_key *key, bool ngg_cull_shader) in si_vs_needs_prolog() argument
1279 (key->opt.ngg_culling && !ngg_cull_shader); in si_vs_needs_prolog()
1294 bool ngg_cull_shader, const struct si_vs_prolog_bits *prolog_key, in si_get_vs_prolog_key() argument
1305 if (!ngg_cull_shader && shader_out->key.opt.ngg_culling) in si_get_vs_prolog_key()
Dsi_shader_llvm_vs.c989 void si_llvm_init_vs_callbacks(struct si_shader_context *ctx, bool ngg_cull_shader) in si_llvm_init_vs_callbacks() argument
997 else if (ngg_cull_shader) in si_llvm_init_vs_callbacks()
Dsi_shader_llvm_tess.c1081 void si_llvm_init_tes_callbacks(struct si_shader_context *ctx, bool ngg_cull_shader) in si_llvm_init_tes_callbacks() argument
1089 else if (ngg_cull_shader) in si_llvm_init_tes_callbacks()