mip mapping
This commit is contained in:
parent
d1b8e45fb6
commit
15f1f77344
3 changed files with 104 additions and 41 deletions
|
|
@ -252,7 +252,12 @@ void VulkanDevice::CreateDevice() {
|
|||
ext_feature.meshShader = VK_TRUE;
|
||||
ext_feature.pNext = &dynamicRenderingFeature;
|
||||
|
||||
VkPhysicalDeviceFeatures2 physical_features2 = {VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2};
|
||||
VkPhysicalDeviceFeatures2 physical_features2 = {
|
||||
.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2,
|
||||
.features = {
|
||||
.samplerAnisotropy = VK_TRUE
|
||||
}
|
||||
};
|
||||
physical_features2.pNext = &ext_feature;
|
||||
|
||||
VkDeviceCreateInfo deviceCreateInfo = {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue