Lines Matching refs:createInfo

42     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()
52 createInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; // Shouldn't matter in Create()
53 createInfo.mipLodBias = 0.0f; in Create()
54 createInfo.anisotropyEnable = VK_FALSE; in Create()
55 createInfo.maxAnisotropy = 1.0f; in Create()
56 createInfo.compareEnable = VK_FALSE; in Create()
57 createInfo.compareOp = VK_COMPARE_OP_NEVER; in Create()
63 createInfo.minLod = 0.0f; in Create()
65 createInfo.maxLod = !useMipMaps ? 0.0f : 10000.0f; in Create()
66 createInfo.borderColor = VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK; in Create()
67 createInfo.unnormalizedCoordinates = VK_FALSE; in Create()
84 createInfo.pNext = &conversionInfo; in Create()
89 createInfo.magFilter = VK_FILTER_NEAREST; in Create()
90 createInfo.minFilter = VK_FILTER_NEAREST; in Create()
94 createInfo.magFilter = ycbcrInfo.fChromaFilter; in Create()
95 createInfo.minFilter = ycbcrInfo.fChromaFilter; in Create()
99 createInfo.addressModeU = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in Create()
100 createInfo.addressModeV = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in Create()
101 createInfo.addressModeW = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE; in Create()
102 createInfo.anisotropyEnable = VK_FALSE; in Create()
103 createInfo.unnormalizedCoordinates = VK_FALSE; in Create()
108 &createInfo, in Create()