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:
1d4c6ce
)
nvk: Depth bounds need fui()
author
Faith Ekstrand
<faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:54 +0000
(20:11 -0600)
committer
Marge Bot
<emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:57 +0000
(21:31 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_cmd_draw.c
patch
|
blob
|
history
diff --git
a/src/nouveau/vulkan/nvk_cmd_draw.c
b/src/nouveau/vulkan/nvk_cmd_draw.c
index
bd95a0b
..
3eafe2e
100644
(file)
--- a/
src/nouveau/vulkan/nvk_cmd_draw.c
+++ b/
src/nouveau/vulkan/nvk_cmd_draw.c
@@
-890,8
+890,8
@@
nvk_flush_ds_state(struct nvk_cmd_buffer *cmd)
if (BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_DS_DEPTH_BOUNDS_TEST_BOUNDS)) {
P_MTHD(p, NV9097, SET_DEPTH_BOUNDS_MIN);
- P_NV9097_SET_DEPTH_BOUNDS_MIN(p,
dyn->ds.depth.bounds_test.min
);
- P_NV9097_SET_DEPTH_BOUNDS_MAX(p,
dyn->ds.depth.bounds_test.max
);
+ P_NV9097_SET_DEPTH_BOUNDS_MIN(p,
fui(dyn->ds.depth.bounds_test.min)
);
+ P_NV9097_SET_DEPTH_BOUNDS_MAX(p,
fui(dyn->ds.depth.bounds_test.max)
);
}
if (BITSET_TEST(dyn->dirty, MESA_VK_DYNAMIC_DS_STENCIL_TEST_ENABLE))