Lines Matching refs:vkDevice

195 	const VkDevice						vkDevice						= context.getDevice();
197 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
213 BufferDedicatedAllocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc);
217 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, m_pixelDataSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc);
234 m_colorAttachmentView = createImageView(vk, vkDevice, &colorAttachmentViewParams);
238 m_renderPass = makeRenderPass(vk, vkDevice, m_colorFormat);
260 m_framebuffer = createFramebuffer(vk, vkDevice, &framebufferParams);
287 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorLayoutParams);
295 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, uniformSize, testCase.createUsage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc);
297 flushAlloc(vk, vkDevice, *m_uniformBufferAlloc);
310 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo);
331 m_descriptorPool = createDescriptorPool(vk, vkDevice, &descriptorPoolParams);
342 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &descriptorSetParams);
360 vk.updateDescriptorSets(vkDevice, DE_LENGTH_OF_ARRAY(writeDescritporSets), writeDescritporSets, 0u, DE_NULL);
377 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
382 m_vertexShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("vert"), 0);
383 m_fragmentShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("frag"), 0);
392 vkDevice, // const VkDevice device
409 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, vertexDataSize, VK_BUFFER_USAGE_VERTEX_BUFFER_BIT, m_context, memAlloc, m_vertexBuffer, MemoryRequirement::HostVisible, m_vertexBufferAlloc);
413 flushAlloc(vk, vkDevice, *m_vertexBufferAlloc);
417 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex);
421 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
464 const VkDevice vkDevice = m_context.getDevice();
468 invalidateAlloc(vk, vkDevice, *m_resultBufferAlloc);
491 const VkDevice vkDevice = m_context.getDevice();
494 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get());
507 flushAlloc(vk, vkDevice, *m_uniformBufferAlloc);
509 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get());
666 const VkDevice vkDevice = context.getDevice();
668 SimpleAllocator memAlloc (vk, vkDevice, getPhysicalDeviceMemoryProperties(context.getInstanceInterface(), context.getPhysicalDevice()));
673 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, sizeof(tcu::Vec4[4]), VK_BUFFER_USAGE_STORAGE_BUFFER_BIT, m_context, memAlloc, m_resultBuffer, MemoryRequirement::HostVisible, m_resultBufferAlloc);
704 m_descriptorSetLayout = createDescriptorSetLayout(vk, vkDevice, &descriptorLayoutParams);
716 BufferSuballocation().createTestBuffer(vk, vkDevice, queueFamilyIndex, sourceBuffer.size(), testCase.createUsage, m_context, memAlloc, m_uniformBuffer, MemoryRequirement::HostVisible, m_uniformBufferAlloc);
718 flushAlloc(vk, vkDevice, *m_uniformBufferAlloc);
743 m_uniformBufferView = createBufferView(vk, vkDevice, &viewInfo);
768 m_descriptorPool = createDescriptorPool(vk, vkDevice, &descriptorPoolParams);
779 m_descriptorSet = allocateDescriptorSet(vk, vkDevice, &descriptorSetParams);
816 vk.updateDescriptorSets(vkDevice, DE_LENGTH_OF_ARRAY(writeDescritporSets), writeDescritporSets, 0u, DE_NULL);
832 m_pipelineLayout = createPipelineLayout(vk, vkDevice, &pipelineLayoutParams);
837 m_computeShaderModule = createShaderModule(vk, vkDevice, m_context.getBinaryCollection().get("comp"), 0);
842 m_computePipeline = makeComputePipeline(vk, vkDevice, m_pipelineLayout.get(), m_computeShaderModule.get());
846 m_cmdPool = createCommandPool(vk, vkDevice, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex);
850 m_cmdBuffer = allocateCommandBuffer(vk, vkDevice, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
906 const VkDevice vkDevice = m_context.getDevice();
910 invalidateAlloc(vk, vkDevice, *m_resultBufferAlloc);
942 const VkDevice vkDevice = m_context.getDevice();
946 invalidateAlloc(vk, vkDevice, *m_resultBufferAlloc);
978 const VkDevice vkDevice = m_context.getDevice();
981 submitCommandsAndWait(vk, vkDevice, queue, m_cmdBuffer.get());