mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
v3d/compiler: enable lower_add_sat NIR option
We are enabling this option for the Vulkan driver, so it makes sense to enable it for the OpenGL one. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8582>
This commit is contained in:
parent
e333692e9d
commit
212b1516df
1 changed files with 1 additions and 0 deletions
|
|
@ -3218,6 +3218,7 @@ nir_to_vir(struct v3d_compile *c)
|
|||
}
|
||||
|
||||
const nir_shader_compiler_options v3d_nir_options = {
|
||||
.lower_add_sat = true,
|
||||
.lower_all_io_to_temps = true,
|
||||
.lower_extract_byte = true,
|
||||
.lower_extract_word = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue