Lines Matching defs:device

115 	const VkDevice				device		= m_context.getDevice();
118 m_cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT, m_context.getUniversalQueueFamilyIndex());
133 m_vertexBuffer = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement::HostVisible);
136 flushAlloc(vk, device, m_vertexBuffer->getBoundMemory());
171 m_imageColor = makeImage(vk, device, imageInfo);
172 m_imageColorAlloc = bindImage(vk, device, allocator, *m_imageColor, MemoryRequirement::Any);
173 m_imageBuffer = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement::HostVisible);
177 m_colorAttachmentView = makeImageView(vk, device, *m_imageColor, VK_IMAGE_VIEW_TYPE_2D_ARRAY, m_parameters.imageFormat, imageSubresource);
181 flushAlloc(vk, device, alloc);
190 m_pipelineLayout = makePipelineLayout(vk, device, 0u, DE_NULL, 1u, &pcRange);
195 m_vertexModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("vert"), 0u);
196 m_fragmentModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("frag"), 0u);
199 m_vertexPassthroughModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("vertPassthrough"), 0u);
200 m_vertexLayerModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("vertLayer"), 0u);
201 m_geometryModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("geom"), 0u);
202 m_geometryLayerModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("geomLayer"), 0u);
206 m_tscModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("tsc"), 0u);
207 m_tseModule = createShaderModule(vk, device, m_context.getBinaryCollection().get("tse"), 0u);
228 device, // const VkDevice device
253 device, // const VkDevice device
276 device, // const VkDevice device
302 device, // const VkDevice device
326 device, // const VkDevice device
353 m_queryResults = Draw::Buffer::createAndAlloc(vk, device, bufferInfo, allocator, MemoryRequirement::HostVisible);
368 m_queryPool = createQueryPool(vk, device, &queryPoolInfo);
376 const VkDevice device = m_context.getDevice();
396 cmdBuffers.push_back(allocateCommandBuffer(vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
400 clearColorImage(vk, device, queue, queueFamily, *m_imageColor, Vec4(0.0),
462 cmdBuffers.push_back(allocateCommandBuffer(vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY));
569 secondaryCmdBuffers.push_back(allocateCommandBuffer(vk, device, *m_cmdPool, vk::VK_COMMAND_BUFFER_LEVEL_SECONDARY));
777 const Unique<VkFence> fence (createFence(vk, device));
797 VK_CHECK(vk.waitForFences(device, 1u, &fence.get(), DE_TRUE, ~0ull));
804 invalidateAlloc(vk, device, allocColor);
818 invalidateAlloc(vk, device, m_queryResults->getBoundMemory());