/external/deqp/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferViewCreateTests.cpp | 96 const VkDevice vkDevice = m_context.getDevice(); local 121 testBuffer = createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); 128 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); 162 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); 169 if (vk.bindBufferMemory(vkDevice, *testBuffer, *memory, 0) != VK_SUCCESS) 174 bufferView = createBufferView(vk, vkDevice, &bufferViewCreateInfo, (const VkAllocationCallbacks*)DE_NULL); 198 completeBufferView = createBufferView(vk, vkDevice, &completeBufferViewCreateInfo, (const VkAllocationCallbacks*)DE_NULL);
|
H A D | vktApiBufferTests.cpp | 97 const VkDevice vkDevice = m_context.getDevice(); local 121 testBuffer = createBuffer(vk, vkDevice, &bufferParams); 128 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); 142 testBuffer = createBuffer(vk, vkDevice, &bufferParams); 148 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); 171 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); 184 vk.getDeviceQueue(vkDevice, queueFamilyIndex, 0, &queue); 225 const vk::Unique<vk::VkFence> fence(vk::createFence(vk, vkDevice, &fenceParams)); 227 VK_CHECK(vk.resetFences(vkDevice, 1, &fence.get())); 231 VK_CHECK(vk.waitForFences(vkDevice, [all...] |
H A D | vktApiSmokeTests.cpp | 64 const VkDevice vkDevice = context.getDevice(); local 90 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); 111 const VkDevice vkDevice = context.getDevice(); local 113 const Unique<VkShaderModule> shader (createShaderModule(vk, vkDevice, context.getBinaryCollection().get("test"), 0)); 332 const VkDevice vkDevice = context.getDevice(); local 336 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 359 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); 360 const UniquePtr<Allocation> vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); 362 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBufferMemory->getOffset())); 376 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, 944 const VkDevice vkDevice = context.getDevice(); local [all...] |
H A D | vktApiBufferViewAccessTests.cpp | 149 const VkDevice vkDevice = context.getDevice(); local 151 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 175 m_colorImage = createImage(vk, vkDevice, &colorImageParams); 178 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 179 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 196 m_resultBuffer = createBuffer(vk, vkDevice, &bufferParams); 197 m_resultBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_resultBuffer), MemoryRequirement::HostVisible); 199 VK_CHECK(vk.bindBufferMemory(vkDevice, *m_resultBuffer, m_resultBufferAlloc->getMemory(), m_resultBufferAlloc->getOffset())); 216 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 267 m_renderPass = createRenderPass(vk, vkDevice, 779 const VkDevice vkDevice = m_context.getDevice(); local 806 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktApiCopiesAndBlittingTests.cpp | 137 const VkDevice vkDevice = context.getDevice(); local 150 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams); 164 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); 176 m_fence = createFence(vk, vkDevice, &fenceParams); 213 const VkDevice vkDevice = m_context.getDevice(); local 218 flushMappedMemoryRange(vk, vkDevice, bufferAlloc.getMemory(), bufferAlloc.getOffset(), bufferSize); 224 const VkDevice vkDevice = m_context.getDevice(); local 227 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstanceInterface(), m_context.getPhysicalDevice())); 249 buffer = createBuffer(vk, vkDevice, &bufferParams); 250 bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffe 604 const VkDevice vkDevice = context.getDevice(); local 700 const VkDevice vkDevice = m_context.getDevice(); local 840 const VkDevice vkDevice = context.getDevice(); local 899 const VkDevice vkDevice = m_context.getDevice(); local 1026 const VkDevice vkDevice = context.getDevice(); local 1093 const VkDevice vkDevice = m_context.getDevice(); local 1251 const VkDevice vkDevice = context.getDevice(); local 1319 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktApiCommandBuffersTests.cpp | 499 const VkDevice vkDevice = context.getDevice(); local 511 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); 518 const VkDevice vkDevice = context.getDevice(); local 531 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); 538 const VkDevice vkDevice = context.getDevice(); local 550 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); 557 const VkDevice vkDevice = context.getDevice(); local 569 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); 576 const VkDevice vkDevice = context.getDevice(); local 588 const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, 597 const VkDevice vkDevice = context.getDevice(); local 619 const VkDevice vkDevice = context.getDevice(); local 649 const VkDevice vkDevice = context.getDevice(); local 693 const VkDevice vkDevice = context.getDevice(); local 724 const VkDevice vkDevice = context.getDevice(); local 754 const VkDevice vkDevice = context.getDevice(); local 798 const VkDevice vkDevice = context.getDevice(); local 829 const VkDevice vkDevice = context.getDevice(); local 925 const VkDevice vkDevice = context.getDevice(); local 1031 const VkDevice vkDevice = context.getDevice(); local 1140 const VkDevice vkDevice = context.getDevice(); local 1197 const VkDevice vkDevice = context.getDevice(); local 1298 const VkDevice vkDevice = context.getDevice(); local 1366 const VkDevice vkDevice = context.getDevice(); local 1469 const VkDevice vkDevice = context.getDevice(); local 1579 const VkDevice vkDevice = context.getDevice(); local 1758 const VkDevice vkDevice = context.getDevice(); local 1880 const VkDevice vkDevice = context.getDevice(); local 2125 const VkDevice vkDevice = context.getDevice(); local 2242 const VkDevice vkDevice = context.getDevice(); local 2392 const VkDevice vkDevice = context.getDevice(); local 2488 const VkDevice vkDevice = context.getDevice(); local 2584 const VkDevice vkDevice = context.getDevice(); local 2681 const VkDevice vkDevice = context.getDevice(); local 2787 const VkDevice vkDevice = context.getDevice(); local 2908 const VkDevice vkDevice = context.getDevice(); local 3068 const VkDevice vkDevice = context.getDevice(); local 3233 const VkDevice vkDevice = context.getDevice(); local 3348 const VkDevice vkDevice = context.getDevice(); local 3483 const VkDevice vkDevice = context.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeTestsUtil.cpp | 176 const VkDevice vkDevice, 192 return createBufferView(vk, vkDevice, &bufferViewParams); 196 const VkDevice vkDevice, 213 return createImageView(vk, vkDevice, &imageViewParams); 175 makeBufferView(const DeviceInterface& vk, const VkDevice vkDevice, const VkBuffer buffer, const VkFormat format, const VkDeviceSize offset, const VkDeviceSize size) argument 195 makeImageView(const DeviceInterface& vk, const VkDevice vkDevice, const VkImage image, const VkImageViewType imageViewType, const VkFormat format, const VkImageSubresourceRange subresourceRange) argument
|
/external/deqp/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageTestsUtil.cpp | 296 const VkDevice vkDevice, 312 return createBufferView(vk, vkDevice, &bufferViewParams); 316 const VkDevice vkDevice, 333 return createImageView(vk, vkDevice, &imageViewParams); 295 makeBufferView(const DeviceInterface& vk, const VkDevice vkDevice, const VkBuffer buffer, const VkFormat format, const VkDeviceSize offset, const VkDeviceSize size) argument 315 makeImageView(const DeviceInterface& vk, const VkDevice vkDevice, const VkImage image, const VkImageViewType imageViewType, const VkFormat format, const VkImageSubresourceRange subresourceRange) argument
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageSamplingInstance.cpp | 356 const VkDevice vkDevice = context.getDevice(); local 359 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 437 m_image = createImage(vk, vkDevice, &imageParams); 438 m_imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_image), MemoryRequirement::Any); 439 VK_CHECK(vk.bindImageMemory(vkDevice, *m_image, m_imageAlloc->getMemory(), m_imageAlloc->getOffset())); 442 uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, *m_image); 457 m_imageView = createImageView(vk, vkDevice, &imageViewParams); 458 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); 465 m_descriptorPool = descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT, 1u); 469 m_descriptorSetLayout = setLayoutBuilder.build(vk, vkDevice); 955 const VkDevice vkDevice = m_context.getDevice(); local 1003 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineTimestampTests.cpp | 339 const VkDevice vkDevice = m_context.getDevice(); 354 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); 371 const VkDevice vkDevice = m_context.getDevice(); 386 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 585 return createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams); 677 const VkDevice vkDevice = context.getDevice(); local 702 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams); 715 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams); 729 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdAllocateParams); 741 m_fence = createFence(vk, vkDevice, [all...] |
H A D | vktPipelineBlendTests.cpp | 303 const VkDevice vkDevice = m_context.getDevice(); 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); 444 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_contex 797 const VkDevice vkDevice = m_context.getDevice(); local 948 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineDepthTests.cpp | 231 const VkDevice vkDevice = context.getDevice(); 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); 295 m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), MemoryRequirement::Any); 296 VK_CHECK(vk.bindImageMemory(vkDevice, *m_depthImage, m_depthImageAlloc->getMemory(), m_depthImageAlloc->getOffset())); 317 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 334 m_depthAttachmentView = createImageView(vk, vkDevice, 820 const VkDevice vkDevice = m_context.getDevice(); local 871 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineInputAssemblyTests.cpp | 923 const VkDevice vkDevice = context.getDevice(); 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); 1041 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 1059 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 1075 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 1078 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_contex 1456 const VkDevice vkDevice = m_context.getDevice(); local 1533 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelinePushConstantTests.cpp | 474 const VkDevice vkDevice = context.getDevice(); local 476 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 503 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); 506 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 507 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 524 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 586 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 609 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 624 m_descriptorSetLayout = DescriptorSetLayoutBuilder().addSingleBinding(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_SHADER_STAGE_VERTEX_BIT).build(vk, vkDevice); 627 m_descriptorPool = DescriptorPoolBuilder().addType(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1u).build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BI 1072 const VkDevice vkDevice = m_context.getDevice(); local 1148 const VkDevice vkDevice = m_context.getDevice(); local 1258 const VkDevice vkDevice = context.getDevice(); local 1422 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineStencilTests.cpp | 320 const VkDevice vkDevice = context.getDevice(); 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); 421 m_stencilAttachmentView = createImageView(vk, vkDevice, 908 const VkDevice vkDevice = m_context.getDevice(); local 992 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineCacheTests.cpp | 193 const VkDevice vkDevice = m_context.getDevice(); local 208 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); 225 const VkDevice vkDevice = m_context.getDevice(); local 240 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 441 return createGraphicsPipeline(vk, vkDevice, cache, &graphicsPipelineParams); 462 const VkDevice vkDevice = context.getDevice(); local 464 SimpleAllocator* memAlloc = new SimpleAllocator(vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 478 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); 481 *pAlloc = memAlloc->allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible); 482 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffe 496 const VkDevice vkDevice = context.getDevice(); local 575 const VkDevice vkDevice = m_context.getDevice(); local 639 const VkDevice vkDevice = m_context.getDevice(); local 823 const VkDevice vkDevice = m_context.getDevice(); local 1118 const VkDevice vkDevice = m_context.getDevice(); local 1226 const VkDevice vkDevice = m_context.getDevice(); local 1255 const VkDevice vkDevice = m_context.getDevice(); local 1300 const VkDevice vkDevice = m_context.getDevice(); local 1317 const VkDevice vkDevice = m_context.getDevice(); local 1406 const VkDevice vkDevice = m_context.getDevice(); local 1471 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineEarlyFragmentTests.cpp | 113 const VkDevice vkDevice, 130 return createImageView(vk, vkDevice, &imageViewParams); 112 makeImageView(const DeviceInterface& vk, const VkDevice vkDevice, const VkImage image, const VkImageViewType imageViewType, const VkFormat format, const VkImageSubresourceRange subresourceRange) argument
|
H A D | vktPipelineMultisampleTests.cpp | 1285 const VkDevice vkDevice = context.getDevice(); local 1287 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 1311 m_colorImage = createImage(vk, vkDevice, &colorImageParams); 1314 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 1315 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 1340 m_resolveImage = createImage(vk, vkDevice, &resolveImageParams); 1343 m_resolveImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_resolveImage), MemoryRequirement::Any); 1344 VK_CHECK(vk.bindImageMemory(vkDevice, *m_resolveImage, m_resolveImageAlloc->getMemory(), m_resolveImageAlloc->getOffset())); 1361 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 1378 m_resolveAttachmentView = createImageView(vk, vkDevice, 1829 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
H A D | vktPipelineVertexInputTests.cpp | 648 const VkDevice vkDevice = context.getDevice(); local 650 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice())); 674 m_colorImage = createImage(vk, vkDevice, &colorImageParams); 677 m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), MemoryRequirement::Any); 678 VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset())); 695 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); 746 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); 764 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); 780 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); 783 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_contex 1128 const VkDevice vkDevice = m_context.getDevice(); local 1316 const VkDevice vkDevice = m_context.getDevice(); local 1391 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderExecutor.hpp | 116 void setupUniformData (const VkDevice& vkDevice, 126 void setupUniformArray (const VkDevice& vkDevice, 137 void setupSamplerData (const VkDevice& vkDevice, 156 void addUniforms (const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc); 240 void uploadImage (const VkDevice& vkDevice, 252 de::MovePtr<SamplerUniform> createSamplerUniform (const VkDevice& vkDevice, 265 de::MovePtr<BufferUniform> createBufferUniform (const VkDevice& vkDevice, 310 virtual void setup (ShaderExecutor& executor, const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc) const; 331 void UniformData<T>::setup (ShaderExecutor& executor, const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc) const argument 333 executor.setupUniformData(vkDevice, v 363 setup(ShaderExecutor& executor, const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc) const argument [all...] |
H A D | vktShaderExecutor.cpp | 619 const VkDevice vkDevice = ctx.getDevice(); local 636 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); 637 de::MovePtr<Allocation> alloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); 638 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); 641 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), inputSize); 697 const VkDevice vkDevice = ctx.getDevice(); local 804 Move<VkImage> colorImage = createImage(vk, vkDevice, &colorImageParams); 810 de::MovePtr<Allocation> colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *((const VkImage*) colorImages.back().get())), MemoryRequirement::Any); 811 VK_CHECK(vk.bindImageMemory(vkDevice, colorImages.back().get()->get(), colorImageAlloc->getMemory(), colorImageAlloc->getOffset())); 850 Move<VkImageView> colorImageView = createImageView(vk, vkDevice, 1793 const VkDevice vkDevice = ctx.getDevice(); local 1816 const VkDevice vkDevice = ctx.getDevice(); local 1845 const VkDevice vkDevice = ctx.getDevice(); local 1944 const VkDevice vkDevice = ctx.getDevice(); local 2189 const VkDevice vkDevice = ctx.getDevice(); local 2939 createBufferUniform(const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue , const deUint32 queueFamilyIndex, Allocator& memAlloc, deUint32 bindingLocation, VkDescriptorType descriptorType, deUint32 size, const void* dataPtr) argument 2982 setupUniformData(const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc, deUint32 bindingLocation, VkDescriptorType descriptorType, deUint32 size, const void* dataPtr) argument 3000 setupUniformArray(const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc, deUint32 bindingLocation, VkDescriptorType descriptorType, deUint32 arraySize, deUint32 size, const void* dataPtr) argument 3032 setupSamplerData(const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc, deUint32 bindingLocation, deUint32 numSamplers, const tcu::Sampler& refSampler, const tcu::TextureFormat& texFormat, const tcu::IVec3& texSize, VkImageType imageType, VkImageViewType imageViewType, const void* data) argument 3084 addUniforms(const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc) argument 3140 uploadImage(const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc, const tcu::TextureFormat& texFormat, const tcu::IVec3& texSize, const void* data, const deUint32 arraySize, const VkImageAspectFlags aspectMask, VkImage destImage) argument 3353 createSamplerUniform(const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc, deUint32 bindingLocation, const tcu::Sampler& refSampler, const tcu::TextureFormat& texFormat, const tcu::IVec3& texSize, VkImageType imageType, VkImageViewType imageViewType, const void* data) argument 3481 setup(ShaderExecutor& executor, const VkDevice& vkDevice, const DeviceInterface& vk, const VkQueue queue, const deUint32 queueFamilyIndex, Allocator& memAlloc) const argument [all...] |
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/ |
H A D | vktSparseResourcesTestsUtil.cpp | 343 const VkDevice vkDevice, 359 return createBufferView(vk, vkDevice, &bufferViewParams); 363 const VkDevice vkDevice, 380 return createImageView(vk, vkDevice, &imageViewParams); 342 makeBufferView(const DeviceInterface& vk, const VkDevice vkDevice, const VkBuffer buffer, const VkFormat format, const VkDeviceSize offset, const VkDeviceSize size) argument 362 makeImageView(const DeviceInterface& vk, const VkDevice vkDevice, const VkImage image, const VkImageViewType imageViewType, const VkFormat format, const VkImageSubresourceRange subresourceRange) argument
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRender.cpp | 512 const VkDevice vkDevice = m_context.getDevice(); local 528 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams); 529 de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); 530 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); 533 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), size); 582 const VkDevice vkDevice = m_context.getDevice(); local 599 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); 600 de::MovePtr<vk::Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirement::HostVisible); 601 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); 604 flushMappedMemoryRange(vk, vkDevice, allo 751 const VkDevice vkDevice = m_context.getDevice(); local 785 const VkDevice vkDevice = m_context.getDevice(); local 816 const VkDevice vkDevice = m_context.getDevice(); local 1102 const VkDevice vkDevice = m_context.getDevice(); local [all...] |
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
H A D | vktSpvAsmInstructionTests.cpp | 3339 void createPipelineShaderStages (const DeviceInterface& vk, const VkDevice vkDevice, InstanceContext& instance, Context& context, vector<ModuleHandleSp>& modules, vector<VkPipelineShaderStageCreateInfo>& createInfos) argument 3343 const ModuleHandleSp mod(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, context.getBinaryCollection().get(moduleNdx->first), 0))); 4663 const VkDevice vkDevice = context.getDevice(); local 4731 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); 4732 const UniquePtr<Allocation> vertexBufferMemory (context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequirement::HostVisible)); 4734 VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBufferMemory->getOffset())); 4748 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, &readImageBufferParams)); 4749 const UniquePtr<Allocation> readImageBufferMemory (context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer), MemoryRequirement::HostVisible)); 4751 VK_CHECK(vk.bindBufferMemory(vkDevice, *readImageBuffer, readImageBufferMemory->getMemory(), readImageBufferMemory->getOffset())); 4772 const Unique<VkImage> image (createImage(vk, vkDevice, [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
H A D | vktUniformBlockCase.cpp | 1133 const VkDevice vkDevice = context.getDevice(); local 1149 return vk::createBuffer(vk, vkDevice, &bufferInfo); 1656 const VkDevice vkDevice = m_context.getDevice(); local 1663 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), size); 1681 const VkDevice vkDevice = m_context.getDevice(); local 1731 return vk::createRenderPass(vk, vkDevice, &renderPassParams); 1736 const VkDevice vkDevice = m_context.getDevice(); local 1752 return vk::createFramebuffer(vk, vkDevice, &framebufferParams); 1803 const VkDevice vkDevice = m_context.getDevice(); local 1975 return vk::createGraphicsPipeline(vk, vkDevice, DE_NUL [all...] |