r600/sfn: Lower FS inputs to temps late and, and lower interpolate at

This fixes FS shaders where a var is loaded with two different
interpolators.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9330>
This commit is contained in:
Gert Wollny
2021-02-26 16:14:52 +01:00
parent 3ba7784b1e
commit c427ed7ffe
2 changed files with 19 additions and 1 deletions

View File

@@ -1188,7 +1188,7 @@ const struct nir_shader_compiler_options r600_nir_fs_options = {
.lower_extract_word = true,
.lower_rotate = true,
.max_unroll_iterations = 32,
.lower_all_io_to_temps = true,
.lower_interpolate_at = true,
.vectorize_io = true,
.has_umad24 = true,
.has_umul24 = true,