Searched refs:ngg_culling (Results 1 - 10 of 10) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/amd/common/
H A Dac_shader_util.h105 void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_culling,
H A Dac_shader_util.c450 void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_culling, argument
474 if (ngg_culling)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/radeonsi/
H A Dsi_shader.h680 unsigned ngg_culling : 4; /* SI_NGG_CULL_* */ member in struct:si_shader_key::__anon396a29301308
957 !(shader->key.opt.ngg_culling & SI_NGG_CULL_LINES))
H A Dsi_state_draw.cpp2287 uint8_t old_ngg_culling = sctx->ngg_culling;
2302 uint8_t ngg_culling = sctx->viewport0_y_inverted ? rs->ngg_cull_flags_y_inverted : local in function:si_draw
2304 assert(ngg_culling); /* rasterizer state should always set this to non-zero */
2308 ngg_culling = SI_NGG_CULL_ENABLED | SI_NGG_CULL_LINES;
2311 if (ngg_culling != old_ngg_culling) {
2313 sctx->ngg_culling = ngg_culling;
2317 sctx->ngg_culling = 0;
2328 /* si_update_shaders can clear the ngg_culling in the shader key if the shader compilation
2332 sctx->ngg_culling
[all...]
H A Dgfx10_shader_ngg.c86 } else if (ctx->shader->key.opt.ngg_culling & SI_NGG_CULL_LINES) {
140 if (gfx10_is_ngg_passthrough(ctx->shader) || ctx->shader->key.opt.ngg_culling) {
620 if (shader->key.opt.ngg_culling) {
826 assert(shader->key.opt.ngg_culling);
843 if (shader->key.opt.ngg_culling & SI_NGG_CULL_FRONT_FACE &&
844 shader->key.opt.ngg_culling & SI_NGG_CULL_BACK_FACE) {
996 if (shader->key.opt.ngg_culling & SI_NGG_CULL_LINES) {
999 assert(!(shader->key.opt.ngg_culling & SI_NGG_CULL_BACK_FACE));
1000 assert(!(shader->key.opt.ngg_culling & SI_NGG_CULL_FRONT_FACE));
1003 options.cull_front = shader->key.opt.ngg_culling
[all...]
H A Dsi_shader_llvm.c905 if (!ctx->gs_ngg_scratch && (sel->so.num_outputs || shader->key.opt.ngg_culling)) {
922 !shader->key.opt.ngg_culling;
937 shader->key.as_ngg && !shader->key.as_es && !shader->key.opt.ngg_culling) {
1067 if (shader->key.opt.ngg_culling) {
H A Dsi_state_shaders.c997 return sel->info.stage != MESA_SHADER_GEOMETRY && !shader->key.opt.ngg_culling;
1110 if (key->opt.ngg_culling & SI_NGG_CULL_LINES)
1213 ac_compute_late_alloc(&sscreen->info, true, shader->key.opt.ngg_culling,
1296 if (shader->key.opt.ngg_culling) {
1913 key->opt.ngg_culling = sctx->ngg_culling;
1916 key->opt.ngg_culling = 0;
1930 key->opt.ngg_culling = 0;
3168 sctx->ngg_culling = 0; /* this will be enabled on the first draw if needed */
H A Dsi_shader.c1259 fprintf(f, " opt.ngg_culling = 0x%x\n", key->opt.ngg_culling);
1279 (key->opt.ngg_culling && !ngg_cull_shader);
1305 if (!ngg_cull_shader && shader_out->key.opt.ngg_culling)
H A Dsi_pipe.h1104 uint8_t ngg_culling; member in struct:si_context
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D21.3.0.rst2718 - radeonsi: don't check ngg_culling != 0 for fast launch because it's tautology

Completed in 30 milliseconds