Home
last modified time | relevance | path

Searched refs:createInfo (Results 1 – 25 of 105) sorted by relevance

12345

/external/skqp/src/gpu/vk/
DGrVkSampler.cpp42 VkSamplerCreateInfo createInfo; in Create() local
43 memset(&createInfo, 0, sizeof(VkSamplerCreateInfo)); in Create()
44 createInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in Create()
45 createInfo.pNext = nullptr; in Create()
46 createInfo.flags = 0; in Create()
47 createInfo.magFilter = vkMagFilterModes[static_cast<int>(samplerState.filter())]; in Create()
48 createInfo.minFilter = vkMinFilterModes[static_cast<int>(samplerState.filter())]; in Create()
49 createInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_LINEAR; in Create()
50 createInfo.addressModeU = wrap_mode_to_vk_sampler_address(samplerState.wrapModeX()); in Create()
51 createInfo.addressModeV = wrap_mode_to_vk_sampler_address(samplerState.wrapModeY()); in Create()
[all …]
DGrVkFramebuffer.cpp30 VkFramebufferCreateInfo createInfo; in Create() local
31 memset(&createInfo, 0, sizeof(VkFramebufferCreateInfo)); in Create()
32 createInfo.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO; in Create()
33 createInfo.pNext = nullptr; in Create()
34 createInfo.flags = 0; in Create()
35 createInfo.renderPass = renderPass->vkRenderPass(); in Create()
36 createInfo.attachmentCount = numAttachments; in Create()
37 createInfo.pAttachments = attachments; in Create()
38 createInfo.width = width; in Create()
39 createInfo.height = height; in Create()
[all …]
DGrVkDescriptorPool.cpp23 VkDescriptorPoolCreateInfo createInfo; in GrVkDescriptorPool() local
24 memset(&createInfo, 0, sizeof(VkDescriptorPoolCreateInfo)); in GrVkDescriptorPool()
25 createInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; in GrVkDescriptorPool()
26 createInfo.pNext = nullptr; in GrVkDescriptorPool()
27 createInfo.flags = 0; in GrVkDescriptorPool()
29 createInfo.maxSets = count; in GrVkDescriptorPool()
30 createInfo.poolSizeCount = 1; in GrVkDescriptorPool()
31 createInfo.pPoolSizes = &poolSize; in GrVkDescriptorPool()
34 &createInfo, in GrVkDescriptorPool()
DGrVkRenderPass.cpp124 VkRenderPassCreateInfo createInfo; in init() local
125 memset(&createInfo, 0, sizeof(VkRenderPassCreateInfo)); in init()
126 createInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO; in init()
127 createInfo.pNext = nullptr; in init()
128 createInfo.flags = 0; in init()
129 createInfo.attachmentCount = numAttachments; in init()
130 createInfo.pAttachments = attachments.begin(); in init()
131 createInfo.subpassCount = 1; in init()
132 createInfo.pSubpasses = &subpassDesc; in init()
133 createInfo.dependencyCount = 0; in init()
[all …]
DGrVkSemaphore.cpp20 VkSemaphoreCreateInfo createInfo; in Make() local
21 memset(&createInfo, 0, sizeof(VkSemaphoreCreateInfo)); in Make()
22 createInfo.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; in Make()
23 createInfo.pNext = nullptr; in Make()
24 createInfo.flags = 0; in Make()
27 CreateSemaphore(gpu->device(), &createInfo, nullptr, &semaphore)); in Make()
DGrVkResourceProvider.cpp41 VkPipelineCacheCreateInfo createInfo; in pipelineCache() local
42 memset(&createInfo, 0, sizeof(VkPipelineCacheCreateInfo)); in pipelineCache()
43 createInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in pipelineCache()
44 createInfo.pNext = nullptr; in pipelineCache()
45 createInfo.flags = 0; in pipelineCache()
66 createInfo.initialDataSize = cached->size(); in pipelineCache()
67 createInfo.pInitialData = cached->data(); in pipelineCache()
73 createInfo.initialDataSize = 0; in pipelineCache()
74 createInfo.pInitialData = nullptr; in pipelineCache()
77 CreatePipelineCache(fGpu->device(), &createInfo, nullptr, in pipelineCache()
/external/skia/src/gpu/vk/
DGrVkSampler.cpp42 VkSamplerCreateInfo createInfo; in Create() local
43 memset(&createInfo, 0, sizeof(VkSamplerCreateInfo)); in Create()
44 createInfo.sType = VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO; in Create()
45 createInfo.pNext = nullptr; in Create()
46 createInfo.flags = 0; in Create()
47 createInfo.magFilter = vkMagFilterModes[static_cast<int>(samplerState.filter())]; in Create()
48 createInfo.minFilter = vkMinFilterModes[static_cast<int>(samplerState.filter())]; in Create()
49 createInfo.mipmapMode = VK_SAMPLER_MIPMAP_MODE_LINEAR; in Create()
50 createInfo.addressModeU = wrap_mode_to_vk_sampler_address(samplerState.wrapModeX()); in Create()
51 createInfo.addressModeV = wrap_mode_to_vk_sampler_address(samplerState.wrapModeY()); in Create()
[all …]
DGrVkFramebuffer.cpp30 VkFramebufferCreateInfo createInfo; in Create() local
31 memset(&createInfo, 0, sizeof(VkFramebufferCreateInfo)); in Create()
32 createInfo.sType = VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO; in Create()
33 createInfo.pNext = nullptr; in Create()
34 createInfo.flags = 0; in Create()
35 createInfo.renderPass = renderPass->vkRenderPass(); in Create()
36 createInfo.attachmentCount = numAttachments; in Create()
37 createInfo.pAttachments = attachments; in Create()
38 createInfo.width = width; in Create()
39 createInfo.height = height; in Create()
[all …]
DGrVkDescriptorPool.cpp23 VkDescriptorPoolCreateInfo createInfo; in GrVkDescriptorPool() local
24 memset(&createInfo, 0, sizeof(VkDescriptorPoolCreateInfo)); in GrVkDescriptorPool()
25 createInfo.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; in GrVkDescriptorPool()
26 createInfo.pNext = nullptr; in GrVkDescriptorPool()
27 createInfo.flags = 0; in GrVkDescriptorPool()
29 createInfo.maxSets = count; in GrVkDescriptorPool()
30 createInfo.poolSizeCount = 1; in GrVkDescriptorPool()
31 createInfo.pPoolSizes = &poolSize; in GrVkDescriptorPool()
34 &createInfo, in GrVkDescriptorPool()
DGrVkRenderPass.cpp124 VkRenderPassCreateInfo createInfo; in init() local
125 memset(&createInfo, 0, sizeof(VkRenderPassCreateInfo)); in init()
126 createInfo.sType = VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO; in init()
127 createInfo.pNext = nullptr; in init()
128 createInfo.flags = 0; in init()
129 createInfo.attachmentCount = numAttachments; in init()
130 createInfo.pAttachments = attachments.begin(); in init()
131 createInfo.subpassCount = 1; in init()
132 createInfo.pSubpasses = &subpassDesc; in init()
133 createInfo.dependencyCount = 0; in init()
[all …]
DGrVkSemaphore.cpp20 VkSemaphoreCreateInfo createInfo; in Make() local
21 memset(&createInfo, 0, sizeof(VkSemaphoreCreateInfo)); in Make()
22 createInfo.sType = VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO; in Make()
23 createInfo.pNext = nullptr; in Make()
24 createInfo.flags = 0; in Make()
27 CreateSemaphore(gpu->device(), &createInfo, nullptr, &semaphore)); in Make()
DGrVkResourceProvider.cpp41 VkPipelineCacheCreateInfo createInfo; in pipelineCache() local
42 memset(&createInfo, 0, sizeof(VkPipelineCacheCreateInfo)); in pipelineCache()
43 createInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in pipelineCache()
44 createInfo.pNext = nullptr; in pipelineCache()
45 createInfo.flags = 0; in pipelineCache()
66 createInfo.initialDataSize = cached->size(); in pipelineCache()
67 createInfo.pInitialData = cached->data(); in pipelineCache()
73 createInfo.initialDataSize = 0; in pipelineCache()
74 createInfo.pInitialData = nullptr; in pipelineCache()
77 CreatePipelineCache(fGpu->device(), &createInfo, nullptr, in pipelineCache()
/external/deqp/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp149 const VkXlibSurfaceCreateInfoKHR createInfo = in createSurface() local
158 return vki.createXlibSurfaceKHR(instance, &createInfo, pAllocator, pSurface); in createSurface()
165 const VkXcbSurfaceCreateInfoKHR createInfo = in createSurface() local
174 return vki.createXcbSurfaceKHR(instance, &createInfo, pAllocator, pSurface); in createSurface()
181 const VkWaylandSurfaceCreateInfoKHR createInfo = in createSurface() local
190 return vki.createWaylandSurfaceKHR(instance, &createInfo, pAllocator, pSurface); in createSurface()
197 const VkMirSurfaceCreateInfoKHR createInfo = in createSurface() local
206 return vki.createMirSurfaceKHR(instance, &createInfo, pAllocator, pSurface); in createSurface()
212 const VkAndroidSurfaceCreateInfoKHR createInfo = in createSurface() local
220 return vki.createAndroidSurfaceKHR(instance, &createInfo, pAllocator, pSurface); in createSurface()
[all …]
DvkRefUtil.cpp74 const VkSemaphoreCreateInfo createInfo = in createSemaphore() local
82 return createSemaphore(vk, device, &createInfo, pAllocator); in createSemaphore()
90 const VkFenceCreateInfo createInfo = in createFence() local
98 return createFence(vk, device, &createInfo, pAllocator); in createFence()
107 const VkCommandPoolCreateInfo createInfo = in createCommandPool() local
116 return createCommandPool(vk, device, &createInfo, pAllocator); in createCommandPool()
142 const VkEventCreateInfo createInfo = in createEvent() local
150 return createEvent(vk, device, &createInfo, pAllocateInfo); in createEvent()
/external/vulkan-validation-layers/layers/
Dcore_validation_types.h154 safe_VkDescriptorPoolCreateInfo createInfo;
163 createInfo(pCreateInfo),
167 for (uint32_t i = 0; i < createInfo.poolSizeCount; ++i) {
168 uint32_t typeIndex = static_cast<uint32_t>(createInfo.pPoolSizes[i].type);
170 maxDescriptorTypeCount[typeIndex] += createInfo.pPoolSizes[i].descriptorCount;
246 VkBufferCreateInfo createInfo;
247 …BUFFER_STATE(VkBuffer buff, const VkBufferCreateInfo *pCreateInfo) : buffer(buff), createInfo(*pCr…
248 …if ((createInfo.sharingMode == VK_SHARING_MODE_CONCURRENT) && (createInfo.queueFamilyIndexCount > …
249 uint32_t *pQueueFamilyIndices = new uint32_t[createInfo.queueFamilyIndexCount];
250 for (uint32_t i = 0; i < createInfo.queueFamilyIndexCount; i++) {
[all …]
Dbuffer_validation.cpp206 …if (sub_data->second.size() >= (image_state->createInfo.arrayLayers * image_state->createInfo.mipL… in FindLayouts()
297 if (FormatIsDepthAndStencil(image_state->createInfo.format)) { in SetImageLayout()
303 if (FormatIsMultiplane(image_state->createInfo.format)) { in SetImageLayout()
307 if (FormatPlaneCount(image_state->createInfo.format) > 2) { in SetImageLayout()
340 …if ((image_state->createInfo.imageType == VK_IMAGE_TYPE_3D) && (view_state->create_info.viewType !… in SetImageViewLayout()
342 sub_range.layerCount = image_state->createInfo.extent.depth; in SetImageViewLayout()
373 auto image_usage = image_state->createInfo.usage; in ValidateRenderPassLayoutAgainstFramebufferImageUsage()
458 auto const pRenderPassInfo = GetRenderPassState(pRenderPassBegin->renderPass)->createInfo.ptr(); in VerifyFramebufferAndRenderPassLayouts()
459 auto const &framebufferInfo = framebuffer_state->createInfo; in VerifyFramebufferAndRenderPassLayouts()
587 auto const &subpass = render_pass_state->createInfo.pSubpasses[subpass_index]; in TransitionSubpassLayouts()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawBufferObjectUtil.cpp53 const vk::VkBufferCreateInfo &createInfo, in createAndAlloc() argument
57 de::SharedPtr<Buffer> ret = create(vk, device, createInfo); in createAndAlloc()
66 const vk::VkBufferCreateInfo& createInfo) in create() argument
68 return de::SharedPtr<Buffer>(new Buffer(vk, device, vk::createBuffer(vk, device, &createInfo))); in create()
DvktDrawCreateInfoUtil.cpp920 …eInfo::ColorBlendState::ColorBlendState (const vk::VkPipelineColorBlendStateCreateInfo& createInfo) in ColorBlendState() argument
921 : m_attachments (createInfo.pAttachments, createInfo.pAttachments + createInfo.attachmentCount) in ColorBlendState()
923 sType = createInfo.sType; in ColorBlendState()
924 pNext = createInfo.pNext; in ColorBlendState()
925 flags = createInfo.flags; in ColorBlendState()
926 logicOpEnable = createInfo.logicOpEnable; in ColorBlendState()
927 logicOp = createInfo.logicOp; in ColorBlendState()
932 PipelineCreateInfo::ColorBlendState::ColorBlendState (const ColorBlendState& createInfo, std::vecto… in ColorBlendState() argument
933 : m_attachments (createInfo.pAttachments, createInfo.pAttachments + createInfo.attachmentCount) in ColorBlendState()
935 sType = createInfo.sType; in ColorBlendState()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsMakeUtil.hpp48 …const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkBufferCreateInfo& createInfo) in makeBuffer() argument
50 return createBuffer(vk, device, &createInfo); in makeBuffer()
53 …(const vk::DeviceInterface& vk, const vk::VkDevice device, const vk::VkImageCreateInfo& createInfo) in makeImage() argument
55 return createImage(vk, device, &createInfo); in makeImage()
/external/skqp/tools/gpu/mtl/
DMtlTestContext.mm32 VkCommandPoolCreateInfo createInfo;
33 createInfo.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO;
34 createInfo.pNext = nullptr;
35 createInfo.flags = 0;
36 createInfo.queueFamilyIndex = queueFamilyIndex;
37 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool));
/external/skia/tools/gpu/mtl/
DMtlTestContext.mm36 VkCommandPoolCreateInfo createInfo;
37 createInfo.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO;
38 createInfo.pNext = nullptr;
39 createInfo.flags = 0;
40 createInfo.queueFamilyIndex = queueFamilyIndex;
41 GR_VK_CALL_ERRCHECK(fVk, CreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool));
/external/skia/tools/gpu/vk/
DVkTestContext.cpp46 VkCommandPoolCreateInfo createInfo; in VkFenceSync()
47 createInfo.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO; in VkFenceSync()
48 createInfo.pNext = nullptr; in VkFenceSync()
49 createInfo.flags = 0; in VkFenceSync()
50 createInfo.queueFamilyIndex = queueFamilyIndex; in VkFenceSync()
51 result = fCreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool); in VkFenceSync()
/external/skqp/tools/gpu/vk/
DVkTestContext.cpp46 VkCommandPoolCreateInfo createInfo; in VkFenceSync()
47 createInfo.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO; in VkFenceSync()
48 createInfo.pNext = nullptr; in VkFenceSync()
49 createInfo.flags = 0; in VkFenceSync()
50 createInfo.queueFamilyIndex = queueFamilyIndex; in VkFenceSync()
51 result = fCreateCommandPool(fDevice, &createInfo, nullptr, &fCommandPool); in VkFenceSync()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSampleReadTests.cpp101 const VkImageCreateInfo createInfo = in createImage() local
119 return createImage(vk, device, &createInfo); in createImage()
218 const VkBufferCreateInfo createInfo = in createBuffer() local
231 return createBuffer(vkd, device, &createInfo); in createBuffer()
445 const VkFramebufferCreateInfo createInfo = in createFramebuffer() local
460 return createFramebuffer(vkd, device, &createInfo); in createFramebuffer()
466 const VkPipelineLayoutCreateInfo createInfo = in createRenderPipelineLayout() local
479 return createPipelineLayout(vkd, device, &createInfo); in createRenderPipelineLayout()
561 const VkDescriptorSetLayoutCreateInfo createInfo = in createSubpassDescriptorSetLayout() local
571 return createDescriptorSetLayout(vkd, device, &createInfo); in createSubpassDescriptorSetLayout()
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_context.cpp489 SWR_CREATECONTEXT_INFO createInfo; in swr_create_context() local
490 memset(&createInfo, 0, sizeof(createInfo)); in swr_create_context()
491 createInfo.privateStateSize = sizeof(swr_draw_context); in swr_create_context()
492 createInfo.pfnLoadTile = swr_LoadHotTile; in swr_create_context()
493 createInfo.pfnStoreTile = swr_StoreHotTile; in swr_create_context()
494 createInfo.pfnClearTile = swr_StoreHotTileClear; in swr_create_context()
495 createInfo.pfnUpdateStats = swr_UpdateStats; in swr_create_context()
496 createInfo.pfnUpdateStatsFE = swr_UpdateStatsFE; in swr_create_context()
515 createInfo.MAX_DRAWS_IN_FLIGHT = ctx->max_draws_in_flight; in swr_create_context()
519 createInfo.pThreadInfo = &threadingInfo; in swr_create_context()
[all …]

12345