summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/radeonsi/si_pipe.h
diff options
context:
space:
mode:
authorMarek Olšák <marek.olsak@amd.com>2020-09-25 16:45:22 -0400
committerMarge Bot <eric+marge@anholt.net>2020-10-01 16:29:46 +0000
commit30c3b2c0b602a7e9f9d1246c2de61cf1ef38f4ae (patch)
tree222e8ad2a1fca1a27f7973def9b084702030ffbd /src/gallium/drivers/radeonsi/si_pipe.h
parentb02bef01c89872434d957c2a5cc9b30cbe32d92d (diff)
radeonsi: simplify NGG culling enablement and add radeonsi_shader_culling option
Add a vertex count threshold into si_shader_selector to simplify the draw_vbo code. The new option is supposed to be used in 00-mesa-defaults.conf and should be tweaked for best performance unlike the AMD_DEBUG experimental options. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6948>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_pipe.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h
index 6cadec8a4d7..8854af6e623 100644
--- a/src/gallium/drivers/radeonsi/si_pipe.h
+++ b/src/gallium/drivers/radeonsi/si_pipe.h
@@ -527,8 +527,6 @@ struct si_screen {
bool llvm_has_working_vgpr_indexing;
bool use_ngg;
bool use_ngg_culling;
- bool always_use_ngg_culling_all;
- bool always_use_ngg_culling_tess;
bool use_ngg_streamout;
struct {