mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-19 12:40:29 +00:00
Formatting fixes
This commit is contained in:
parent
98c0944419
commit
976a3ed3bf
@ -85,13 +85,15 @@ namespace vk
|
|||||||
ensure(_vkGetPhysicalDeviceFeatures2KHR); // "vkGetInstanceProcAddress failed to find entry point!"
|
ensure(_vkGetPhysicalDeviceFeatures2KHR); // "vkGetInstanceProcAddress failed to find entry point!"
|
||||||
_vkGetPhysicalDeviceFeatures2KHR(dev, &features2);
|
_vkGetPhysicalDeviceFeatures2KHR(dev, &features2);
|
||||||
|
|
||||||
shader_types_support.allow_float64 = !!features2.features.shaderFloat64;
|
shader_types_support.allow_float64 = !!features2.features.shaderFloat64;
|
||||||
shader_types_support.allow_float16 = !!shader_support_info.shaderFloat16;
|
shader_types_support.allow_float16 = !!shader_support_info.shaderFloat16;
|
||||||
shader_types_support.allow_int8 = !!shader_support_info.shaderInt8;
|
shader_types_support.allow_int8 = !!shader_support_info.shaderInt8;
|
||||||
optional_features_support.framebuffer_loops = !!fbo_loops_info.attachmentFeedbackLoopLayout;
|
|
||||||
optional_features_support.barycentric_coords = !!shader_barycentric_info.fragmentShaderBarycentric;
|
|
||||||
optional_features_support.custom_border_color = !!custom_border_color_info.customBorderColors && !!custom_border_color_info.customBorderColorWithoutFormat;
|
optional_features_support.custom_border_color = !!custom_border_color_info.customBorderColors && !!custom_border_color_info.customBorderColorWithoutFormat;
|
||||||
features = features2.features;
|
optional_features_support.barycentric_coords = !!shader_barycentric_info.fragmentShaderBarycentric;
|
||||||
|
optional_features_support.framebuffer_loops = !!fbo_loops_info.attachmentFeedbackLoopLayout;
|
||||||
|
|
||||||
|
features = features2.features;
|
||||||
|
|
||||||
if (descriptor_indexing_support)
|
if (descriptor_indexing_support)
|
||||||
{
|
{
|
||||||
|
@ -163,11 +163,11 @@ namespace vk
|
|||||||
}
|
}
|
||||||
|
|
||||||
const auto block = m_custom_color_sampler_pool.equal_range(key.base_key);
|
const auto block = m_custom_color_sampler_pool.equal_range(key.base_key);
|
||||||
for (auto It = block.first; It != block.second; ++It)
|
for (auto it = block.first; it != block.second; ++it)
|
||||||
{
|
{
|
||||||
if (It->second->key.border_color_key == key.border_color_key)
|
if (it->second->key.border_color_key == key.border_color_key)
|
||||||
{
|
{
|
||||||
return It->second.get();
|
return it->second.get();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -194,16 +194,16 @@ namespace vk
|
|||||||
|
|
||||||
const auto collect_fn = [&](auto& container)
|
const auto collect_fn = [&](auto& container)
|
||||||
{
|
{
|
||||||
for (auto It = container.begin(); It != container.end();)
|
for (auto it = container.begin(); it != container.end();)
|
||||||
{
|
{
|
||||||
if (!predicate(*It->second))
|
if (!predicate(*it->second))
|
||||||
{
|
{
|
||||||
It++;
|
it++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
result.emplace_back(std::move(It->second));
|
result.emplace_back(std::move(it->second));
|
||||||
It = container.erase(It);
|
it = container.erase(it);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user