/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelinePushConstantTests.cpp | 54 using namespace vk; 141 void createShaderStage (const DeviceInterface& vk, 548 void PushConstantGraphicsTestInstance::createShaderStage (const DeviceInterface& vk, 555 *module = createShaderModule(vk, device, programCollection.get(name), 0); 557 const vk::VkPipelineShaderStageCreateInfo stageCreateInfo = 604 const DeviceInterface& vk = context.getDeviceInterface(); local 607 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 634 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 637 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 638 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOff (…) 1209 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1285 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1395 const DeviceInterface& vk = context.getDeviceInterface(); local 1532 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineTimestampTests.cpp | 55 using namespace vk; 338 const DeviceInterface& vk = m_context.getDeviceInterface(); 354 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); 370 const DeviceInterface& vk = m_context.getDeviceInterface(); 386 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 585 return createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams); 676 const DeviceInterface& vk = context.getDeviceInterface(); local 682 const std::vector<VkQueueFamilyProperties> queueProperties = vk::getPhysicalDeviceQueueFamilyProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice()); 702 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams); 706 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex) [all...] |
vktPipelineRenderToImageTests.cpp | 56 using namespace vk; 227 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 434 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 438 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 528 return createRenderPass(vk, device, &renderPassInfo); 531 Move<VkImage> makeImage (const DeviceInterface& vk, 559 return createImage(vk, device, &imageParams); 562 inline Move<VkBuffer> makeBuffer (const DeviceInterface& vk, const VkDevice device, const VkDeviceSize bufferSize, const VkBufferUsageFlags usage) 565 return createBuffer(vk, device, &bufferCreateInfo); 865 const DeviceInterface& vk = context.getDeviceInterface() local 1254 const DeviceInterface& vk = context.getDeviceInterface(); local 1357 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktPipelineSpecConstantUtil.cpp | 32 using namespace vk; 34 GraphicsPipelineBuilder& GraphicsPipelineBuilder::setShader (const DeviceInterface& vk, 45 m_vertexShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 51 m_tessControlShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 57 m_tessEvaluationShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 63 m_geometryShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 69 m_fragmentShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 95 Move<VkPipeline> GraphicsPipelineBuilder::build (const DeviceInterface& vk, 268 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 271 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, [all...] |
vktPipelineCacheTests.cpp | 51 using namespace vk; 189 const DeviceInterface& vk = m_context.getDeviceInterface(); local 205 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); 221 const DeviceInterface& vk = m_context.getDeviceInterface(); local 419 return createGraphicsPipeline(vk, vkDevice, cache, &graphicsPipelineParams); 439 const DeviceInterface& vk = context.getDeviceInterface(); local 455 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); 457 *pAlloc = context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); 458 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset())); 471 const DeviceInterface& vk = context.getDeviceInterface() local 548 const DeviceInterface& vk = m_context.getDeviceInterface(); local 582 const DeviceInterface& vk = m_context.getDeviceInterface(); local 777 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1073 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1104 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1130 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1237 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1266 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1311 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1328 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1393 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1417 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1478 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1542 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1613 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1702 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1775 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesBufferTests.cpp | 52 using namespace vk; 108 MovePtr<SparseAllocation> build (const DeviceInterface& vk, 207 MovePtr<SparseAllocation> SparseAllocationBuilder::build (const DeviceInterface& vk, 217 const Unique<VkBuffer> refBuffer (createBuffer(vk, device, &referenceCreateInfo)); 218 const VkMemoryRequirements memoryRequirements = getBufferMemoryRequirements(vk, device, *refBuffer); 271 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 321 return createRenderPass(vk, device, &renderPassInfo); 324 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 492 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 524 Renderer (const DeviceInterface& vk, 765 const DeviceInterface& vk = getDeviceInterface(); local 947 const DeviceInterface& vk = getDeviceInterface(); local 957 const DeviceInterface& vk = getDeviceInterface(); local 1223 const DeviceInterface& vk = getDeviceInterface(); local 1262 const DeviceInterface& vk = getDeviceInterface(); local 1338 const DeviceInterface& vk = getDeviceInterface(); local 1382 const DeviceInterface& vk = getDeviceInterface(); local 1400 const DeviceInterface& vk = getDeviceInterface(); local 1450 const DeviceInterface& vk = getDeviceInterface(); local 1465 const DeviceInterface& vk = getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkDefs.cpp | 29 DE_STATIC_ASSERT(sizeof(vk::VkImageType) == sizeof(deUint32)); 30 DE_STATIC_ASSERT(sizeof(vk::VkResult) == sizeof(deUint32)); 31 DE_STATIC_ASSERT(sizeof(vk::VkDevice) == sizeof(void*)); 32 DE_STATIC_ASSERT(sizeof(vk::VkBuffer) == sizeof(deUint64)); 34 namespace vk namespace 94 } // vk
|
vkQueryUtil.hpp | 32 namespace vk namespace 37 std::vector<VkPhysicalDevice> enumeratePhysicalDevices (const InstanceInterface& vk, VkInstance instance); 38 std::vector<VkQueueFamilyProperties> getPhysicalDeviceQueueFamilyProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 39 VkPhysicalDeviceFeatures getPhysicalDeviceFeatures (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 40 VkPhysicalDeviceProperties getPhysicalDeviceProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 41 VkPhysicalDeviceMemoryProperties getPhysicalDeviceMemoryProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice); 42 VkFormatProperties getPhysicalDeviceFormatProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, VkFormat format); 43 VkImageFormatProperties getPhysicalDeviceImageFormatProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags); 44 std::vector<VkSparseImageFormatProperties> getPhysicalDeviceSparseImageFormatProperties (const InstanceInterface& vk, VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling); 46 VkMemoryRequirements getBufferMemoryRequirements (const DeviceInterface& vk, VkDevice device, VkBuffer buffer) [all...] |
vkApiVersion.cpp | 26 namespace vk namespace 45 } // vk
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
vktGeometryTestsUtil.cpp | 34 using namespace vk; 41 GraphicsPipelineBuilder& GraphicsPipelineBuilder::setShader (const DeviceInterface& vk, 52 m_vertexShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 58 m_tessControlShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 64 m_tessEvaluationShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 70 m_geometryShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 76 m_fragmentShaderModule = createShaderModule(vk, device, binary, (VkShaderModuleCreateFlags)0); 133 Move<VkPipeline> GraphicsPipelineBuilder::build (const DeviceInterface& vk, 309 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 420 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, [all...] |
vktGeometryInstancedRenderingTests.cpp | 50 using namespace vk; 85 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 135 return createRenderPass(vk, device, &renderPassInfo); 138 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 337 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 348 const DeviceInterface& vk = context.getDeviceInterface(); local 358 const Unique<VkImage> colorImage (makeImage (vk, device, makeImageCreateInfo(colorFormat, colorImageExtent, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT))); 359 const UniquePtr<Allocation> colorImageAlloc (bindImage (vk, device, allocator, *colorImage, MemoryRequirement::Any)); 360 const Unique<VkImageView> colorAttachment (makeImageView (vk, device, *colorImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorSubresourceRange)); 363 const Unique<VkBuffer> vertexBuffer (makeBuffer(vk, device, makeBufferCreateInfo(vertexBufferSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT))) 626 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktGeometryBasicGeometryShaderTests.cpp | 45 using namespace vk; 94 const DeviceInterface& vk = context.getDeviceInterface(); local 120 buffer = createBuffer(vk, device, &bufferParams); 121 bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, device, *buffer), MemoryRequirement::HostVisible); 122 VK_CHECK(vk.bindBufferMemory(device, *buffer, bufferAlloc->getMemory(), bufferAlloc->getOffset())); 127 cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); 137 cmdBuffer = allocateCommandBuffer(vk, device, &cmdBufferAllocateInfo); 141 fence = createFence(vk, device); 228 flushMappedMemoryRange(vk, device, bufferAlloc->getMemory(), bufferAlloc->getOffset(), bufferSize); 232 VK_CHECK(vk.beginCommandBuffer(*cmdBuffer, &cmdBufferBeginInfo)) 616 const DeviceInterface& vk = m_context.getDeviceInterface(); local 642 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ |
vktDrawUtil.cpp | 45 using namespace vk; 65 rr::PrimitiveType mapVkPrimitiveToRRPrimitive(const vk::VkPrimitiveTopology& primitiveTopology) 81 return de::getSizedArrayElement<vk::VK_PRIMITIVE_TOPOLOGY_PATCH_LIST>(primitiveTypeTable, primitiveTopology); 145 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) 154 return createCommandPool(vk, device, &info); 157 Move<VkCommandBuffer> makeCommandBuffer (const DeviceInterface& vk, const VkDevice device, const VkCommandPool commandPool) 167 return allocateCommandBuffer(vk, device, &info); 170 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, 183 return allocateDescriptorSet(vk, device, &info); 186 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 373 const DeviceInterface& vk = m_context.getDeviceInterface(); local 892 const DeviceInterface& vk = m_context.getDeviceInterface(); local 904 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferTests.cpp | 45 using namespace vk; 163 const std::vector<vk::VkQueueFamilyProperties> 184 const InstanceInterface& vk = getInstanceInterface(); local 186 const vk::VkPhysicalDeviceFeatures 187 deviceFeatures = getPhysicalDeviceFeatures(vk, physicalDevice); 188 const deUint32 queueIndex = findQueueFamilyIndexWithCaps(vk, physicalDevice, VK_QUEUE_GRAPHICS_BIT|VK_QUEUE_SPARSE_BINDING_BIT); 213 Move<VkDevice> device = createDevice(vk, physicalDevice, &deviceInfo); 215 return new SparseContext(device, queueIndex, vk); 301 const DeviceInterface& vk = getDeviceInterface(); local 330 buffer = createBuffer(vk, vkDevice, &bufferParams) 511 const DeviceInterface& vk = getDeviceInterface(); local [all...] |
vktApiFillBufferTests.cpp | 48 using namespace vk; 110 const DeviceInterface& vk = context.getDeviceInterface(); local 116 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex); 119 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY); 122 m_fence = createFence(vk, vkDevice); 138 const DeviceInterface& vk = m_context.getDeviceInterface(); local 163 VK_CHECK(vk.beginCommandBuffer(*m_cmdBuffer, &cmdBufferBeginInfo)); 164 vk.cmdFillBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testData[0]); 165 vk.cmdPipelineBarrier(*m_cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 1, &dstBufferBarrier, 0, (const VkImageMemoryBarrier*)DE_NULL); 166 VK_CHECK(vk.endCommandBuffer(*m_cmdBuffer)) 214 const DeviceInterface& vk = m_context.getDeviceInterface(); local 303 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutCase.cpp | 1894 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 1963 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/memory/ |
vktMemoryBindingTests.cpp | 48 using namespace vk; 69 : vk (deviceInterface) 75 vk.mapMemory(dev, memory, offset, size, flags, &hostPtr); 80 vk.unmapMemory(dev, memory); 93 VK_CHECK(vk.flushMappedMemoryRanges(dev, 1u, &range)); 97 const DeviceInterface& vk; member in class:vkt::memory::__anon16598::MemoryMappingRAII 413 Move<VkCommandBuffer> createCommandBuffer (const DeviceInterface& vk, 425 return allocateCommandBuffer(vk, device, &allocInfo); 442 const DeviceInterface& vk = ctx.getDeviceInterface(); local 448 targets.push_back(BufferPtr(new Move<VkBuffer>(createBuffer(vk, vkDevice, &bufferParams)))) 459 const DeviceInterface& vk = ctx.getDeviceInterface(); local 484 const DeviceInterface& vk = ctx.getDeviceInterface(); local 510 const DeviceInterface& vk = ctx.getDeviceInterface(); local 535 const DeviceInterface& vk = ctx.getDeviceInterface(); local 562 const DeviceInterface& vk = ctx.getDeviceInterface(); local 596 const DeviceInterface& vk = ctx.getDeviceInterface(); local 616 const DeviceInterface& vk = ctx.getDeviceInterface(); local 639 const DeviceInterface& vk = ctx.getDeviceInterface(); local 670 const DeviceInterface& vk = ctx.getDeviceInterface(); local 731 const DeviceInterface& vk = ctx.getDeviceInterface(); local 776 const DeviceInterface& vk = ctx.getDeviceInterface(); local 797 const DeviceInterface& vk = ctx.getDeviceInterface(); local 815 const DeviceInterface& vk = ctx.getDeviceInterface(); local [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidPlatform.cpp | 190 class VulkanLibrary : public vk::Library 199 const vk::PlatformInterface& getPlatformInterface (void) const 206 const vk::PlatformDriver m_driver; 209 DE_STATIC_ASSERT(sizeof(vk::pt::AndroidNativeWindowPtr) == sizeof(ANativeWindow*)); 211 class VulkanWindow : public vk::wsi::AndroidWindowInterface 215 : vk::wsi::AndroidWindowInterface (vk::pt::AndroidNativeWindowPtr(window.getNativeWindow())) 229 class VulkanDisplay : public vk::wsi::Display 237 vk::wsi::Window* createWindow (const Maybe<UVec2>& initialSize) const 308 vk::Library* Platform::createLibrary (void) cons [all...] |
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsEarlyFragmentTests.cpp | 54 using namespace vk; 81 void beginRenderPass (const DeviceInterface& vk, 106 vk.cmdBeginRenderPass(commandBuffer, &renderPassBeginInfo, VK_SUBPASS_CONTENTS_INLINE); 109 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 190 return createRenderPass(vk, device, &renderPassInfo); 193 Move<VkFramebuffer> makeFramebuffer (const DeviceInterface& vk, 212 return createFramebuffer(vk, device, &framebufferInfo); 215 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 407 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 424 void commandClearStencilAttachment (const DeviceInterface& vk, 581 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageSizeTests.cpp | 44 using namespace vk; 271 const DeviceInterface& vk = m_context.getDeviceInterface(); local 278 vk, device, allocator, 285 const DeviceInterface& vk = m_context.getDeviceInterface(); local 298 const Unique<VkShaderModule> shaderModule(createShaderModule(vk, device, m_context.getBinaryCollection().get("comp"), 0)); 303 const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout(vk, device, descriptorSetLayout)); 304 const Unique<VkPipeline> pipeline(makeComputePipeline(vk, device, *pipelineLayout, *shaderModule)); 306 const Unique<VkCommandPool> cmdPool(createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); 307 const Unique<VkCommandBuffer> cmdBuffer(allocateCommandBuffer(vk, device, *cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY)); 309 beginCommandBuffer(vk, *cmdBuffer) 359 const DeviceInterface& vk = m_context.getDeviceInterface(); local 373 const DeviceInterface& vk = m_context.getDeviceInterface(); local 401 const DeviceInterface& vk = m_context.getDeviceInterface(); local 435 const DeviceInterface& vk = m_context.getDeviceInterface(); local 450 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktImageTestsUtil.cpp | 29 using namespace vk; 36 Buffer::Buffer (const DeviceInterface& vk, 42 m_buffer = createBuffer(vk, device, &bufferCreateInfo); 43 m_allocation = allocator.allocate(getBufferMemoryRequirements(vk, device, *m_buffer), memoryRequirement); 44 VK_CHECK(vk.bindBufferMemory(device, *m_buffer, m_allocation->getMemory(), m_allocation->getOffset())); 47 Image::Image (const DeviceInterface& vk, 53 m_image = createImage(vk, device, &imageCreateInfo); 54 m_allocation = allocator.allocate(getImageMemoryRequirements(vk, device, *m_image), memoryRequirement); 55 VK_CHECK(vk.bindImageMemory(device, *m_image, m_allocation->getMemory(), m_allocation->getOffset())); 321 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationOperationMultiQueueTests.cpp | 48 using namespace vk; 229 void createBarrierMultiQueue (const DeviceInterface& vk, 253 vk.cmdPipelineBarrier(cmdBuffer, writeSync.stageMask, readSync.stageMask, (VkDependencyFlags)0, 0u, (const VkMemoryBarrier*)DE_NULL, 0u, (const VkBufferMemoryBarrier*)DE_NULL, 1u, &barrier); 256 vk.cmdPipelineBarrier(cmdBuffer, writeSync.stageMask, readSync.stageMask, (VkDependencyFlags)0, 0u, (const VkMemoryBarrier*)DE_NULL, 0u, (const VkBufferMemoryBarrier*)DE_NULL, 1u, &barrier); 274 vk.cmdPipelineBarrier(cmdBuffer, writeSync.stageMask, readSync.stageMask, (VkDependencyFlags)0, 0u, (const VkMemoryBarrier*)DE_NULL, 1u, (const VkBufferMemoryBarrier*)&barrier, 0u, (const VkImageMemoryBarrier *)DE_NULL); 310 const DeviceInterface& vk = m_opContext->getDeviceInterface(); local 323 createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queuePairs[pairNdx].familyIndexWrite), 324 createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queuePairs[pairNdx].familyIndexRead) 328 makeCommandBuffer(vk, device, *cmdPool[QUEUETYPE_WRITE]), 329 makeCommandBuffer(vk, device, *cmdPool[QUEUETYPE_READ] 407 const DeviceInterface& vk = m_opContext->getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationShaderInputOutputTests.cpp | 52 using namespace vk; 74 const DeviceInterface& vk = context.getDeviceInterface(); local 82 const Buffer vertexBuffer(vk, device, allocator, 89 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexDataSizeBytes); 98 const Image colorAttachmentImage (vk, device, allocator, 105 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 109 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange)); 110 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); 111 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 112 const Unique<VkPipelineLayout> pipelineLayout (makePipelineLayoutWithoutDescriptors(vk, device)) [all...] |
vktTessellationWindingTests.cpp | 48 using namespace vk; 335 const DeviceInterface& vk = m_context.getDeviceInterface(); local 346 const Image colorAttachmentImage (vk, device, allocator, 353 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 357 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange)); 358 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); 359 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)); 360 const Unique<VkPipelineLayout> pipelineLayout (makePipelineLayoutWithoutDescriptors(vk, device)); 369 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vert"), DE_NULL) 370 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, m_context.getBinaryCollection().get("tesc"), (…) [all...] |
vktTessellationCommonEdgeTests.cpp | 50 using namespace vk; 98 void initPrograms (vk::SourceCollections& programCollection, const CaseDefinition caseDef) 245 const DeviceInterface& vk = context.getDeviceInterface(); local 333 const Buffer vertexBuffer(vk, device, allocator, 344 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), vertexDataSizeBytes); 353 const Image colorAttachmentImage (vk, device, allocator, 360 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 364 const Unique<VkImageView> colorAttachmentView (makeImageView (vk, device, *colorAttachmentImage, VK_IMAGE_VIEW_TYPE_2D, colorFormat, colorImageSubresourceRange)); 365 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); 366 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), 1u)) [all...] |