Home
last modified time | relevance | path

Searched refs:vkDevice (Results 1 – 25 of 27) sorted by relevance

12

/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp499 const VkDevice vkDevice = context.getDevice(); in createPoolNullParamsTest() local
511 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolNullParamsTest()
518 const VkDevice vkDevice = context.getDevice(); in createPoolNonNullAllocatorTest() local
531 createCommandPool(vk, vkDevice, &cmdPoolParams, allocationCallbacks); in createPoolNonNullAllocatorTest()
538 const VkDevice vkDevice = context.getDevice(); in createPoolTransientBitTest() local
550 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolTransientBitTest()
557 const VkDevice vkDevice = context.getDevice(); in createPoolResetBitTest() local
569 createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NULL); in createPoolResetBitTest()
576 const VkDevice vkDevice = context.getDevice(); in resetPoolReleaseResourcesBitTest() local
588 …const Unique<VkCommandPool> cmdPool (createCommandPool(vk, vkDevice, &cmdPoolParams, DE_NUL… in resetPoolReleaseResourcesBitTest()
[all …]
DvktApiSmokeTests.cpp64 const VkDevice vkDevice = context.getDevice(); in createSamplerTest() local
90 Move<VkSampler> tmpSampler = createSampler(vk, vkDevice, &samplerInfo); in createSamplerTest()
111 const VkDevice vkDevice = context.getDevice(); in createShaderModuleTest() local
113 …const Unique<VkShaderModule> shader (createShaderModule(vk, vkDevice, context.getBinaryCollection… in createShaderModuleTest()
332 const VkDevice vkDevice = context.getDevice(); in renderTriangleTest() local
336 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInst… in renderTriangleTest()
359 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); in renderTriangleTest()
360 … vertexBufferMemory (memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), … in renderTriangleTest()
362 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBuffe… in renderTriangleTest()
376 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, &readImageBufferParams)); in renderTriangleTest()
[all …]
DvktApiBufferViewAccessTests.cpp149 const VkDevice vkDevice = context.getDevice(); in BufferViewTestInstance() local
151 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstance… in BufferViewTestInstance()
175 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in BufferViewTestInstance()
178 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BufferViewTestInstance()
179 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in BufferViewTestInstance()
196 m_resultBuffer = createBuffer(vk, vkDevice, &bufferParams); in BufferViewTestInstance()
197 …m_resultBufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *m_resultBuffer)… in BufferViewTestInstance()
199 …VK_CHECK(vk.bindBufferMemory(vkDevice, *m_resultBuffer, m_resultBufferAlloc->getMemory(), m_result… in BufferViewTestInstance()
216 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in BufferViewTestInstance()
267 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); in BufferViewTestInstance()
[all …]
DvktApiCopiesAndBlittingTests.cpp137 const VkDevice vkDevice = context.getDevice(); in CopiesAndBlittingTestInstance() local
150 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams); in CopiesAndBlittingTestInstance()
164 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdBufferAllocateInfo); in CopiesAndBlittingTestInstance()
176 m_fence = createFence(vk, vkDevice, &fenceParams); in CopiesAndBlittingTestInstance()
213 const VkDevice vkDevice = m_context.getDevice(); in uploadBuffer() local
218 flushMappedMemoryRange(vk, vkDevice, bufferAlloc.getMemory(), bufferAlloc.getOffset(), bufferSize); in uploadBuffer()
224 const VkDevice vkDevice = m_context.getDevice(); in uploadImage() local
227 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in uploadImage()
249 buffer = createBuffer(vk, vkDevice, &bufferParams); in uploadImage()
250 …bufferAlloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), MemoryRequirem… in uploadImage()
[all …]
DvktApiBufferTests.cpp97 const VkDevice vkDevice = m_context.getDevice(); in bufferCreateAndAllocTest() local
121 testBuffer = createBuffer(vk, vkDevice, &bufferParams); in bufferCreateAndAllocTest()
128 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in bufferCreateAndAllocTest()
142 testBuffer = createBuffer(vk, vkDevice, &bufferParams); in bufferCreateAndAllocTest()
148 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in bufferCreateAndAllocTest()
171 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in bufferCreateAndAllocTest()
184 vk.getDeviceQueue(vkDevice, queueFamilyIndex, 0, &queue); in bufferCreateAndAllocTest()
225 const vk::Unique<vk::VkFence> fence(vk::createFence(vk, vkDevice, &fenceParams)); in bufferCreateAndAllocTest()
227 VK_CHECK(vk.resetFences(vkDevice, 1, &fence.get())); in bufferCreateAndAllocTest()
231 VK_CHECK(vk.waitForFences(vkDevice, 1, &fence.get(), VK_TRUE, ~(0ull) /* infinity */)); in bufferCreateAndAllocTest()
[all …]
DvktApiBufferViewCreateTests.cpp96 const VkDevice vkDevice = m_context.getDevice(); in iterate() local
121 testBuffer = createBuffer(vk, vkDevice, &bufferParams, (const VkAllocationCallbacks*)DE_NULL); in iterate()
128 vk.getBufferMemoryRequirements(vkDevice, *testBuffer, &memReqs); in iterate()
162 memory = allocateMemory(vk, vkDevice, &memAlloc, (const VkAllocationCallbacks*)DE_NULL); in iterate()
169 if (vk.bindBufferMemory(vkDevice, *testBuffer, *memory, 0) != VK_SUCCESS) in iterate()
174 …bufferView = createBufferView(vk, vkDevice, &bufferViewCreateInfo, (const VkAllocationCallbacks*)D… in iterate()
198 …completeBufferView = createBufferView(vk, vkDevice, &completeBufferViewCreateInfo, (const VkAlloca… in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineCacheTests.cpp193 const VkDevice vkDevice = m_context.getDevice(); in bindShaderStage() local
208 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); in bindShaderStage()
225 const VkDevice vkDevice = m_context.getDevice(); in buildPipeline() local
240 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in buildPipeline()
441 return createGraphicsPipeline(vk, vkDevice, cache, &graphicsPipelineParams); in buildPipeline()
462 const VkDevice vkDevice = context.getDevice(); in createBufferAndBindMemory() local
464 …SimpleAllocator* memAlloc = new SimpleAllocator(vk, vkDevice, getPhysicalDeviceMemo… in createBufferAndBindMemory()
478 Move<VkBuffer> vertexBuffer = createBuffer(vk, vkDevice, &vertexBufferParams); in createBufferAndBindMemory()
481 …*pAlloc = memAlloc->allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), MemoryRequi… in createBufferAndBindMemory()
482 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, (*pAlloc)->getMemory(), (*pAlloc)->getOffset… in createBufferAndBindMemory()
[all …]
DvktPipelinePushConstantTests.cpp474 const VkDevice vkDevice = context.getDevice(); in PushConstantGraphicsTestInstance() local
476 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in PushConstantGraphicsTestInstance()
503 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in PushConstantGraphicsTestInstance()
506 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in PushConstantGraphicsTestInstance()
507 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in PushConstantGraphicsTestInstance()
524 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in PushConstantGraphicsTestInstance()
586 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); in PushConstantGraphicsTestInstance()
609 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in PushConstantGraphicsTestInstance()
624 …ddSingleBinding(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, VK_SHADER_STAGE_VERTEX_BIT).build(vk, vkDevice); in PushConstantGraphicsTestInstance()
627 …rPoolBuilder().addType(VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, 1u).build(vk, vkDevice, VK_DESCRIPTOR_PO… in PushConstantGraphicsTestInstance()
[all …]
DvktPipelineImageSamplingInstance.cpp355 const VkDevice vkDevice = context.getDevice(); in ImageSamplingInstance() local
358 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in ImageSamplingInstance()
430 m_image = createImage(vk, vkDevice, &imageParams); in ImageSamplingInstance()
431 …m_imageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_image), MemoryRequire… in ImageSamplingInstance()
432 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_image, m_imageAlloc->getMemory(), m_imageAlloc->getOffset… in ImageSamplingInstance()
435 uploadTestTexture(vk, vkDevice, queue, queueFamilyIndex, memAlloc, *m_texture, *m_image); in ImageSamplingInstance()
450 m_imageView = createImageView(vk, vkDevice, &imageViewParams); in ImageSamplingInstance()
451 m_sampler = createSampler(vk, vkDevice, &m_samplerParams); in ImageSamplingInstance()
458 …m_descriptorPool = descriptorPoolBuilder.build(vk, vkDevice, VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRI… in ImageSamplingInstance()
462 m_descriptorSetLayout = setLayoutBuilder.build(vk, vkDevice); in ImageSamplingInstance()
[all …]
DvktPipelineDepthTests.cpp231 const VkDevice vkDevice = context.getDevice(); in DepthTestInstance() local
233 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in DepthTestInstance()
260 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in DepthTestInstance()
263 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in DepthTestInstance()
264 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in DepthTestInstance()
292 m_depthImage = createImage(vk, vkDevice, &depthImageParams); in DepthTestInstance()
295 …m_depthImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_depthImage), Mem… in DepthTestInstance()
296 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_depthImage, m_depthImageAlloc->getMemory(), m_depthImageA… in DepthTestInstance()
317 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in DepthTestInstance()
334 m_depthAttachmentView = createImageView(vk, vkDevice, &depthAttachmentViewParams); in DepthTestInstance()
[all …]
DvktPipelineStencilTests.cpp320 const VkDevice vkDevice = context.getDevice(); in StencilTestInstance() local
322 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in StencilTestInstance()
347 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in StencilTestInstance()
350 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in StencilTestInstance()
351 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in StencilTestInstance()
379 m_stencilImage = createImage(vk, vkDevice, &stencilImageParams); in StencilTestInstance()
382 …m_stencilImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_stencilImage),… in StencilTestInstance()
383 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_stencilImage, m_stencilImageAlloc->getMemory(), m_stencil… in StencilTestInstance()
404 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in StencilTestInstance()
421 m_stencilAttachmentView = createImageView(vk, vkDevice, &stencilAttachmentViewParams); in StencilTestInstance()
[all …]
DvktPipelineBlendTests.cpp303 const VkDevice vkDevice = m_context.getDevice(); in BlendTestInstance() local
305 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(m_context.getInstan… in BlendTestInstance()
335 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in BlendTestInstance()
338 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in BlendTestInstance()
339 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in BlendTestInstance()
356 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in BlendTestInstance()
407 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); in BlendTestInstance()
425 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in BlendTestInstance()
441 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in BlendTestInstance()
444 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color… in BlendTestInstance()
[all …]
DvktPipelineTimestampTests.cpp339 const VkDevice vkDevice = m_context.getDevice(); in bindShaderStage() local
354 m_shaderModules[m_shaderStageCount] = createShaderModule(vk, vkDevice, &moduleCreateInfo); in bindShaderStage()
371 const VkDevice vkDevice = m_context.getDevice(); in buildPipeline() local
386 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in buildPipeline()
585 return createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams); in buildPipeline()
677 const VkDevice vkDevice = context.getDevice(); in TimestampTestInstance() local
702 m_queryPool = createQueryPool(vk, vkDevice, &queryPoolParams); in TimestampTestInstance()
715 m_cmdPool = createCommandPool(vk, vkDevice, &cmdPoolParams); in TimestampTestInstance()
729 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, &cmdAllocateParams); in TimestampTestInstance()
741 m_fence = createFence(vk, vkDevice, &fenceParams); in TimestampTestInstance()
[all …]
DvktPipelineInputAssemblyTests.cpp923 const VkDevice vkDevice = context.getDevice(); in InputAssemblyInstance() local
925 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstan… in InputAssemblyInstance()
969 m_colorImage = createImage(vk, vkDevice, &m_colorImageCreateInfo); in InputAssemblyInstance()
972 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in InputAssemblyInstance()
973 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in InputAssemblyInstance()
990 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in InputAssemblyInstance()
1041 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); in InputAssemblyInstance()
1059 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in InputAssemblyInstance()
1075 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in InputAssemblyInstance()
1078 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("color… in InputAssemblyInstance()
[all …]
DvktPipelineVertexInputTests.cpp648 const VkDevice vkDevice = context.getDevice(); in VertexInputInstance() local
650 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in VertexInputInstance()
674 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in VertexInputInstance()
677 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in VertexInputInstance()
678 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in VertexInputInstance()
695 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in VertexInputInstance()
746 m_renderPass = createRenderPass(vk, vkDevice, &renderPassParams); in VertexInputInstance()
764 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams); in VertexInputInstance()
780 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams); in VertexInputInstance()
783 …m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("attri… in VertexInputInstance()
[all …]
DvktPipelineMultisampleTests.cpp1285 const VkDevice vkDevice = context.getDevice(); in MultisampleRenderer() local
1287 …SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanc… in MultisampleRenderer()
1311 m_colorImage = createImage(vk, vkDevice, &colorImageParams); in MultisampleRenderer()
1314 …m_colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_colorImage), Me… in MultisampleRenderer()
1315 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageA… in MultisampleRenderer()
1340 m_resolveImage = createImage(vk, vkDevice, &resolveImageParams); in MultisampleRenderer()
1343 …m_resolveImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *m_resolveImage),… in MultisampleRenderer()
1344 …VK_CHECK(vk.bindImageMemory(vkDevice, *m_resolveImage, m_resolveImageAlloc->getMemory(), m_resolve… in MultisampleRenderer()
1361 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams); in MultisampleRenderer()
1378 m_resolveAttachmentView = createImageView(vk, vkDevice, &resolveAttachmentViewParams); in MultisampleRenderer()
[all …]
DvktPipelineEarlyFragmentTests.cpp113 const VkDevice vkDevice, in makeImageView() argument
130 return createImageView(vk, vkDevice, &imageViewParams); in makeImageView()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp619 const VkDevice vkDevice = ctx.getDevice(); in addAttribute() local
636 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); in addAttribute()
637 …de::MovePtr<Allocation> alloc = memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffe… in addAttribute()
638 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
641 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), inputSize); in addAttribute()
697 const VkDevice vkDevice = ctx.getDevice(); in execute() local
804 Move<VkImage> colorImage = createImage(vk, vkDevice, &colorImageParams); in execute()
810 …ion> colorImageAlloc = memAlloc.allocate(getImageMemoryRequirements(vk, vkDevice, *((const VkImage… in execute()
811 …VK_CHECK(vk.bindImageMemory(vkDevice, colorImages.back().get()->get(), colorImageAlloc->getMemory(… in execute()
850 Move<VkImageView> colorImageView = createImageView(vk, vkDevice, &colorImageViewParams); in execute()
[all …]
DvktShaderExecutor.hpp116 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, …
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…
331 void UniformData<T>::setup (ShaderExecutor& executor, const VkDevice& vkDevice, const DeviceInterfa… in setup() argument
333 …executor.setupUniformData(vkDevice, vk, queue, queueFamilyIndex, memAlloc, m_bindingLocation, m_de… in setup()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp512 const VkDevice vkDevice = m_context.getDevice(); in setupUniformData() local
528 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &uniformBufferParams); in setupUniformData()
529 …de::MovePtr<Allocation> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice,… in setupUniformData()
530 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in setupUniformData()
533 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), size); in setupUniformData()
582 const VkDevice vkDevice = m_context.getDevice(); in addAttribute() local
599 Move<VkBuffer> buffer = createBuffer(vk, vkDevice, &vertexBufferParams); in addAttribute()
600 …ion> alloc = m_memAlloc.allocate(getBufferMemoryRequirements(vk, vkDevice, *buffer), Memory… in addAttribute()
601 VK_CHECK(vk.bindBufferMemory(vkDevice, *buffer, alloc->getMemory(), alloc->getOffset())); in addAttribute()
604 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), inputSize); in addAttribute()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeTestsUtil.cpp176 const VkDevice vkDevice, in makeBufferView() argument
192 return createBufferView(vk, vkDevice, &bufferViewParams); in makeBufferView()
196 const VkDevice vkDevice, in makeImageView() argument
213 return createImageView(vk, vkDevice, &imageViewParams); in makeImageView()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageTestsUtil.cpp296 const VkDevice vkDevice, in makeBufferView() argument
312 return createBufferView(vk, vkDevice, &bufferViewParams); in makeBufferView()
316 const VkDevice vkDevice, in makeImageView() argument
333 return createImageView(vk, vkDevice, &imageViewParams); in makeImageView()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesTestsUtil.cpp343 const VkDevice vkDevice, in makeBufferView() argument
359 return createBufferView(vk, vkDevice, &bufferViewParams); in makeBufferView()
363 const VkDevice vkDevice, in makeImageView() argument
380 return createImageView(vk, vkDevice, &imageViewParams); in makeImageView()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp3339 void createPipelineShaderStages (const DeviceInterface& vk, const VkDevice vkDevice, InstanceContex… in createPipelineShaderStages() argument
3343 …const ModuleHandleSp mod(new Unique<VkShaderModule>(createShaderModule(vk, vkDevice, context.getBi… in createPipelineShaderStages()
4663 const VkDevice vkDevice = context.getDevice(); in runAndVerifyDefaultPipeline() local
4731 const Unique<VkBuffer> vertexBuffer (createBuffer(vk, vkDevice, &vertexBufferParams)); in runAndVerifyDefaultPipeline()
4732 …(context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *vertexBuffer), … in runAndVerifyDefaultPipeline()
4734 …VK_CHECK(vk.bindBufferMemory(vkDevice, *vertexBuffer, vertexBufferMemory->getMemory(), vertexBuffe… in runAndVerifyDefaultPipeline()
4748 const Unique<VkBuffer> readImageBuffer (createBuffer(vk, vkDevice, &readImageBufferParams)); in runAndVerifyDefaultPipeline()
4749 …(context.getDefaultAllocator().allocate(getBufferMemoryRequirements(vk, vkDevice, *readImageBuffer… in runAndVerifyDefaultPipeline()
4751 …VK_CHECK(vk.bindBufferMemory(vkDevice, *readImageBuffer, readImageBufferMemory->getMemory(), readI… in runAndVerifyDefaultPipeline()
4772 const Unique<VkImage> image (createImage(vk, vkDevice, &imageParams)); in runAndVerifyDefaultPipeline()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp1133 const VkDevice vkDevice = context.getDevice(); in createBuffer() local
1149 return vk::createBuffer(vk, vkDevice, &bufferInfo); in createBuffer()
1656 const VkDevice vkDevice = m_context.getDevice(); in addUniformData() local
1663 flushMappedMemoryRange(vk, vkDevice, alloc->getMemory(), alloc->getOffset(), size); in addUniformData()
1681 const VkDevice vkDevice = m_context.getDevice(); in createRenderPass() local
1731 return vk::createRenderPass(vk, vkDevice, &renderPassParams); in createRenderPass()
1736 const VkDevice vkDevice = m_context.getDevice(); in createFramebuffer() local
1752 return vk::createFramebuffer(vk, vkDevice, &framebufferParams); in createFramebuffer()
1803 const VkDevice vkDevice = m_context.getDevice(); in createPipeline() local
1975 return vk::createGraphicsPipeline(vk, vkDevice, DE_NULL, &graphicsPipelineParams); in createPipeline()

12