These are not used since the switch to `requireDeviceFunctionality`
test case API.
Components: Vulkan
Affects: dEQP-VK.synchronization.*
Change-Id: Ib6e0b817e5732e1be2e58b5b781a4f5af9d824a3
const vk::Unique<vk::VkCommandPool> commandPoolA (createCommandPool(m_vkdA, *m_deviceA, queueFamilyA));
const vk::Unique<vk::VkCommandBuffer> commandBufferA (createCommandBuffer(m_vkdA, *m_deviceA, *commandPoolA));
vk::SimpleAllocator allocatorA (m_vkdA, *m_deviceA, vk::getPhysicalDeviceMemoryProperties(m_vkiA, m_physicalDeviceA));
const vk::Unique<vk::VkCommandPool> commandPoolA (createCommandPool(m_vkdA, *m_deviceA, queueFamilyA));
const vk::Unique<vk::VkCommandBuffer> commandBufferA (createCommandBuffer(m_vkdA, *m_deviceA, *commandPoolA));
vk::SimpleAllocator allocatorA (m_vkdA, *m_deviceA, vk::getPhysicalDeviceMemoryProperties(m_vkiA, m_physicalDeviceA));
- const std::vector<std::string> deviceExtensionsA;
- OperationContext operationContextA (m_context, m_vkiA, m_vkdA, m_physicalDeviceA, *m_deviceA, allocatorA, deviceExtensionsA, m_context.getBinaryCollection(), m_pipelineCacheData);
+ OperationContext operationContextA (m_context, m_vkiA, m_vkdA, m_physicalDeviceA, *m_deviceA, allocatorA, m_context.getBinaryCollection(), m_pipelineCacheData);
if (!checkQueueFlags(m_queueFamiliesA[m_queueANdx].queueFlags , m_supportWriteOp->getQueueFlags(operationContextA)))
TCU_THROW(NotSupportedError, "Operation not supported by the source queue");
if (!checkQueueFlags(m_queueFamiliesA[m_queueANdx].queueFlags , m_supportWriteOp->getQueueFlags(operationContextA)))
TCU_THROW(NotSupportedError, "Operation not supported by the source queue");
const vk::Unique<vk::VkCommandPool> commandPoolB (createCommandPool(m_vkdB, *m_deviceB, queueFamilyB));
const vk::Unique<vk::VkCommandBuffer> commandBufferB (createCommandBuffer(m_vkdB, *m_deviceB, *commandPoolB));
vk::SimpleAllocator allocatorB (m_vkdB, *m_deviceB, vk::getPhysicalDeviceMemoryProperties(m_vkiB, m_physicalDeviceB));
const vk::Unique<vk::VkCommandPool> commandPoolB (createCommandPool(m_vkdB, *m_deviceB, queueFamilyB));
const vk::Unique<vk::VkCommandBuffer> commandBufferB (createCommandBuffer(m_vkdB, *m_deviceB, *commandPoolB));
vk::SimpleAllocator allocatorB (m_vkdB, *m_deviceB, vk::getPhysicalDeviceMemoryProperties(m_vkiB, m_physicalDeviceB));
- const std::vector<std::string> deviceExtensionsB;
- OperationContext operationContextB (m_context, m_vkiB, m_vkdB, m_physicalDeviceB, *m_deviceB, allocatorB, deviceExtensionsB, m_context.getBinaryCollection(), m_pipelineCacheData);
+ OperationContext operationContextB (m_context, m_vkiB, m_vkdB, m_physicalDeviceB, *m_deviceB, allocatorB, m_context.getBinaryCollection(), m_pipelineCacheData);
if (!checkQueueFlags(m_queueFamiliesB[m_queueBNdx].queueFlags , m_supportReadOp->getQueueFlags(operationContextB)))
TCU_THROW(NotSupportedError, "Operation not supported by the destination queue");
if (!checkQueueFlags(m_queueFamiliesB[m_queueBNdx].queueFlags , m_supportReadOp->getQueueFlags(operationContextB)))
TCU_THROW(NotSupportedError, "Operation not supported by the destination queue");
, m_allocator (context.getDefaultAllocator())
, m_progCollection (context.getBinaryCollection())
, m_pipelineCacheData (pipelineCacheData)
, m_allocator (context.getDefaultAllocator())
, m_progCollection (context.getBinaryCollection())
, m_pipelineCacheData (pipelineCacheData)
- , m_deviceExtensions (context.getDeviceExtensions())
- , m_usedApiVersion (context.getUsedApiVersion())
, m_allocator (allocator)
, m_progCollection (context.getBinaryCollection())
, m_pipelineCacheData (pipelineCacheData)
, m_allocator (allocator)
, m_progCollection (context.getBinaryCollection())
, m_pipelineCacheData (pipelineCacheData)
- , m_deviceExtensions (context.getDeviceExtensions())
- , m_usedApiVersion (context.getUsedApiVersion())
vk::VkPhysicalDevice physicalDevice,
vk::VkDevice device,
vk::Allocator& allocator,
vk::VkPhysicalDevice physicalDevice,
vk::VkDevice device,
vk::Allocator& allocator,
- const std::vector<std::string>& deviceExtensions,
vk::BinaryCollection& programCollection,
PipelineCacheData& pipelineCacheData)
: m_context (context)
vk::BinaryCollection& programCollection,
PipelineCacheData& pipelineCacheData)
: m_context (context)
, m_allocator (allocator)
, m_progCollection (programCollection)
, m_pipelineCacheData (pipelineCacheData)
, m_allocator (allocator)
, m_progCollection (programCollection)
, m_pipelineCacheData (pipelineCacheData)
- , m_deviceExtensions (deviceExtensions)
- , m_usedApiVersion (context.getUsedApiVersion())
vk::VkPhysicalDevice physicalDevice,
vk::VkDevice device,
vk::Allocator& allocator,
vk::VkPhysicalDevice physicalDevice,
vk::VkDevice device,
vk::Allocator& allocator,
- const std::vector<std::string>& deviceExtensions,
vk::BinaryCollection& programCollection,
PipelineCacheData& pipelineCacheData);
vk::BinaryCollection& programCollection,
PipelineCacheData& pipelineCacheData);
vk::Allocator& getAllocator (void) const { return m_allocator; }
vk::BinaryCollection& getBinaryCollection (void) const { return m_progCollection; }
PipelineCacheData& getPipelineCacheData (void) const { return m_pipelineCacheData; }
vk::Allocator& getAllocator (void) const { return m_allocator; }
vk::BinaryCollection& getBinaryCollection (void) const { return m_progCollection; }
PipelineCacheData& getPipelineCacheData (void) const { return m_pipelineCacheData; }
- const std::vector<std::string>& getDeviceExtensions (void) const { return m_deviceExtensions;}
- deUint32 getUsedApiVersion (void) const { return m_usedApiVersion; }
bool isDeviceFunctionalitySupported(const std::string& extension) const
{
bool isDeviceFunctionalitySupported(const std::string& extension) const
{
vk::Allocator& m_allocator;
vk::BinaryCollection& m_progCollection;
PipelineCacheData& m_pipelineCacheData;
vk::Allocator& m_allocator;
vk::BinaryCollection& m_progCollection;
PipelineCacheData& m_pipelineCacheData;
- const std::vector<std::string>& m_deviceExtensions;
- const deUint32 m_usedApiVersion;
// Disabled
OperationContext (const OperationContext&);
// Disabled
OperationContext (const OperationContext&);
const vk::Unique<vk::VkCommandBuffer> commandBufferWrite (allocateCommandBuffer(m_vkd, *m_device, *commandPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
const vk::Unique<vk::VkCommandBuffer> commandBufferRead (allocateCommandBuffer(m_vkd, *m_device, *commandPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
vk::SimpleAllocator allocator (m_vkd, *m_device, vk::getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice));
const vk::Unique<vk::VkCommandBuffer> commandBufferWrite (allocateCommandBuffer(m_vkd, *m_device, *commandPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
const vk::Unique<vk::VkCommandBuffer> commandBufferRead (allocateCommandBuffer(m_vkd, *m_device, *commandPool, vk::VK_COMMAND_BUFFER_LEVEL_PRIMARY));
vk::SimpleAllocator allocator (m_vkd, *m_device, vk::getPhysicalDeviceMemoryProperties(m_vki, m_physicalDevice));
- const std::vector<std::string> deviceExtensions;
- OperationContext operationContext (m_context, m_vki, m_vkd, m_physicalDevice, *m_device, allocator, deviceExtensions, m_context.getBinaryCollection(), m_pipelineCacheData);
+ OperationContext operationContext (m_context, m_vki, m_vkd, m_physicalDevice, *m_device, allocator, m_context.getBinaryCollection(), m_pipelineCacheData);
if (!checkQueueFlags(m_queueFamilies[m_queueNdx].queueFlags, vk::VK_QUEUE_GRAPHICS_BIT))
TCU_THROW(NotSupportedError, "Operation not supported by the source queue");
if (!checkQueueFlags(m_queueFamilies[m_queueNdx].queueFlags, vk::VK_QUEUE_GRAPHICS_BIT))
TCU_THROW(NotSupportedError, "Operation not supported by the source queue");