r600: Fix nir compiler options, i.e. don't lower IO to temps for TESS
Also fix alignments and add umad24 and umul24 options.
Fixes: 6747a984f5
r600: Enable tesselation for NIR
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4982>
This commit is contained in:
@@ -1192,8 +1192,10 @@ const struct nir_shader_compiler_options r600_nir_fs_options = {
|
||||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
.max_unroll_iterations = 32,
|
||||
.lower_all_io_to_temps = true,
|
||||
.vectorize_io = true
|
||||
.lower_all_io_to_temps = true,
|
||||
.vectorize_io = true,
|
||||
.has_umad24 = true,
|
||||
.has_umul24 = true,
|
||||
};
|
||||
|
||||
const struct nir_shader_compiler_options r600_nir_options = {
|
||||
@@ -1210,10 +1212,9 @@ const struct nir_shader_compiler_options r600_nir_options = {
|
||||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
.max_unroll_iterations = 32,
|
||||
.lower_all_io_to_temps = true,
|
||||
.vectorize_io = true,
|
||||
.has_umad24 = true,
|
||||
.has_umul24 = true,
|
||||
.has_umad24 = true,
|
||||
.has_umul24 = true,
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user