diff options
author | Gert Wollny <[email protected]> | 2020-05-11 09:03:41 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-12 06:34:07 +0000 |
commit | 50eabb7035fe361d870f504b73c15962ddf0b67e (patch) | |
tree | 89d2c40144a8481991511f7c7980370deda20599 /src | |
parent | f7fcbe9830d160c9610fe641ed0202397ed9c31e (diff) |
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: 6747a984f59ea9a2dd74b98d59cb8fdb028969ae
r600: Enable tesselation for NIR
Signed-off-by: Gert Wollny <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4982>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe_common.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe_common.c b/src/gallium/drivers/r600/r600_pipe_common.c index 77b70bf3f53..931f7c697b6 100644 --- a/src/gallium/drivers/r600/r600_pipe_common.c +++ b/src/gallium/drivers/r600/r600_pipe_common.c @@ -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, }; |