nvir/nir/gm107: split nir shader compiler options from gf100
authorBen Skeggs <bskeggs@redhat.com>
Sat, 6 Jun 2020 23:52:27 +0000 (09:52 +1000)
committerMarge Bot <eric+marge@anholt.net>
Wed, 10 Jun 2020 22:52:42 +0000 (22:52 +0000)
commitf29e6a9e7e9827e7966d4b8e65c990a2a0842655
treec8677a53fcba3de2ab3b043c3dc414df66e6cf88
parent5f8ddbd0698c71e2eb03363d3033cafdcb2a0563
nvir/nir/gm107: split nir shader compiler options from gf100

We can enable some more things here vs earlier GPUs.

v2:
- make use of the shared function to generate compiler options

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5377>
src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp