ParsedPacket
This commit is contained in:
@@ -1163,14 +1163,6 @@ void Vulkan::checkLibrary()
|
||||
bool canContinue = true;
|
||||
|
||||
// Необходимый функционал
|
||||
if(!device.DeviceFeatures.depthBounds)
|
||||
{
|
||||
report << "\t*depthBounds: "
|
||||
<< device.DeviceFeatures.depthBounds
|
||||
<< '\n';
|
||||
canContinue = false;
|
||||
}
|
||||
|
||||
if(!device.DeviceFeatures.geometryShader)
|
||||
{
|
||||
report << "\t*geometryShader: "
|
||||
@@ -1179,14 +1171,6 @@ void Vulkan::checkLibrary()
|
||||
canContinue = false;
|
||||
}
|
||||
|
||||
if(!device.DeviceFeatures.dualSrcBlend)
|
||||
{
|
||||
report << "\t*geometryShader: "
|
||||
<< device.DeviceFeatures.imageCubeArray
|
||||
<< '\n';
|
||||
canContinue = false;
|
||||
}
|
||||
|
||||
// Проверка наличия необходимых расширений
|
||||
for(auto ext : NeedExtensions)
|
||||
if(std::find_if(device.Extensions.begin(), device.Extensions.end(), [&](const vkDeviceExtension &obj) { return obj.ExtensionName == ext; }) == device.Extensions.end())
|
||||
@@ -1428,10 +1412,7 @@ void Vulkan::initNextSettings()
|
||||
.features = {0}
|
||||
};
|
||||
|
||||
features.features.depthBounds = true;
|
||||
features.features.geometryShader = true;
|
||||
features.features.dualSrcBlend = true;
|
||||
features.features.shaderInt16 = true;
|
||||
|
||||
feat11.uniformAndStorageBuffer16BitAccess = true;
|
||||
feat11.storageBuffer16BitAccess = true;
|
||||
|
||||
Reference in New Issue
Block a user