Lines Matching defs:device

186 	const VkDevice				device					= m_context.getDevice();
218 m_colorImage = createImage(vk, device, &colorImageParams);
221 m_colorImageAlloc = m_alloc.allocate(getImageMemoryRequirements(vk, device, *m_colorImage), MemoryRequirement::Any);
222 VK_CHECK(vk.bindImageMemory(device, *m_colorImage, m_colorImageAlloc->getMemory(), m_colorImageAlloc->getOffset()));
239 m_colorAttachmentView = createImageView(vk, device, &colorAttachmentViewParams);
243 m_renderPass = RenderPassWrapper(m_params->pipelineConstructionType, vk, device, colorFormat);
260 m_renderPass.createFramebuffer(vk, device, &framebufferParams, *m_colorImage);
276 m_pipelineLayout = PipelineLayoutWrapper(m_params->pipelineConstructionType, vk, device, &pipelineLayoutParams);
288 m_vertShaderModule = ShaderWrapper(vk, device, m_context.getBinaryCollection().get("vert"), 0);
289 m_fragShaderModule = ShaderWrapper(vk, device, m_context.getBinaryCollection().get("frag"), 0);
292 m_tescShaderModule = ShaderWrapper(vk, device, m_context.getBinaryCollection().get("tesc"), 0);
293 m_teseShaderModule = ShaderWrapper(vk, device, m_context.getBinaryCollection().get("tese"), 0);
303 m_geomShaderModule = ShaderWrapper(vk, device, m_context.getBinaryCollection().get("geom"), 0);
340 m_vertexBuffer = createBuffer(vk, device, &bufferCreateInfo);
341 m_vertexBufferAlloc = m_alloc.allocate(getBufferMemoryRequirements(vk, device, *m_vertexBuffer), MemoryRequirement::HostVisible);
342 VK_CHECK(vk.bindBufferMemory(device, *m_vertexBuffer, m_vertexBufferAlloc->getMemory(), m_vertexBufferAlloc->getOffset()));
345 flushAlloc(vk, device, *m_vertexBufferAlloc);
352 m_resultBuffer = createBuffer(vk, device, &bufferCreateInfo);
353 m_resultBufferAlloc = m_alloc.allocate(getBufferMemoryRequirements(vk, device, *m_resultBuffer), MemoryRequirement::HostVisible);
354 VK_CHECK(vk.bindBufferMemory(device, *m_resultBuffer, m_resultBufferAlloc->getMemory(), m_resultBufferAlloc->getOffset()));
358 m_cmdPool = createCommandPool(vk, device, VK_COMMAND_POOL_CREATE_TRANSIENT_BIT, queueFamilyIndex);
359 m_cmdBuffer = allocateCommandBuffer(vk, device, *m_cmdPool, VK_COMMAND_BUFFER_LEVEL_PRIMARY);
386 submitCommandsAndWait(vk, device, queue, *m_cmdBuffer);
389 invalidateAlloc(vk, device, *m_resultBufferAlloc);