Refactor render commands to execute asynchronously.

This commit is contained in:
Skyth
2024-10-27 00:02:47 +03:00
parent 31f34a8669
commit 5676591618
6 changed files with 921 additions and 393 deletions
+1
View File
@@ -60,6 +60,7 @@ namespace RT64 {
VK_EXT_SCALAR_BLOCK_LAYOUT_EXTENSION_NAME,
VK_EXT_ROBUSTNESS_2_EXTENSION_NAME,
VK_KHR_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME,
VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME,
# ifdef VULKAN_OBJECT_NAMES_ENABLED
VK_EXT_DEBUG_UTILS_EXTENSION_NAME
# endif
File diff suppressed because it is too large Load Diff
+13 -1
View File
@@ -31,9 +31,21 @@ struct GuestDevice
uint8_t padding27A0[0x68C];
be<uint32_t> vertexDeclaration;
uint8_t padding2E30[0x2FD0];
uint8_t padding2E30[0x338];
struct
{
be<float> x;
be<float> y;
be<float> width;
be<float> height;
be<float> minZ;
be<float> maxZ;
} viewport;
uint8_t padding3180[0x2C80];
};
static_assert(sizeof(GuestDevice) == 0x5E00);
enum class ResourceType
{
Texture,