nir_to_tgsi: fix NIR options instead of asserting
Drivers can return any NIR options, but nir_to_tgsi doesn't support any options because it was written to assume certain options are set. This fixes a regression caused when st/mesa switched to NIR for passing shaders to the draw module. Fixes: 44b7e149 - st/mesa: don't generate TGSI for the draw VS because it now supports NIR too Closes: mesa/mesa#3949 Closes: mesa/mesa#3965Reviewed-by:Zoltán Böszörményi <zboszor@gmail.com> Reviewed-by:
Eric Anholt <eric@anholt.net> Part-of: <mesa/mesa!8046>
Showing
Please register or sign in to comment