r600: Make NIR the default shader IR
authorGert Wollny <gert.wollny@collabora.com>
Fri, 16 Sep 2022 14:32:33 +0000 (16:32 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 23 Sep 2022 07:34:31 +0000 (07:34 +0000)
commit6be7c2ef51ecdc97cb366f2d5b706629d33777d7
tree8f572aaba5ca4476f43c89294d32949dc081f7c5
parentad74cd3c3f1f9021298877577f930edbc9a78aa7
r600: Make NIR the default shader IR

By default sb is disabled, to enable it one can
set
  R600_DEBUG=nirsb

TGSI can be enabled by using
  R600_DEBUG=use_tgsi

In this case "sb" will be enabled, but one can use
the TGSI backend without sb by setting

  R600_DEBUG=use_tgsi,sb

Closes: #6858

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18753>
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_pipe.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_pipe_common.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/r600/sfn/sfn_nir.cpp