Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A 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...]
H A 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()
H A Dsi_state_draw.cpp2415 uint16_t old_ngg_culling = sctx->ngg_culling;
2430 uint16_t ngg_culling;
2434 ngg_culling = rs->ngg_cull_flags_lines;
2436 ngg_culling = sctx->viewport0_y_inverted ? rs->ngg_cull_flags_tris_y_inverted :
2438 assert(ngg_culling); /* rasterizer state should always set this to non-zero */
2441 if (ngg_culling != old_ngg_culling) {
2443 sctx->ngg_culling = ngg_culling;
2447 sctx->ngg_culling = 0;
2458 /* si_update_shaders can clear the ngg_culling i
[all...]
H A 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()
H A 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;
1312 if (key->ge.opt.ngg_culling & SI_NGG_CULL_LINES)
1415 ac_compute_late_alloc(&sscreen->info, true, shader->key.ge.opt.ngg_culling,
1500 if (shader->key.ge.opt.ngg_culling) {
2206 key->ge.opt.ngg_culling = sctx->ngg_culling;
2222 key->ge.opt.ngg_culling = 0;
3355 sctx->ngg_culling = 0; /* this will be enabled on the first draw if needed */
H A 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()
H A Dsi_pipe.h1148 uint16_t ngg_culling; member
/third_party/mesa3d/src/amd/common/
H A Dac_shader_util.h118 void ac_compute_late_alloc(const struct radeon_info *info, bool ngg, bool ngg_culling,
H A 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()

Completed in 35 milliseconds