Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dgfx10_shader_ngg.c98 } else if (ctx->shader->key.ge.opt.ngg_culling & SI_NGG_CULL_LINES) { in ngg_get_vertices_per_prim()
152 if (gfx10_is_ngg_passthrough(ctx->shader) || ctx->shader->key.ge.opt.ngg_culling) { in gfx10_ngg_build_export_prim()
711 if (shader->key.ge.opt.ngg_culling) { in ngg_nogs_vertex_size()
946 bool prim_is_lines = shader->key.ge.opt.ngg_culling & SI_NGG_CULL_LINES; in cull_primitive()
972 … options.cull_small_prims = shader->key.ge.opt.ngg_culling & SI_NGG_CULL_SMALL_LINES_DIAMOND_EXIT; in cull_primitive()
974 assert(!(shader->key.ge.opt.ngg_culling & SI_NGG_CULL_BACK_FACE)); in cull_primitive()
975 assert(!(shader->key.ge.opt.ngg_culling & SI_NGG_CULL_FRONT_FACE)); in cull_primitive()
981 options.cull_front = shader->key.ge.opt.ngg_culling & SI_NGG_CULL_FRONT_FACE; in cull_primitive()
982 options.cull_back = shader->key.ge.opt.ngg_culling & SI_NGG_CULL_BACK_FACE; in cull_primitive()
1019 assert(shader->key.ge.opt.ngg_culling); in gfx10_ngg_culling_build_end()
[all …]
Dsi_state_draw.cpp2415 uint16_t old_ngg_culling = sctx->ngg_culling; in si_draw()
2430 uint16_t ngg_culling; in si_draw() local
2434 ngg_culling = rs->ngg_cull_flags_lines; in si_draw()
2436 ngg_culling = sctx->viewport0_y_inverted ? rs->ngg_cull_flags_tris_y_inverted : in si_draw()
2438 assert(ngg_culling); /* rasterizer state should always set this to non-zero */ in si_draw()
2441 if (ngg_culling != old_ngg_culling) { in si_draw()
2443 sctx->ngg_culling = ngg_culling; in si_draw()
2447 sctx->ngg_culling = 0; in si_draw()
2462 … sctx->ngg_culling = si_get_vs_inline(sctx, HAS_TESS, HAS_GS)->current->key.ge.opt.ngg_culling; in si_draw()
Dsi_shader.h706 unsigned ngg_culling : 13; /* SI_NGG_CULL_* */ member
1042 !(shader->key.ge.opt.ngg_culling & SI_NGG_CULL_LINES)) in gfx10_edgeflags_have_effect()
Dsi_shader_llvm.c940 if (!ctx->gs_ngg_scratch && (ctx->so.num_outputs || shader->key.ge.opt.ngg_culling)) { in si_llvm_translate_nir()
955 !shader->key.ge.opt.ngg_culling; in si_llvm_translate_nir()
971 shader->key.ge.as_ngg && !shader->key.ge.as_es && !shader->key.ge.opt.ngg_culling) { in si_llvm_translate_nir()
1151 if (sel->stage <= MESA_SHADER_TESS_EVAL && shader->key.ge.opt.ngg_culling) { in si_llvm_compile_shader()
Dsi_state_shaders.cpp121 !(sscreen->info.gfx_level == GFX10 && shader && shader->key.ge.opt.ngg_culling)) in si_determine_wave_size()
1181 return sel->stage != MESA_SHADER_GEOMETRY && !shader->key.ge.opt.ngg_culling; in gfx10_is_ngg_passthrough()
1312 if (key->ge.opt.ngg_culling & SI_NGG_CULL_LINES) in si_get_input_prim()
1415 ac_compute_late_alloc(&sscreen->info, true, shader->key.ge.opt.ngg_culling, in gfx10_shader_ngg()
1500 if (shader->key.ge.opt.ngg_culling) { in gfx10_shader_ngg()
2206 key->ge.opt.ngg_culling = sctx->ngg_culling; in si_get_vs_key_outputs()
2222 key->ge.opt.ngg_culling = 0; in si_clear_vs_key_outputs()
3355 sctx->ngg_culling = 0; /* this will be enabled on the first draw if needed */ in si_update_common_shader_state()
Dsi_shader.c1326 fprintf(f, " opt.ngg_culling = 0x%x\n", key->ge.opt.ngg_culling); in si_dump_shader_key()
1370 (key->ge.opt.ngg_culling && !ngg_cull_shader && !is_gs); in si_vs_needs_prolog()
1398 !ngg_cull_shader && shader_out->key.ge.opt.ngg_culling) in si_get_vs_prolog_key()
Dsi_pipe.h1148 uint16_t ngg_culling; member
/third_party/mesa3d/src/amd/common/
Dac_shader_util.h118 void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_culling,
Dac_shader_util.c657 void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_culling, in ac_compute_late_alloc() argument
681 if (ngg_culling) in ac_compute_late_alloc()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst2718 - radeonsi: don't check ngg_culling != 0 for fast launch because it's tautology