/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/wsi/ |
vktWsiSurfaceTests.cpp | 54 namespace vk namespace 86 } // vk 96 using namespace vk; 97 using namespace vk::wsi; 197 return vk::createDefaultInstance(vkp, version, vector<string>(), instanceExtensions, pAllocator); 231 MovePtr<Display> createDisplay (const vk::Platform& platform, 243 // If VK_KHR_{platform}_surface was supported, vk::Platform implementation 828 const DeviceDriver vk (instHelper.vki, *deviceGroup); 835 VK_CHECK(vk.getDeviceGroupPresentCapabilitiesKHR(deviceGroup.get(), presentCapabilities)); [all...] |
/external/mesa3d/src/gallium/drivers/swr/ |
swr_shader.cpp | 590 Value *vk = FSUB(FSUB(VIMMED1(1.0f), vi), vj); local 592 vc = FMUL(vk, vc);
|
/external/skia/tools/skqp/ |
gm_knowledge.cpp | 364 } else if (s.equals("vk")) { 372 int glesErrorCount = 0, vkErrorCount = 0, gles = 0, vk = 0; local 387 case Backend::kVulkan: ++vk; break; 407 "vk errors: %d (of %d)</p>\n", 408 glesErrorCount, gles, vkErrorCount, vk));
|
/external/skqp/tools/skqp/ |
gm_knowledge.cpp | 364 } else if (s.equals("vk")) { 372 int glesErrorCount = 0, vkErrorCount = 0, gles = 0, vk = 0; local 387 case Backend::kVulkan: ++vk; break; 407 "vk errors: %d (of %d)</p>\n", 408 glesErrorCount, gles, vkErrorCount, vk));
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiBufferViewAccessTests.cpp | 50 using namespace vk; 102 de::MovePtr<vk::Allocation> m_uniformBufferAlloc; 162 const DeviceInterface& vk = context.getDeviceInterface(); local 165 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 202 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 253 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 276 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 303 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorLayoutParams); 313 flushMappedMemoryRange(vk, vkDevice, m_uniformBufferAlloc->getMemory(), m_uniformBufferAlloc->getOffset(), uniformSize); 326 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo) 726 const DeviceInterface& vk = m_context.getDeviceInterface(); local 753 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktBasicDrawTests.cpp | 81 rr::PrimitiveType mapVkPrimitiveTopology (vk::VkPrimitiveTopology primitiveTopology) 85 case vk::VK_PRIMITIVE_TOPOLOGY_POINT_LIST: return rr::PRIMITIVETYPE_POINTS; 86 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST: return rr::PRIMITIVETYPE_LINES; 87 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP: return rr::PRIMITIVETYPE_LINE_STRIP; 88 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST: return rr::PRIMITIVETYPE_TRIANGLES; 89 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN: return rr::PRIMITIVETYPE_TRIANGLE_FAN; 90 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP: return rr::PRIMITIVETYPE_TRIANGLE_STRIP; 91 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINES_ADJACENCY; 92 case vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY: return rr::PRIMITIVETYPE_LINE_STRIP_ADJACENCY; 93 case vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY: return rr::PRIMITIVETYPE_TRIANGLES_ADJACENCY 753 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 881 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 1046 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/image/ |
vktImageLoadStoreTests.cpp | 53 using namespace vk; 260 const DeviceInterface& vk = context.getDeviceInterface(); local 268 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 1, &shaderWriteBarrier); 273 const DeviceInterface& vk = context.getDeviceInterface(); local 279 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 1, &shaderWriteBarrier, 0, (const VkImageMemoryBarrier*)DE_NULL); 290 const DeviceInterface& vk = context.getDeviceInterface(); local 304 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 0, (const VkBufferMemoryBarrier*)DE_NULL, 1, &prepareForTransferBarrier); 305 vk.cmdCopyImageToBuffer(cmdBuffer, image, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, buffer, 1u, ©Region); 306 vk.cmdPipelineBarrier(cmdBuffer, VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_HOST_BIT, (VkDependencyFlags)0, 0, (const VkMemoryBarrier*)DE_NULL, 1, ©Barrier, 0, (const VkImageMemoryBarrier*)DE_NULL); 452 const DeviceInterface& vk = m_context.getDeviceInterface() local 519 const DeviceInterface& vk = m_context.getDeviceInterface(); local 533 const DeviceInterface& vk = m_context.getDeviceInterface(); local 596 const DeviceInterface& vk = m_context.getDeviceInterface(); local 632 const DeviceInterface& vk = m_context.getDeviceInterface(); local 669 const DeviceInterface& vk = m_context.getDeviceInterface(); local 690 const DeviceInterface& vk = m_context.getDeviceInterface(); local 749 const DeviceInterface& vk = m_context.getDeviceInterface(); local 772 const DeviceInterface& vk = m_context.getDeviceInterface(); local 918 const DeviceInterface& vk = m_context.getDeviceInterface(); local 938 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1007 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1026 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1067 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1085 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1166 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1180 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1206 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktImageTranscodingSupportTests.cpp | 55 using namespace vk; 300 const DeviceInterface& vk = m_context.getDeviceInterface(); local 341 const MovePtr<Buffer> vertexBuffer = MovePtr<Buffer>(new Buffer(vk, device, allocator, makeBufferCreateInfo(vertexBufferSizeInBytes, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), MemoryRequirement::HostVisible)); 346 const MovePtr<Buffer> srcImageBuffer = MovePtr<Buffer>(new Buffer(vk, device, allocator, srcImageBufferInfo, MemoryRequirement::HostVisible)); 349 const MovePtr<Image> srcImage (new Image(vk, device, allocator, srcImageCreateInfo, MemoryRequirement::Any)); 350 Move<VkImageView> srcImageView (makeImageView(vk, device, srcImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, srcImageViewUsageFlags)); 353 de::MovePtr<Image> dstImage (new Image(vk, device, allocator, dstImageCreateInfo, MemoryRequirement::Any)); 354 Move<VkImageView> dstImageView (makeImageView(vk, device, dstImage->get(), mapImageViewType(m_parameters.imageType), m_parameters.featuredFormat, subresourceRange, dstImageViewUsageFlags)); 357 MovePtr<Buffer> dstImageBuffer = MovePtr<Buffer>(new Buffer(vk, device, allocator, dstImageBufferInfo, MemoryRequirement::HostVisible)); 359 const Unique<VkShaderModule> vertShaderModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0)) 550 const DeviceInterface& vk = m_context.getDeviceInterface(); local 813 const InstanceInterface& vk = context.getInstanceInterface(); 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::__anon17723::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/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineBlendTests.cpp | 55 using namespace vk; 302 const DeviceInterface& vk = m_context.getDeviceInterface(); local 305 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 335 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 338 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 339 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 356 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 407 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 425 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 441 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams) 768 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1032 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineFramebufferAttachmentTests.cpp | 56 using namespace vk; 116 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 183 return createRenderPass(vk, device, &renderPassInfo); 186 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 387 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 390 Move<VkImage> makeImage (const DeviceInterface& vk, 419 return createImage(vk, device, &imageParams); 495 inline Move<VkBuffer> makeBuffer (const DeviceInterface& vk, const VkDevice device, const VkDeviceSize bufferSize, const VkBufferUsageFlags usage) 498 return createBuffer(vk, device, &bufferCreateInfo); 512 const DeviceInterface& vk = context.getDeviceInterface() local 923 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
vktPipelineImageSamplingInstance.cpp | 43 using namespace vk; 216 const DeviceInterface& vk = context.getDeviceInterface(); local 221 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 317 m_images[imgNdx] = SharedImagePtr(new UniqueImage(createImage(vk, vkDevice, &imageParams))); 318 m_imageAllocs[imgNdx] = SharedAllocPtr(new UniqueAlloc(allocateImage(vki, vk, physDevice, vkDevice, **m_images[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind))); 319 VK_CHECK(vk.bindImageMemory(vkDevice, **m_images[imgNdx], (*m_imageAllocs[imgNdx])->getMemory(), (*m_imageAllocs[imgNdx])->getOffset())); 322 uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, **m_images[imgNdx]); 337 m_imageViews[imgNdx] = SharedImageViewPtr(new UniqueImageView(createImageView(vk, vkDevice, &imageViewParams))); 340 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); 349 m_descriptorPool = descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT 845 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineInputAssemblyTests.cpp | 53 using namespace vk; 922 const DeviceInterface& vk = context.getDeviceInterface(); local 925 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 969 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 972 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 973 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 990 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 1427 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1504 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
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...] |
vktPipelineSpecConstantTests.cpp | 49 using namespace vk; 466 const DeviceInterface& vk = m_context.getDeviceInterface(); local 474 const Buffer resultBuffer(vk, device, allocator, makeBufferCreateInfo(m_ssboSize, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 478 .build(vk, device)); 482 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); 484 const Unique<VkDescriptorSet> descriptorSet (makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout)); 489 .update(vk, device); 498 const Unique<VkShaderModule> shaderModule (createShaderModule (vk, device, m_context.getBinaryCollection().get("comp"), 0)); 499 const Unique<VkPipelineLayout> pipelineLayout(makePipelineLayout (vk, device, *descriptorSetLayout)); 500 const Unique<VkPipeline> pipeline (makeComputePipeline(vk, device, *pipelineLayout, *shaderModule, pSpecInfo)) 566 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineStencilTests.cpp | 54 using namespace vk; 316 const DeviceInterface& vk = context.getDeviceInterface(); local 319 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 344 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 347 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 348 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 376 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams); 379 m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage), MemoryRequirement::Any); 380 VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencilImageAlloc->getOffset())); 401 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams) 876 const DeviceInterface& vk = m_context.getDeviceInterface(); local 960 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemShaderImageAccessTests.cpp | 91 vk::VkFormat imageFormat; 97 , imageFormat (vk::VK_FORMAT_UNDEFINED) 103 const vk::VkFormat imageFormat_, 231 void clearImage (vk::VkImage image); 232 void uploadImage (vk::VkImage image, 234 void copyToProtectedImage (vk::VkImage srcImage, 235 vk::VkImage dstImage); 237 tcu::TestStatus validateResult (vk::VkImage image, 266 virtual void initPrograms (vk::SourceCollections& programCollection) const; 273 void ImageAccessTestCase::initPrograms (vk::SourceCollections& programCollection) cons 507 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 615 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 720 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 806 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 993 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local [all...] |
vktProtectedMemYCbCrConversionTests.cpp | 50 static const vk::VkFormat s_colorFormat = vk::VK_FORMAT_R8G8B8A8_UNORM; 99 vk::VkFormat format_, 100 vk::VkImageTiling imageTiling_, 101 vk::VkFilter textureFilter_, 102 vk::VkSamplerAddressMode addressModeU_, 103 vk::VkSamplerAddressMode addressModeV_, 105 vk::VkFilter chromaFilter_, 106 vk::VkChromaLocation xChromaOffset_, 107 vk::VkChromaLocation yChromaOffset_ 317 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 496 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 765 const vk::DeviceInterface& vk = context.getDeviceInterface(); local 809 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local 1143 const vk::DeviceInterface& vk = ctx.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/query_pool/ |
vktQueryPoolOcclusionTests.cpp | 54 StateObjects (const vk::DeviceInterface&vk, vkt::Context &context, const int numVertices, vk::VkPrimitiveTopology primitive); 55 void setVertices (const vk::DeviceInterface&vk, std::vector<tcu::Vec4> vertices); 65 vk::Move<vk::VkPipeline> m_pipeline; 66 vk::Move<vk::VkPipelineLayout> m_pipelineLayout; 69 vk::Move<vk::VkImageView> m_attachmentView 327 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 355 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 366 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 563 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 612 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 620 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 771 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 788 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 860 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local 876 const vk::DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktQueryPoolStatisticsTests.cpp | 50 using namespace vk; 108 void beginCommandBuffer (const DeviceInterface& vk, const VkCommandBuffer commandBuffer) 117 VK_CHECK(vk.beginCommandBuffer(commandBuffer, &info)); 120 void beginSecondaryCommandBuffer (const DeviceInterface& vk, 146 VK_CHECK(vk.beginCommandBuffer(commandBuffer, &info)); 149 void submitCommandsAndWait (const DeviceInterface& vk, 160 const Unique<VkFence> fence (createFence(vk, device, &fenceInfo)); 174 VK_CHECK(vk.queueSubmit(queue, 1u, &submitInfo, *fence)); 175 VK_CHECK(vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull)); 178 Move<VkQueryPool> makeQueryPool (const DeviceInterface& vk, const VkDevice device, VkQueryPipelineStatisticFlags statisticFlags 268 const DeviceInterface& vk = m_context.getDeviceInterface(); local 323 const DeviceInterface& vk = m_context.getDeviceInterface(); local 440 const DeviceInterface& vk = m_context.getDeviceInterface(); local 535 const DeviceInterface& vk = m_context.getDeviceInterface(); local 598 const DeviceInterface& vk = m_context.getDeviceInterface(); local 766 const DeviceInterface& vk = m_context.getDeviceInterface(); local 784 const DeviceInterface& vk = m_context.getDeviceInterface(); local 922 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1006 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1054 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1115 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1156 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1227 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1301 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1391 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1441 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1493 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1523 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1594 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1669 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1757 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1807 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1836 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1855 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1929 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/robustness/ |
vktRobustnessBufferAccessTests.cpp | 46 using namespace vk; 666 const DeviceInterface& vk = context.getDeviceInterface(); local 670 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 736 m_inBuffer = createBuffer(vk, *m_device, &inBufferParams); 738 inBufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_inBuffer); 745 VK_CHECK(vk.bindBufferMemory(*m_device, *m_inBuffer, m_inBufferAlloc->getMemory(), m_inBufferAlloc->getOffset())); 747 flushMappedMemoryRange(vk, *m_device, m_inBufferAlloc->getMemory(), m_inBufferAlloc->getOffset(), VK_WHOLE_SIZE); 771 m_outBuffer = createBuffer(vk, *m_device, &outBufferParams); 773 outBufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_outBuffer); 789 VK_CHECK(vk.bindBufferMemory(*m_device, *m_outBuffer, m_outBufferAlloc->getMemory(), m_outBufferAlloc->getOffs (…) [all...] |
vktRobustnessVertexAccessTests.cpp | 46 using namespace vk; 440 const DeviceInterface& vk = context.getDeviceInterface(); local 442 SimpleAllocator memAlloc (vk, *m_device, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 524 m_vertexRateBuffer = createBuffer(vk, *m_device, &vertexRateBufferParams); 525 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_vertexRateBuffer); 529 VK_CHECK(vk.bindBufferMemory(*m_device, *m_vertexRateBuffer, m_vertexRateBufferAlloc->getMemory(), m_vertexRateBufferAlloc->getOffset())); 531 flushMappedMemoryRange(vk, *m_device, m_vertexRateBufferAlloc->getMemory(), m_vertexRateBufferAlloc->getOffset(), VK_WHOLE_SIZE); 552 m_instanceRateBuffer = createBuffer(vk, *m_device, &instanceRateBufferParams); 553 bufferMemoryReqs = getBufferMemoryRequirements(vk, *m_device, *m_instanceRateBuffer); 557 VK_CHECK(vk.bindBufferMemory(*m_device, *m_instanceRateBuffer, m_instanceRateBufferAlloc->getMemory(), m_insta (…) 703 const DeviceInterface& vk = m_context.getDeviceInterface(); local 759 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationInternallySynchronizedObjectsTests.cpp | 51 using namespace vk; 191 const DeviceInterface& vk = context.getDeviceInterface(); local 264 vk.getDeviceQueue(queues.getDevice(), queues.getQueueFamilyIndex(queueFamilyIndex), queueReqNdx, &queues.getQueues(queueFamilyIndex).queues[queueReqNdx]); 275 const DeviceInterface& vk = context.getDeviceInterface(); local 318 return createRenderPass(vk, device, &renderPassParams); 324 const DeviceInterface& vk = context.getDeviceInterface(); local 334 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); 335 Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 337 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, queueFamilyIndex)); 338 const Unique<VkCommandBuffer> cmdBuffer (makeCommandBuffer(vk, device, *cmdPool)) 398 const DeviceInterface& vk = context.getDeviceInterface(); local 611 const DeviceInterface& vk = m_context.getDeviceInterface(); local 641 const DeviceInterface& vk = m_context.getDeviceInterface(); local 669 const DeviceInterface& vk = m_context.getDeviceInterface(); local 712 const DeviceInterface& vk = m_context.getDeviceInterface(); local 780 const DeviceInterface& vk = m_context.getDeviceInterface(); local 824 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationInvarianceTests.cpp | 51 using namespace vk; 233 void addDefaultPrograms (vk::SourceCollections& programCollection, 625 const DeviceInterface& vk = m_context.getDeviceInterface(); local 632 .setShader (vk, device, VK_SHADER_STAGE_VERTEX_BIT, m_context.getBinaryCollection().get("vert"), DE_NULL) 633 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, m_context.getBinaryCollection().get("tesc"), DE_NULL) 634 .setShader (vk, device, VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, m_context.getBinaryCollection().get(getProgramName("tese", winding, usePointMode)), DE_NULL) 635 .setShader (vk, device, VK_SHADER_STAGE_GEOMETRY_BIT, m_context.getBinaryCollection().get(getProgramName("geom", usePointMode)), DE_NULL) 636 .build (vk, device, *m_pipelineLayout, *m_renderPass)); 641 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), m_resultBufferSizeBytes); 644 beginCommandBuffer(vk, *m_cmdBuffer) 695 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |