mirror of
https://github.com/ptitSeb/box86.git
synced 2024-11-26 16:31:08 +00:00
[VULKAN] Added one vulkan extension
Some checks failed
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1ARM32, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1ARM32, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, A64, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, A64, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ADLINK, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ADLINK, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ANDROID, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ANDROID, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, GAMESHELL, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, GAMESHELL, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, I386, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, I386, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ODROIDXU4, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ODROIDXU4, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, OTHER_ARM, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, OTHER_ARM, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PANDORA, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PANDORA, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PHYTIUM, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PHYTIUM, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PYRA, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PYRA, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3288, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3288, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3399, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3399, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4ARM64, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4ARM64, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD845, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD845, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD888, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD888, Trace) (push) Has been cancelled
Some checks failed
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1ARM32, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-20.04, TEGRAX1ARM32, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, A64, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, A64, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ADLINK, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ADLINK, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ANDROID, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ANDROID, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, GAMESHELL, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, GAMESHELL, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, I386, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, I386, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ODROIDXU4, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, ODROIDXU4, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, OTHER_ARM, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, OTHER_ARM, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PANDORA, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PANDORA, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PHYTIUM, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PHYTIUM, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PYRA, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, PYRA, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3288, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3288, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3399, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RK3399, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4ARM64, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, RPI4ARM64, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD845, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD845, Trace) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD888, Release) (push) Has been cancelled
Build and Release Box86 / build (ubuntu-latest, SD888, Trace) (push) Has been cancelled
This commit is contained in:
parent
0504c042f4
commit
62bc6bb1f3
@ -1253,6 +1253,9 @@ typedef struct my_vkhead_s {
|
||||
case VK_STRUCTURE_TYPE_RENDERING_AREA_INFO_KHR: \
|
||||
case VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR: \
|
||||
case VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR: \
|
||||
case VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR: \
|
||||
case VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR: \
|
||||
case VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR: \
|
||||
|
||||
#define CH(C, B, A) \
|
||||
case C: \
|
||||
@ -1325,6 +1328,9 @@ typedef struct my_vkhead_s {
|
||||
CH(VK_STRUCTURE_TYPE_RELEASE_SWAPCHAIN_IMAGES_INFO_EXT, "uPUup", A) \
|
||||
CH(VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES, "uPSuuu", A) \
|
||||
CH(VK_STRUCTURE_TYPE_DEVICE_IMAGE_SUBRESOURCE_INFO_KHR, "uPPP", A) \
|
||||
CH(VK_STRUCTURE_TYPE_BIND_VIDEO_SESSION_MEMORY_INFO_KHR, "uPuUUU", A) \
|
||||
CH(VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR, "uPuUUup", A) \
|
||||
CH(VK_STRUCTURE_TYPE_VIDEO_SESSION_PARAMETERS_CREATE_INFO_KHR, "uPuUU", A) \
|
||||
|
||||
|
||||
//--------------------------------------------------------------
|
||||
|
@ -4825,6 +4825,8 @@ wrappedvulkan:
|
||||
- vkDestroySurfaceKHR
|
||||
- vkDestroySwapchainKHR
|
||||
- vkDestroyValidationCacheEXT
|
||||
- vkDestroyVideoSessionKHR
|
||||
- vkDestroyVideoSessionParametersKHR
|
||||
- vFppp:
|
||||
- vkDestroyDebugUtilsMessengerEXT
|
||||
- vFpPp:
|
||||
@ -4851,12 +4853,15 @@ wrappedvulkan:
|
||||
- vkQueueSubmit2
|
||||
- vkQueueSubmit2KHR
|
||||
- iFpUup:
|
||||
- vkBindVideoSessionMemoryKHR
|
||||
- vkGetDisplayPlaneCapabilitiesKHR
|
||||
- iFpUpP:
|
||||
- vkGetPastPresentationTimingGOOGLE
|
||||
- iFpppp:
|
||||
- vkCreateDebugReportCallbackEXT
|
||||
- vkCreateDebugUtilsMessengerEXT
|
||||
- vkCreateVideoSessionKHR
|
||||
- vkCreateVideoSessionParametersKHR
|
||||
- vkCreateWaylandSurfaceKHR
|
||||
- iFpPpp:
|
||||
- vkAllocateMemory
|
||||
|
@ -69,6 +69,8 @@ typedef void (*vFpiiiupupup_t)(void*, int32_t, int32_t, int32_t, uint32_t, void*
|
||||
GO(vkDestroySurfaceKHR, vFpUp_t) \
|
||||
GO(vkDestroySwapchainKHR, vFpUp_t) \
|
||||
GO(vkDestroyValidationCacheEXT, vFpUp_t) \
|
||||
GO(vkDestroyVideoSessionKHR, vFpUp_t) \
|
||||
GO(vkDestroyVideoSessionParametersKHR, vFpUp_t) \
|
||||
GO(vkDestroyDebugUtilsMessengerEXT, vFppp_t) \
|
||||
GO(vkGetImageMemoryRequirements2, vFpPp_t) \
|
||||
GO(vkGetImageMemoryRequirements2KHR, vFpPp_t) \
|
||||
@ -86,10 +88,13 @@ typedef void (*vFpiiiupupup_t)(void*, int32_t, int32_t, int32_t, uint32_t, void*
|
||||
GO(vkGetDeviceImageSparseMemoryRequirementsKHR, vFpPpp_t) \
|
||||
GO(vkQueueSubmit2, iFpupU_t) \
|
||||
GO(vkQueueSubmit2KHR, iFpupU_t) \
|
||||
GO(vkBindVideoSessionMemoryKHR, iFpUup_t) \
|
||||
GO(vkGetDisplayPlaneCapabilitiesKHR, iFpUup_t) \
|
||||
GO(vkGetPastPresentationTimingGOOGLE, iFpUpP_t) \
|
||||
GO(vkCreateDebugReportCallbackEXT, iFpppp_t) \
|
||||
GO(vkCreateDebugUtilsMessengerEXT, iFpppp_t) \
|
||||
GO(vkCreateVideoSessionKHR, iFpppp_t) \
|
||||
GO(vkCreateVideoSessionParametersKHR, iFpppp_t) \
|
||||
GO(vkCreateWaylandSurfaceKHR, iFpppp_t) \
|
||||
GO(vkAllocateMemory, iFpPpp_t) \
|
||||
GO(vkCreateBuffer, iFpPpp_t) \
|
||||
|
@ -681,6 +681,12 @@ DESTROY64(vkDestroyPrivateDataSlotEXT)
|
||||
CREATE(vkCreateOpticalFlowSessionNV)
|
||||
DESTROY64(vkDestroyOpticalFlowSessionNV)
|
||||
|
||||
CREATE(vkCreateVideoSessionKHR)
|
||||
CREATE(vkCreateVideoSessionParametersKHR)
|
||||
DESTROY64(vkDestroyVideoSessionKHR)
|
||||
DESTROY64(vkDestroyVideoSessionParametersKHR)
|
||||
|
||||
|
||||
EXPORT void my_vkGetPhysicalDeviceProperties(x86emu_t* emu, void* device, void* pProps)
|
||||
{
|
||||
(void)emu;
|
||||
@ -906,3 +912,13 @@ EXPORT int my_vkGetPhysicalDeviceOpticalFlowImageFormatsNV(x86emu_t* emu, void*
|
||||
vkunalignStruct(m, desc, *count); // bad things will happens if *count is changed while pSparseMemoryRequirements is not NULL
|
||||
return ret;
|
||||
}
|
||||
|
||||
EXPORT int my_vkBindVideoSessionMemoryKHR(x86emu_t* emu, void* device, uint64_t session, uint32_t count, void* pInfos)
|
||||
{
|
||||
(void)emu;
|
||||
static const char* desc = "uPuUUU";
|
||||
void* m = vkalignStruct(pInfos, desc, count);
|
||||
int ret = my->vkBindVideoSessionMemoryKHR(device, session, count, m);
|
||||
vkunalignStruct(m, desc, count);
|
||||
return ret;
|
||||
}
|
@ -665,3 +665,17 @@ GO(vkGetRenderingAreaGranularityKHR, vFpPp)
|
||||
// VK_KHR_calibrated_timestamps
|
||||
GO(vkGetCalibratedTimestampsKHR, iFpuPpp)
|
||||
GO(vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, iFppp)
|
||||
|
||||
// VK_KHR_video_queue
|
||||
GOM(vkBindVideoSessionMemoryKHR, iFEpUup)
|
||||
GO(vkCmdBeginVideoCodingKHR, vFpP)
|
||||
GO(vkCmdControlVideoCodingKHR, vFpP)
|
||||
GO(vkCmdEndVideoCodingKHR, vFpP)
|
||||
GOM(vkCreateVideoSessionKHR, iFEpppp)
|
||||
GOM(vkCreateVideoSessionParametersKHR, iFEpppp)
|
||||
GOM(vkDestroyVideoSessionKHR, vFEpUp)
|
||||
GOM(vkDestroyVideoSessionParametersKHR, vFEpUp)
|
||||
GO(vkGetPhysicalDeviceVideoCapabilitiesKHR, iFpPp)
|
||||
GO(vkGetPhysicalDeviceVideoFormatPropertiesKHR, iFpPpp)
|
||||
GO(vkGetVideoSessionMemoryRequirementsKHR, iFpUpp)
|
||||
GO(vkUpdateVideoSessionParametersKHR, iFpUp)
|
||||
|
Loading…
Reference in New Issue
Block a user