Lines Matching refs:create_info
2913 auto image_ci = vk_testing::Image::create_info(); in TEST_F()
5695 …eate(ErrorMonitor *error_monitor, const VkDevice device, const VkRenderPassCreateInfo *create_info, in TestRenderPassCreate() argument
5702 err = vkCreateRenderPass(device, create_info, nullptr, &render_pass); in TestRenderPassCreate()
5711 ConvertVkRenderPassCreateInfoToV2KHR(create_info, &create_info2); in TestRenderPassCreate()
7640 fence.init(*m_device, VkFenceObj::create_info()); in TEST_F()
11935 …const VkBufferCreateInfo bad_buffer_info = VkBufferObj::create_info(resource_size, VK_BUFFER_USAGE… in TEST_F()
11960 …const VkBufferCreateInfo buffer_info = VkBufferObj::create_info(resource_size, VK_BUFFER_USAGE_UNI… in TEST_F()
11966 buff_view_ci.offset = buffer.create_info().size; in TEST_F()
11999 VkBufferObj::create_info(resource_size, VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT); in TEST_F()
13854 VkPipelineCacheCreateInfo create_info{}; in TEST_F() local
13855 create_info.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in TEST_F()
13857 … VkResult err = vkCreatePipelineCache(m_device->device(), &create_info, nullptr, &pipeline_cache); in TEST_F()
13914 VkGraphicsPipelineCreateInfo create_info{}; in TEST_F() local
13915 create_info.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in TEST_F()
13916 create_info.stageCount = 2; in TEST_F()
13917 create_info.pStages = stages; in TEST_F()
13918 create_info.pVertexInputState = &vertex_input_state; in TEST_F()
13919 create_info.pInputAssemblyState = &input_assembly_state; in TEST_F()
13920 create_info.pViewportState = &viewport_state; in TEST_F()
13921 create_info.pMultisampleState = &multisample_state; in TEST_F()
13922 create_info.pRasterizationState = &rasterization_state; in TEST_F()
13923 create_info.flags = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT; in TEST_F()
13924 create_info.layout = pipeline_layout.handle(); in TEST_F()
13925 create_info.renderPass = renderPass(); in TEST_F()
13929 …vkCreateGraphicsPipelines(m_device->device(), pipeline_cache, 1, &create_info, nullptr, &pipeline); in TEST_F()
13946 VkPipelineCacheCreateInfo create_info{}; in TEST_F() local
13947 create_info.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in TEST_F()
13949 … VkResult err = vkCreatePipelineCache(m_device->device(), &create_info, nullptr, &pipeline_cache); in TEST_F()
14006 VkGraphicsPipelineCreateInfo create_info{}; in TEST_F() local
14007 create_info.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in TEST_F()
14008 create_info.stageCount = 2; in TEST_F()
14009 create_info.pStages = stages; in TEST_F()
14010 create_info.pVertexInputState = &vertex_input_state; in TEST_F()
14011 create_info.pInputAssemblyState = &input_assembly_state; in TEST_F()
14012 create_info.pViewportState = &viewport_state; in TEST_F()
14013 create_info.pMultisampleState = &multisample_state; in TEST_F()
14014 create_info.pRasterizationState = &rasterization_state; in TEST_F()
14015 create_info.flags = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT; in TEST_F()
14016 create_info.layout = pipeline_layout.handle(); in TEST_F()
14017 create_info.renderPass = renderPass(); in TEST_F()
14021 …vkCreateGraphicsPipelines(m_device->device(), pipeline_cache, 1, &create_info, nullptr, &pipeline); in TEST_F()
14038 VkPipelineCacheCreateInfo create_info{}; in TEST_F() local
14039 create_info.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in TEST_F()
14041 … VkResult err = vkCreatePipelineCache(m_device->device(), &create_info, nullptr, &pipeline_cache); in TEST_F()
14098 VkGraphicsPipelineCreateInfo create_info{}; in TEST_F() local
14099 create_info.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in TEST_F()
14100 create_info.stageCount = 2; in TEST_F()
14101 create_info.pStages = stages; in TEST_F()
14102 create_info.pVertexInputState = &vertex_input_state; in TEST_F()
14103 create_info.pInputAssemblyState = &input_assembly_state; in TEST_F()
14104 create_info.pViewportState = &viewport_state; in TEST_F()
14105 create_info.pMultisampleState = &multisample_state; in TEST_F()
14106 create_info.pRasterizationState = &rasterization_state; in TEST_F()
14107 create_info.flags = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT; in TEST_F()
14108 create_info.layout = pipeline_layout.handle(); in TEST_F()
14109 create_info.renderPass = renderPass(); in TEST_F()
14116 …vkCreateGraphicsPipelines(m_device->device(), pipeline_cache, 1, &create_info, nullptr, &pipeline); in TEST_F()
14133 VkPipelineCacheCreateInfo create_info{}; in TEST_F() local
14134 create_info.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in TEST_F()
14136 … VkResult err = vkCreatePipelineCache(m_device->device(), &create_info, nullptr, &pipeline_cache); in TEST_F()
14193 VkGraphicsPipelineCreateInfo create_info{}; in TEST_F() local
14194 create_info.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in TEST_F()
14195 create_info.stageCount = 2; in TEST_F()
14196 create_info.pStages = stages; in TEST_F()
14197 create_info.pVertexInputState = &vertex_input_state; in TEST_F()
14198 create_info.pInputAssemblyState = &input_assembly_state; in TEST_F()
14199 create_info.pViewportState = &viewport_state; in TEST_F()
14200 create_info.pMultisampleState = &multisample_state; in TEST_F()
14201 create_info.pRasterizationState = &rasterization_state; in TEST_F()
14202 create_info.flags = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT; in TEST_F()
14203 create_info.layout = pipeline_layout.handle(); in TEST_F()
14204 create_info.renderPass = renderPass(); in TEST_F()
14210 …vkCreateGraphicsPipelines(m_device->device(), pipeline_cache, 1, &create_info, nullptr, &pipeline); in TEST_F()
14249 VkPipelineCacheCreateInfo create_info{}; in TEST_F() local
14250 create_info.sType = VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO; in TEST_F()
14252 … VkResult err = vkCreatePipelineCache(m_device->device(), &create_info, nullptr, &pipeline_cache); in TEST_F()
14305 VkGraphicsPipelineCreateInfo create_info{}; in TEST_F() local
14306 create_info.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in TEST_F()
14307 create_info.stageCount = 2; in TEST_F()
14308 create_info.pStages = stages; in TEST_F()
14309 create_info.pVertexInputState = &vertex_input_state; in TEST_F()
14310 create_info.pInputAssemblyState = &input_assembly_state; in TEST_F()
14311 create_info.pViewportState = nullptr; // no viewport b/c rasterizer is disabled in TEST_F()
14312 create_info.pMultisampleState = &multisample_state; in TEST_F()
14313 create_info.pRasterizationState = &rasterization_state; in TEST_F()
14314 create_info.flags = VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT; in TEST_F()
14315 create_info.layout = pipeline_layout.handle(); in TEST_F()
14316 create_info.renderPass = renderPass(); in TEST_F()
14320 …vkCreateGraphicsPipelines(m_device->device(), pipeline_cache, 1, &create_info, nullptr, &pipeline); in TEST_F()
14426 ASSERT_TRUE(image.create_info().arrayLayers == 1); in TEST_F()
14516 ASSERT_TRUE(image.create_info().arrayLayers == 1); in TEST_F()
14654 VkImageCreateInfo image_create_info = vk_testing::Image::create_info(); in TEST_F()
14755 auto unbound_image_info = vk_testing::Image::create_info(); in TEST_F()
14770 auto unbound_buffer_info = VkBufferObj::create_info(16, VK_IMAGE_USAGE_TRANSFER_DST_BIT); in TEST_F()
14856 buf_barrier.offset = buffer.create_info().size + 1; in TEST_F()
14865 buf_barrier.size = buffer.create_info().size + 1; in TEST_F()
15568 ASSERT_TRUE(image.create_info().arrayLayers == 1); in TEST_F()
16020 …ds_pool.init(*m_device, vk_testing::DescriptorPool::create_info(0, VK_DESCRIPTOR_TYPE_RANGE_SIZE, … in TEST_F()
23558 ASSERT_TRUE(image.create_info().arrayLayers == 1); in TEST_F()
24061 region.imageSubresource.mipLevel = image_16k.create_info().mipLevels + 1; in TEST_F()
24077 region.imageSubresource.baseArrayLayer = image_16k.create_info().arrayLayers; in TEST_F()
26976 VkImageCreateInfo ds_image_create_info = vk_testing::Image::create_info(); in TEST_F()
27836 … VkCommandBufferAllocateInfo cmdalloc = vk_testing::CommandBuffer::create_info(secondary_cmd_pool); in TEST_F()
29240 VkDescriptorUpdateTemplateCreateInfo create_info = {}; in TEST_F() local
29241 create_info.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO; in TEST_F()
29242 create_info.pNext = nullptr; in TEST_F()
29243 create_info.flags = 0; in TEST_F()
29244 create_info.descriptorUpdateEntryCount = 1; in TEST_F()
29245 create_info.pDescriptorUpdateEntries = &entries; in TEST_F()
29250 …if (VK_SUCCESS == vkCreateDescriptorUpdateTemplateKHR(m_device->handle(), &create_info, nullptr, &… in TEST_F()
29257 create_info.templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET; in TEST_F()
29262 create_info.templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR; in TEST_F()
29263 create_info.pipelineBindPoint = VK_PIPELINE_BIND_POINT_COMPUTE; in TEST_F()
29264 create_info.pipelineLayout = pipeline_layout.handle(); in TEST_F()
29265 create_info.set = 2; in TEST_F()
29268 memset(&create_info.pipelineBindPoint, 0xFE, sizeof(create_info.pipelineBindPoint)); in TEST_F()
29270 create_info.pipelineBindPoint = VK_PIPELINE_BIND_POINT_COMPUTE; in TEST_F()
29273 create_info.pipelineLayout = VK_NULL_HANDLE; in TEST_F()
29275 create_info.pipelineLayout = pipeline_layout.handle(); in TEST_F()
29278 create_info.set = 0; in TEST_F()
29282 create_info.set = 42; in TEST_F()
32868 auto buffer_info = VkBufferObj::create_info(resource_size, VK_BUFFER_USAGE_TRANSFER_DST_BIT); in TEST_F()
32903 auto image_info = vk_testing::Image::create_info(); in TEST_F()
33386 ASSERT_TRUE(image.create_info().arrayLayers == 1); in TEST_F()
33426 ASSERT_TRUE(image.create_info().arrayLayers == 1); in TEST_F()
33787 …auto buffer_info = VkBufferObj::create_info(buffer_size, VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUF… in TEST_F()
34021 …VkBufferObj::create_info(1024, VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT… in TEST_F()
34038 auto image_ci = vk_testing::Image::create_info(); in TEST_F()
34104 buffer.init_no_mem(*m_device, VkBufferObj::create_info(1024, VK_BUFFER_USAGE_TRANSFER_DST_BIT)); in TEST_F()
34119 auto image_ci = vk_testing::Image::create_info(); in TEST_F()