Commit 6ede871
committed
Increase Vulkan descriptor pools and add guards
Cap instance API to VK_API_VERSION_1_3 and enlarge Vulkan descriptor pools to reduce descriptor exhaustion: preview pool descriptorCount/maxSets increased from 64 to 256, and main pool combined image sampler and maxSets increased from 256 to 1024. Also add early-return guards in imiv_test_engine to skip test-engine hooks when ui_ctx->TestEngine is null, avoiding invalid hook calls when the test engine is not initialized.
Signed-off-by: Vlad (Kuzmin) Erium <libalias@gmail.com>1 parent ad089ab commit 6ede871
2 files changed
Lines changed: 11 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1937 | 1937 | | |
1938 | 1938 | | |
1939 | 1939 | | |
| 1940 | + | |
| 1941 | + | |
1940 | 1942 | | |
1941 | 1943 | | |
1942 | 1944 | | |
| |||
1969 | 1971 | | |
1970 | 1972 | | |
1971 | 1973 | | |
| 1974 | + | |
| 1975 | + | |
1972 | 1976 | | |
1973 | 1977 | | |
1974 | 1978 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
846 | 848 | | |
847 | 849 | | |
848 | 850 | | |
849 | | - | |
| 851 | + | |
850 | 852 | | |
851 | 853 | | |
852 | 854 | | |
853 | | - | |
| 855 | + | |
854 | 856 | | |
855 | 857 | | |
856 | 858 | | |
| |||
1396 | 1398 | | |
1397 | 1399 | | |
1398 | 1400 | | |
1399 | | - | |
| 1401 | + | |
1400 | 1402 | | |
1401 | 1403 | | |
1402 | 1404 | | |
1403 | | - | |
| 1405 | + | |
1404 | 1406 | | |
1405 | 1407 | | |
1406 | 1408 | | |
| |||
0 commit comments