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:
a47b9f2
)
zink: lower 64bit vars for drivers without float64
author
SoroushIMG
<soroush.kashani@imgtec.com>
Wed, 21 Sep 2022 19:59:37 +0000
(20:59 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 30 Sep 2022 17:07:37 +0000
(17:07 +0000)
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18863>
src/gallium/drivers/zink/zink_compiler.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/zink/zink_compiler.c
b/src/gallium/drivers/zink/zink_compiler.c
index
558fdcf
..
5ff7dc6
100644
(file)
--- a/
src/gallium/drivers/zink/zink_compiler.c
+++ b/
src/gallium/drivers/zink/zink_compiler.c
@@
-3255,7
+3255,7
@@
zink_shader_create(struct zink_screen *screen, struct nir_shader *nir,
NIR_PASS(bindless_lowered, nir, lower_bindless, &bindless);
ret->bindless |= bindless_lowered;
- if (!screen->info.feats.features.shaderInt64)
+ if (!screen->info.feats.features.shaderInt64
|| !screen->info.feats.features.shaderFloat64
)
NIR_PASS_V(nir, lower_64bit_vars);
NIR_PASS_V(nir, match_tex_dests);