Commit e333692e authored by Alejandro Piñeiro's avatar Alejandro Piñeiro Committed by Marge Bot

v3dv/pipeline: enable lower_add_sat NIR option

We don't support them by hw, so we would need to get them
lowered. This fix some crashes while using renderdoc with UE4 shooter
demo traces.
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
Part-of: <!8582>
parent 3b27243b
......@@ -205,6 +205,7 @@ static const struct spirv_to_nir_options default_spirv_options = {
};
const nir_shader_compiler_options v3dv_nir_options = {
.lower_add_sat = true,
.lower_all_io_to_temps = true,
.lower_extract_byte = true,
.lower_extract_word = true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment