projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b27243
)
v3dv/pipeline: enable lower_add_sat NIR option
author
Alejandro Piñeiro
<apinheiro@igalia.com>
Tue, 19 Jan 2021 12:48:46 +0000
(13:48 +0100)
committer
Marge Bot
<eric+marge@anholt.net>
Wed, 20 Jan 2021 12:41:52 +0000
(12:41 +0000)
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 <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8582>
src/broadcom/vulkan/v3dv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/broadcom/vulkan/v3dv_pipeline.c
b/src/broadcom/vulkan/v3dv_pipeline.c
index
2ef9faa
..
083b93f
100644
(file)
--- a/
src/broadcom/vulkan/v3dv_pipeline.c
+++ b/
src/broadcom/vulkan/v3dv_pipeline.c
@@
-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,