mesa: Simplify st_get_nir_compiler_options().
authorEmma Anholt <emma@anholt.net>
Thu, 18 May 2023 21:36:43 +0000 (14:36 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 12 Jun 2023 17:37:55 +0000 (17:37 +0000)
commit248ac8921e755c4c2d8f788dc5eb72881e9056b0
tree6e6ac264afda5e6ccfe3722a566a926102de013c
parentc52d1acb42d23941489d348929994e648cc53155
mesa: Simplify st_get_nir_compiler_options().

Since b167203cfe07 ("mesa/st: Always generate NIR from GLSL, and use
nir_to_tgsi for TGSI drivers."), it's always set in the context.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23114>
src/mesa/state_tracker/st_context.c