mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 20:18:12 +02:00
radeonsi: add driconf option radeonsi_enable_nir
Cc: 18.3 19.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
(cherry picked from commit ccbfe44e5f)
This commit is contained in:
parent
2e7833ad91
commit
a5f16a42a5
3 changed files with 8 additions and 1 deletions
|
|
@ -12,4 +12,5 @@ DRI_CONF_SECTION_END
|
|||
|
||||
DRI_CONF_SECTION_DEBUG
|
||||
DRI_CONF_RADEONSI_CLEAR_DB_CACHE_BEFORE_CLEAR("false")
|
||||
DRI_CONF_RADEONSI_ENABLE_NIR("false")
|
||||
DRI_CONF_SECTION_END
|
||||
|
|
|
|||
|
|
@ -865,7 +865,8 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws,
|
|||
sscreen->debug_flags |= DBG(FS_CORRECT_DERIVS_AFTER_KILL);
|
||||
if (driQueryOptionb(config->options, "radeonsi_enable_sisched"))
|
||||
sscreen->debug_flags |= DBG(SI_SCHED);
|
||||
|
||||
if (driQueryOptionb(config->options, "radeonsi_enable_nir"))
|
||||
sscreen->debug_flags |= DBG(NIR);
|
||||
|
||||
if (sscreen->debug_flags & DBG(INFO))
|
||||
ac_print_gpu_info(&sscreen->info);
|
||||
|
|
|
|||
|
|
@ -347,3 +347,8 @@ DRI_CONF_OPT_END
|
|||
DRI_CONF_OPT_BEGIN_B(radeonsi_zerovram, def) \
|
||||
DRI_CONF_DESC(en,"Zero all vram allocations") \
|
||||
DRI_CONF_OPT_END
|
||||
|
||||
#define DRI_CONF_RADEONSI_ENABLE_NIR(def) \
|
||||
DRI_CONF_OPT_BEGIN_B(radeonsi_enable_nir, def) \
|
||||
DRI_CONF_DESC(en,gettext("Enable NIR")) \
|
||||
DRI_CONF_OPT_END
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue