mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Semaphore types bug fixes revised (#1822)
* Added support for SYNC_FD and other handle types * Fix consistency test Deleted test cases that are no longer testable according to the spec. * Fix multi-import tests -Delete obsolete code relating to offsets -Propagate dedicated memory change * Fix error handling Some subtests did not fail on incorrect result. Changes to macros to fail, so this does not occur again. * Delete invalid test cases Test cases are not related to this extension. * External memory test Add support for any handle type supported by the platform. Change-Id: I6765fde5e7929988f49bfbf2df2f41d5263b6abc * Update multi-import tests to use new semaphore types * Fix formatting * Addressed review comments. Deleted VULKAN_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_NT_KMT as it appears to be redundant.
This commit is contained in:
@@ -53,12 +53,15 @@ protected:
|
||||
VulkanQueueFamilyList m_queueFamilyList;
|
||||
VulkanMemoryHeapList m_memoryHeapList;
|
||||
VulkanMemoryTypeList m_memoryTypeList;
|
||||
std::vector<VkExtensionProperties> m_extensions;
|
||||
|
||||
|
||||
VulkanPhysicalDevice(const VulkanPhysicalDevice &physicalDevice);
|
||||
VulkanPhysicalDevice(VkPhysicalDevice vkPhysicalDevice);
|
||||
virtual ~VulkanPhysicalDevice();
|
||||
|
||||
public:
|
||||
bool hasExtension(const char *extension_name) const;
|
||||
const VulkanQueueFamilyList &getQueueFamilyList() const;
|
||||
const VulkanMemoryHeapList &getMemoryHeapList() const;
|
||||
const VulkanMemoryTypeList &getMemoryTypeList() const;
|
||||
@@ -537,6 +540,7 @@ protected:
|
||||
uint64_t m_size;
|
||||
bool m_isDedicated;
|
||||
|
||||
|
||||
VulkanDeviceMemory(const VulkanDeviceMemory &deviceMemory);
|
||||
|
||||
public:
|
||||
@@ -588,6 +592,7 @@ public:
|
||||
VulkanExternalSemaphoreHandleType externalSemaphoreHandleType =
|
||||
VULKAN_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NONE,
|
||||
const std::wstring name = L"");
|
||||
const VulkanDevice &getDevice() const;
|
||||
virtual ~VulkanSemaphore();
|
||||
#ifdef _WIN32
|
||||
HANDLE getHandle(
|
||||
|
||||
Reference in New Issue
Block a user