/external/deqp/external/vulkancts/framework/vulkan/ |
vkDeviceUtil.hpp | 37 namespace vk namespace 50 } // vk
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
vktSpvAsmComputeShaderCase.hpp | 48 void initPrograms (vk::SourceCollections& programCollection) const;
|
vktSpvAsmComputeShaderTestUtil.hpp | 38 using namespace vk; 45 typedef de::MovePtr<vk::Allocation> AllocationMp; 46 typedef de::SharedPtr<vk::Allocation> AllocationSp;
|
/external/deqp/external/vulkancts/modules/vulkan/ |
vktTestCase.cpp | 46 using namespace vk; 316 vk::Allocator* createAllocator (DefaultDevice* device) 318 const VkPhysicalDeviceMemoryProperties memoryProperties = vk::getPhysicalDeviceMemoryProperties(device->getInstanceInterface(), device->getPhysicalDevice()); 329 const vk::PlatformInterface& platformInterface, 330 vk::ProgramCollection<vk::ProgramBinary>& progCollection) 344 vk::VkInstance Context::getInstance (void) const { return m_device->getInstance(); } 345 const vk::InstanceInterface& Context::getInstanceInterface (void) const { return m_device->getInstanceInterface(); } 346 vk::VkPhysicalDevice Context::getPhysicalDevice (void) const { return m_device->getPhysicalDevice(); } 347 const vk::VkPhysicalDeviceFeatures& Context::getDeviceFeatures (void) const { return m_device->getDevic (…) [all...] |
vktBuildPrograms.cpp | 57 typedef de::SharedPtr<vk::SpirVAsmSource> SpirVAsmSourceSp; 58 typedef de::SharedPtr<vk::ProgramBinary> ProgramBinarySp; 195 vk::ProgramIdentifier id; 204 explicit Program (const vk::ProgramIdentifier& id_) 243 BuildGlslTask (const vk::GlslSource& source, Program* program) 256 m_program->binary = ProgramBinarySp(vk::buildProgram(m_source, &buildInfo)); 272 vk::GlslSource m_source; 276 void writeBuildLogs (const vk::SpirVProgramInfo& buildInfo, std::ostream& dst) 287 BuildSpirVAsmTask (const vk::SpirVAsmSource& source, Program* program) 296 vk::SpirVProgramInfo buildInfo [all...] |
/external/deqp/framework/platform/win32/ |
tcuWin32Platform.hpp | 50 const vk::Platform& getVulkanPlatform (void) const { return m_vulkanPlatform; }
|
/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/texture/ |
vktSampleVerifier.hpp | 82 vk::VkFilter magFilter; 83 vk::VkFilter minFilter; 84 vk::VkSamplerMipmapMode mipmapFilter; 86 vk::VkSamplerAddressMode wrappingModeU; 87 vk::VkSamplerAddressMode wrappingModeV; 88 vk::VkSamplerAddressMode wrappingModeW; 90 vk::VkBorderColor borderColor; 114 vk::VkFormat format; 151 vk::VkFilter filter, 152 vk::VkSamplerMipmapMode mipmapFilter [all...] |
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiGranularityTests.cpp | 49 using namespace vk; 160 const DeviceInterface& vk = m_context.getDeviceInterface(); local 163 SimpleAllocator memAlloc (vk, device, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 187 Move<VkImage> image = createImage(vk, device, &imageInfo); 188 de::MovePtr<Allocation> imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, device, *image), MemoryRequirement::Any); 189 VK_CHECK(vk.bindImageMemory(device, *image, imageAlloc->getMemory(), imageAlloc->getOffset())); 229 Move<VkImageView> imageView = createImageView(vk, device, &createInfo); 240 const DeviceInterface& vk = m_context.getDeviceInterface(); local 272 m_renderPass = createRenderPass(vk, device, &renderPassParams); 296 m_frameBuffer = createFramebuffer(vk, device, &framebufferParams) 319 const DeviceInterface& vk = m_context.getDeviceInterface(); local 343 const DeviceInterface& vk = m_context.getDeviceInterface(); local 351 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
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/tessellation/ |
vktTessellationFractionalSpacingTests.cpp | 47 using namespace vk; 370 void initPrograms (vk::SourceCollections& programCollection, const SpacingMode spacingMode) 435 const DeviceInterface& vk = context.getDeviceInterface(); 447 const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 452 const Buffer tessLevelsBuffer (vk, device, allocator, makeBufferCreateInfo(tessLevelsBufferSizeBytes, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), MemoryRequirement::HostVisible); 459 .build(vk, device)); 464 .build(vk, device, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u)); 466 const Unique<VkDescriptorSet> descriptorSet (makeDescriptorSet(vk, device, *descriptorPool, *descriptorSetLayout)); 473 .update(vk, device); 477 const Unique<VkRenderPass> renderPass (makeRenderPassWithoutAttachments (vk, device)) [all...] |
vktTessellationGeometryGridRenderTests.cpp | 50 using namespace vk; 76 void initPrograms (vk::SourceCollections& programCollection) const; 532 const DeviceInterface& vk = m_context.getDeviceInterface(); local 545 const Image colorAttachmentImage (vk, device, allocator, colorImageCreateInfo, MemoryRequirement::Any); 550 const Buffer colorBuffer (vk, device, allocator, makeBufferCreateInfo(colorBufferSizeBytes, VK_BUFFER_USAGE_TRANSFER_DST_BIT), MemoryRequirement::HostVisible); 554 const Unique<VkImageView> colorAttachmentView(makeImageView (vk, device, *colorAttachmentImage, colorAttachmentViewType, colorFormat, colorImageAllLayersRange)); 555 const Unique<VkRenderPass> renderPass (makeRenderPass (vk, device, colorFormat)); 556 const Unique<VkFramebuffer> framebuffer (makeFramebuffer (vk, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), m_params.numLayers)); 557 const Unique<VkPipelineLayout> pipelineLayout (makePipelineLayoutWithoutDescriptors(vk, device)); 558 const Unique<VkCommandPool> cmdPool (makeCommandPool (vk, device, queueFamilyIndex)) [all...] |
vktTessellationUtil.cpp | 34 using namespace vk; 97 Move<VkCommandPool> makeCommandPool (const DeviceInterface& vk, const VkDevice device, const deUint32 queueFamilyIndex) 106 return createCommandPool(vk, device, &info); 110 Move<VkDescriptorSet> makeDescriptorSet (const DeviceInterface& vk, 123 return allocateDescriptorSet(vk, device, &info); 126 Move<VkPipelineLayout> makePipelineLayout (const DeviceInterface& vk, 140 return createPipelineLayout(vk, device, &info); 143 Move<VkPipelineLayout> makePipelineLayoutWithoutDescriptors (const DeviceInterface& vk, 156 return createPipelineLayout(vk, device, &info); 159 Move<VkPipeline> makeComputePipeline (const DeviceInterface& vk, [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); 437 const DeviceInterface& vk = m_context.getDeviceInterface() local 502 const DeviceInterface& vk = m_context.getDeviceInterface(); local 516 const DeviceInterface& vk = m_context.getDeviceInterface(); local 569 const DeviceInterface& vk = m_context.getDeviceInterface(); local 605 const DeviceInterface& vk = m_context.getDeviceInterface(); local 642 const DeviceInterface& vk = m_context.getDeviceInterface(); local 663 const DeviceInterface& vk = m_context.getDeviceInterface(); local 720 const DeviceInterface& vk = m_context.getDeviceInterface(); local 743 const DeviceInterface& vk = m_context.getDeviceInterface(); local 873 const DeviceInterface& vk = m_context.getDeviceInterface(); local 893 const DeviceInterface& vk = m_context.getDeviceInterface(); local 951 const DeviceInterface& vk = m_context.getDeviceInterface(); local 970 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1011 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1029 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1108 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1122 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1148 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/draw/ |
vktDrawNegativeViewportHeightTests.cpp | 48 using namespace vk; 91 const DeviceInterface& vk = m_context.getDeviceInterface(); local 109 m_vertexBuffer = Buffer::createAndAlloc(vk, device, BufferCreateInfo(dataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT), 113 flushMappedMemoryRange(vk, device, m_vertexBuffer->getBoundMemory().getMemory(), m_vertexBuffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE); 131 m_colorTargetImage = Image::createAndAlloc(vk, device, targetImageCreateInfo, m_context.getDefaultAllocator()); 162 m_renderPass = createRenderPass(vk, device, &renderPassCreateInfo); 168 m_colorTargetView = createImageView(vk, device, &colorTargetViewInfo); 174 m_framebuffer = createFramebuffer(vk, device, &framebufferCreateInfo); 208 const Unique<VkShaderModule> vertexModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0)); 209 const Unique<VkShaderModule> fragmentModule (createShaderModule(vk, device, m_context.getBinaryCollection().get("frag"), 0)) 243 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktDrawShaderDrawParametersTests.cpp | 107 DE_ASSERT(m_topology == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP); 161 m_indirectBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indirectBufferSize, vk::VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT), 162 m_context.getDefaultAllocator(), vk::MemoryRequirement::HostVisible); 165 vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemory(), m_indirectBuffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE); 172 m_indexBuffer = Buffer::createAndAlloc(m_vk, m_context.getDevice(), BufferCreateInfo(indexBufferSize, vk::VK_BUFFER_USAGE_INDEX_BUFFER_BIT), 173 m_context.getDefaultAllocator(), vk::MemoryRequirement::HostVisible); 184 vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indexBuffer->getBoundMemory().getMemory(), m_indexBuffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE); 198 vk::flushMappedMemoryRange(m_vk, m_context.getDevice(), m_indirectBuffer->getBoundMemory().getMemory(), m_indirectBuffer->getBoundMemory().getOffset(), VK_WHOLE_SIZE); 240 const vk::VkDeviceSize vertexBufferOffset = 0; 241 const vk::VkBuffer vertexBuffer = m_vertexBuffer->object() [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRender.cpp | 56 using namespace vk; 520 void ShaderRenderCase::initPrograms (vk::SourceCollections& programCollection) const 626 const InstanceInterface& vk = m_context.getInstanceInterface(); 628 const VkPhysicalDeviceFeatures deviceFeatures = getPhysicalDeviceFeatures(vk, physicalDevice); 654 return vk::createDevice(vk, physicalDevice, &deviceInfo); 657 vk::Allocator* ShaderRenderCaseInstance::SparseContext::createAllocator () const 673 vk::Allocator& ShaderRenderCaseInstance::getAllocator (void) const 782 const DeviceInterface& vk = getDeviceInterface(); 797 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams) 852 const DeviceInterface& vk = getDeviceInterface(); local 1030 const DeviceInterface& vk = getDeviceInterface(); local 1223 const DeviceInterface& vk = m_context.getDeviceInterface(); local 1406 const DeviceInterface& vk = getDeviceInterface(); local [all...] |
vktShaderRenderBuiltinVarTests.cpp | 49 using namespace vk; 318 catch (const vk::Error& e) 331 const DeviceInterface& vk = m_context.getDeviceInterface(); local 375 validationBuffer = createBuffer(vk, device, &validationBufferCreateInfo); 376 validationAlloc = allocator.allocate(getBufferMemoryRequirements(vk, device, *validationBuffer), MemoryRequirement::HostVisible); 377 VK_CHECK(vk.bindBufferMemory(device, *validationBuffer, validationAlloc->getMemory(), validationAlloc->getOffset())); 400 depthResolveImage = createImage(vk, device, &depthResolveImageCreateInfo, DE_NULL); 401 depthResolveAllocation = allocator.allocate(getImageMemoryRequirements(vk, device, *depthResolveImage), MemoryRequirement::Any); 402 VK_CHECK(vk.bindImageMemory(device, *depthResolveImage, depthResolveAllocation->getMemory(), depthResolveAllocation->getOffset())); 416 depthResolveImageView = createImageView(vk, device, &depthResolveImageViewCreateInfo, DE_NULL) 1279 const DeviceInterface& vk = m_context.getDeviceInterface(); local 2467 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineImageSamplingInstance.cpp | 43 using namespace vk; 216 const DeviceInterface& vk = context.getDeviceInterface(); local 221 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 319 m_images[imgNdx] = SharedImagePtr(new UniqueImage(createImage(vk, vkDevice, &imageParams))); 320 m_imageAllocs[imgNdx] = SharedAllocPtr(new UniqueAlloc(allocateImage(vki, vk, physDevice, vkDevice, **m_images[imgNdx], MemoryRequirement::Any, memAlloc, m_allocationKind))); 321 VK_CHECK(vk.bindImageMemory(vkDevice, **m_images[imgNdx], (*m_imageAllocs[imgNdx])->getMemory(), (*m_imageAllocs[imgNdx])->getOffset())); 324 uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, **m_images[imgNdx]); 339 m_imageViews[imgNdx] = SharedImageViewPtr(new UniqueImageView(createImageView(vk, vkDevice, &imageViewParams))); 342 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); 351 m_descriptorPool = descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT 847 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineDepthTests.cpp | 52 using namespace vk; 68 DE_ASSERT(vk::isDepthStencilFormat(format)); 87 DE_ASSERT(vk::isDepthStencilFormat(format)); 92 supportedFormatsMsg << vk::getFormatName(format); 230 const DeviceInterface& vk = context.getDeviceInterface(); local 233 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 260 m_colorImage = createImage(vk, vkDevice, &colorImageParams); 263 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 264 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 292 m_depthImage = createImage(vk, vkDevice, &depthImageParams) 791 const DeviceInterface& vk = m_context.getDeviceInterface(); local 842 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
vktPipelineStencilTests.cpp | 54 using namespace vk; 319 const DeviceInterface& vk = context.getDeviceInterface(); local 322 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 347 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 350 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 351 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 379 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams); 382 m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage), MemoryRequirement::Any); 383 VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencilImageAlloc->getOffset())); 404 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams) 879 const DeviceInterface& vk = m_context.getDeviceInterface(); local 963 const DeviceInterface& vk = m_context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/ |
vktFragmentOperationsScissorTests.cpp | 49 using namespace vk; 114 Move<VkRenderPass> makeRenderPass (const DeviceInterface& vk, 164 return createRenderPass(vk, device, &renderPassInfo); 167 Move<VkPipeline> makeGraphicsPipeline (const DeviceInterface& vk, 366 return createGraphicsPipeline(vk, device, DE_NULL, &graphicsPipelineInfo); 451 void zeroBuffer (const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize size) 454 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), size); 543 const DeviceInterface& vk = context.getDeviceInterface(); local 548 m_colorImage = makeImage(vk, device, makeImageCreateInfo(m_colorFormat, m_renderSize, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT)); 549 m_colorImageAlloc = bindImage(vk, device, allocator, *m_colorImage, MemoryRequirement::Any) 573 const DeviceInterface& vk = context.getDeviceInterface(); local 700 const DeviceInterface& vk = context.getDeviceInterface(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
vktSparseResourcesQueueBindSparseTests.cpp | 41 using namespace vk; 134 bool waitForFences (const DeviceInterface& vk, const VkDevice device, const std::vector<FenceSp>& fences) 138 if (vk.waitForFences(device, 1u, &(***fenceSpIter), VK_TRUE, ~0ull) != VK_SUCCESS) 184 const DeviceInterface& vk = getDeviceInterface(); local 194 allSemaphores.push_back(makeVkSharedPtr(createSemaphore(vk, getDevice()))); 200 allSemaphores.push_back(makeVkSharedPtr(createSemaphore(vk, getDevice()))); 280 bindSparseFences.push_back(makeVkSharedPtr(createFence(vk, getDevice()))); 285 VK_CHECK(vk.queueBindSparse(submissionIter->queue->queueHandle, 0u, DE_NULL, fence)); 287 VK_CHECK(vk.queueBindSparse(submissionIter->queue->queueHandle, 1u, &submissionIter->info.sparse, fence)); 291 regularFences.push_back(makeVkSharedPtr(createFence(vk, getDevice()))) [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/ |
android-generate.sh | 24 python ../vk-generate.py Android dispatch-table-ops layer > generated/include/vk_dispatch_table_helper.h 29 python ../vk-layer-generate.py Android object_tracker ../include/vulkan/vulkan.h > generated/include/object_tracker.cpp 30 python ../vk-layer-generate.py Android unique_objects ../include/vulkan/vulkan.h > generated/include/unique_objects.cpp 31 ( cd generated/include; python ../../../genvk.py threading -registry ../../../vk.xml thread_check.h ) 32 ( cd generated/include; python ../../../genvk.py paramchecker -registry ../../../vk.xml parameter_validation.h )
|