projects
/
vkrt
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed depth format for the program to run on amd
[vkrt]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
36d26e1
..
94d6269
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-154,7
+154,7
@@
init(void)
if (!vk_fill_image_props(&vk_core,
win_w, win_h, 1,
1, 1, 1,
if (!vk_fill_image_props(&vk_core,
win_w, win_h, 1,
1, 1, 1,
- VK_FORMAT_D24_UNORM_S8_UINT,
+ VK_FORMAT_D32_SFLOAT_S8_UINT,
VK_IMAGE_TILING_OPTIMAL,
VK_IMAGE_LAYOUT_UNDEFINED,
VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL,
VK_IMAGE_TILING_OPTIMAL,
VK_IMAGE_LAYOUT_UNDEFINED,
VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL,