|
|
@ -227,7 +227,7 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
|
|
|
|
.depthBiasClamp = true,
|
|
|
|
.depthBiasClamp = true,
|
|
|
|
.fillModeNonSolid = true,
|
|
|
|
.fillModeNonSolid = true,
|
|
|
|
.depthBounds = is_depth_bounds_supported,
|
|
|
|
.depthBounds = is_depth_bounds_supported,
|
|
|
|
.wideLines = false,
|
|
|
|
.wideLines = true,
|
|
|
|
.largePoints = true,
|
|
|
|
.largePoints = true,
|
|
|
|
.alphaToOne = false,
|
|
|
|
.alphaToOne = false,
|
|
|
|
.multiViewport = true,
|
|
|
|
.multiViewport = true,
|
|
|
@ -703,7 +703,6 @@ void Device::CheckSuitability(bool requires_swapchain) const {
|
|
|
|
const std::array feature_report{
|
|
|
|
const std::array feature_report{
|
|
|
|
std::make_pair(features.robustBufferAccess, "robustBufferAccess"),
|
|
|
|
std::make_pair(features.robustBufferAccess, "robustBufferAccess"),
|
|
|
|
std::make_pair(features.vertexPipelineStoresAndAtomics, "vertexPipelineStoresAndAtomics"),
|
|
|
|
std::make_pair(features.vertexPipelineStoresAndAtomics, "vertexPipelineStoresAndAtomics"),
|
|
|
|
std::make_pair(features.robustBufferAccess, "robustBufferAccess"),
|
|
|
|
|
|
|
|
std::make_pair(features.imageCubeArray, "imageCubeArray"),
|
|
|
|
std::make_pair(features.imageCubeArray, "imageCubeArray"),
|
|
|
|
std::make_pair(features.independentBlend, "independentBlend"),
|
|
|
|
std::make_pair(features.independentBlend, "independentBlend"),
|
|
|
|
std::make_pair(features.depthClamp, "depthClamp"),
|
|
|
|
std::make_pair(features.depthClamp, "depthClamp"),
|
|
|
@ -712,6 +711,7 @@ void Device::CheckSuitability(bool requires_swapchain) const {
|
|
|
|
std::make_pair(features.multiViewport, "multiViewport"),
|
|
|
|
std::make_pair(features.multiViewport, "multiViewport"),
|
|
|
|
std::make_pair(features.depthBiasClamp, "depthBiasClamp"),
|
|
|
|
std::make_pair(features.depthBiasClamp, "depthBiasClamp"),
|
|
|
|
std::make_pair(features.fillModeNonSolid, "fillModeNonSolid"),
|
|
|
|
std::make_pair(features.fillModeNonSolid, "fillModeNonSolid"),
|
|
|
|
|
|
|
|
std::make_pair(features.wideLines, "wideLines"),
|
|
|
|
std::make_pair(features.geometryShader, "geometryShader"),
|
|
|
|
std::make_pair(features.geometryShader, "geometryShader"),
|
|
|
|
std::make_pair(features.tessellationShader, "tessellationShader"),
|
|
|
|
std::make_pair(features.tessellationShader, "tessellationShader"),
|
|
|
|
std::make_pair(features.sampleRateShading, "sampleRateShading"),
|
|
|
|
std::make_pair(features.sampleRateShading, "sampleRateShading"),
|
|
|
|