suyu/src/video_core/renderer_vulkan
ReinUsesLisp 3a2eefb16c vk_buffer_cache: Add support for null index buffers
Games can bind a null index buffer (size=0) where all indices are
evaluated as zero. VK_EXT_robustness2 doesn't support this and all
drivers segfault when a null index buffer is passed to
vkCmdBindIndexBuffer.

Workaround this by creating a 4 byte buffer and filling it with zeroes.
If it's read out of bounds, robustness takes care of returning zeroes as
indices.
2021-02-13 02:18:38 -03:00
..
blit_image.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
blit_image.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
fixed_pipeline_state.cpp Merge pull request #5231 from ReinUsesLisp/dyn-bindings 2021-01-08 12:24:46 -08:00
fixed_pipeline_state.h Merge pull request #5231 from ReinUsesLisp/dyn-bindings 2021-01-08 12:24:46 -08:00
maxwell_to_vk.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
maxwell_to_vk.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
renderer_vulkan.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
renderer_vulkan.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_blit_screen.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_blit_screen.h gpu: Report renderer errors with exceptions 2021-02-13 02:16:19 -03:00
vk_buffer_cache.cpp vk_buffer_cache: Add support for null index buffers 2021-02-13 02:18:38 -03:00
vk_buffer_cache.h vk_buffer_cache: Add support for null index buffers 2021-02-13 02:18:38 -03:00
vk_command_pool.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_command_pool.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_compute_pass.cpp vk_staging_buffer_pool: Add stream buffer for small uploads 2021-02-13 02:17:24 -03:00
vk_compute_pass.h vk_staging_buffer_pool: Add stream buffer for small uploads 2021-02-13 02:17:24 -03:00
vk_compute_pipeline.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_compute_pipeline.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_descriptor_pool.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_descriptor_pool.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_fence_manager.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_fence_manager.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_graphics_pipeline.cpp vk_graphics_pipeline: Fix narrowing conversion on MSVC 2021-01-24 21:41:29 -03:00
vk_graphics_pipeline.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_master_semaphore.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_master_semaphore.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_pipeline_cache.cpp vk_pipeline_cache: Properly bypass VertexA shaders 2021-01-23 03:59:59 -03:00
vk_pipeline_cache.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_query_cache.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_query_cache.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_rasterizer.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_rasterizer.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_resource_pool.cpp renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore 2020-09-19 01:46:37 -03:00
vk_resource_pool.h renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore 2020-09-19 01:46:37 -03:00
vk_scheduler.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_scheduler.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_shader_decompiler.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_shader_decompiler.h video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_shader_util.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_shader_util.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_staging_buffer_pool.cpp vk_staging_buffer_pool: Get a staging buffer instead of waiting 2021-02-13 02:18:05 -03:00
vk_staging_buffer_pool.h vk_staging_buffer_pool: Get a staging buffer instead of waiting 2021-02-13 02:18:05 -03:00
vk_state_tracker.cpp video_core: Reimplement the buffer cache 2021-02-13 02:17:22 -03:00
vk_state_tracker.h video_core: Rewrite the texture cache 2020-12-30 03:38:50 -03:00
vk_stream_buffer.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_stream_buffer.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00
vk_swapchain.cpp gpu: Report renderer errors with exceptions 2021-02-13 02:16:19 -03:00
vk_swapchain.h gpu: Report renderer errors with exceptions 2021-02-13 02:16:19 -03:00
vk_texture_cache.cpp vk_staging_buffer_pool: Add stream buffer for small uploads 2021-02-13 02:17:24 -03:00
vk_texture_cache.h vk_staging_buffer_pool: Add stream buffer for small uploads 2021-02-13 02:17:24 -03:00
vk_update_descriptor.cpp renderer_vulkan: Move device abstraction to vulkan_common 2021-01-04 02:22:22 -03:00
vk_update_descriptor.h renderer_vulkan: Rename VKDevice to Device 2021-01-03 17:51:48 -03:00