Set warnings as errors for the generator, the samples, and the tests.
This commit is contained in:
@@ -15,6 +15,15 @@
|
||||
// VulkanHpp Samples : PhysicalDeviceFeatures
|
||||
// Get the fine-grained features of the physical devices that can be supported by an implementation.
|
||||
|
||||
// ignore warning 4503: decorated name length exceeded, name was truncated
|
||||
#if defined( _MSC_VER )
|
||||
# pragma warning( disable : 4503 )
|
||||
#elif defined( __GNUC__ )
|
||||
// don't know how to switch off that warning here
|
||||
#else
|
||||
// unknow compiler... just ignore the warnings for yourselves ;)
|
||||
#endif
|
||||
|
||||
#include "../utils/utils.hpp"
|
||||
#include "vulkan/vulkan.hpp"
|
||||
|
||||
@@ -99,125 +108,125 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceYcbcrImageArraysFeaturesEXT>();
|
||||
vk::PhysicalDeviceFeatures const & features = features2.get<vk::PhysicalDeviceFeatures2>().features;
|
||||
std::cout << "\tFeatures:\n";
|
||||
std::cout << "\t\talphaToOne : " << static_cast<bool>( features.alphaToOne ) << "\n";
|
||||
std::cout << "\t\tdepthBiasClamp : " << static_cast<bool>( features.depthBiasClamp )
|
||||
std::cout << "\t\talphaToOne : " << !!features.alphaToOne << "\n";
|
||||
std::cout << "\t\tdepthBiasClamp : " << !!features.depthBiasClamp
|
||||
<< "\n";
|
||||
std::cout << "\t\tdepthBounds : " << static_cast<bool>( features.depthBounds )
|
||||
std::cout << "\t\tdepthBounds : " << !!features.depthBounds
|
||||
<< "\n";
|
||||
std::cout << "\t\tdepthClamp : " << static_cast<bool>( features.depthClamp ) << "\n";
|
||||
std::cout << "\t\tdepthClamp : " << !!features.depthClamp << "\n";
|
||||
std::cout << "\t\tdrawIndirectFirstInstance : "
|
||||
<< static_cast<bool>( features.drawIndirectFirstInstance ) << "\n";
|
||||
std::cout << "\t\tdualSrcBlend : " << static_cast<bool>( features.dualSrcBlend )
|
||||
<< !!features.drawIndirectFirstInstance << "\n";
|
||||
std::cout << "\t\tdualSrcBlend : " << !!features.dualSrcBlend
|
||||
<< "\n";
|
||||
std::cout << "\t\tfillModeNonSolid : " << static_cast<bool>( features.fillModeNonSolid )
|
||||
std::cout << "\t\tfillModeNonSolid : " << !!features.fillModeNonSolid
|
||||
<< "\n";
|
||||
std::cout << "\t\tfragmentStoresAndAtomics : "
|
||||
<< static_cast<bool>( features.fragmentStoresAndAtomics ) << "\n";
|
||||
std::cout << "\t\tfullDrawIndexUint32 : " << static_cast<bool>( features.fullDrawIndexUint32 )
|
||||
<< !!features.fragmentStoresAndAtomics << "\n";
|
||||
std::cout << "\t\tfullDrawIndexUint32 : " << !!features.fullDrawIndexUint32
|
||||
<< "\n";
|
||||
std::cout << "\t\tgeometryShader : " << static_cast<bool>( features.geometryShader )
|
||||
std::cout << "\t\tgeometryShader : " << !!features.geometryShader
|
||||
<< "\n";
|
||||
std::cout << "\t\timageCubeArray : " << static_cast<bool>( features.imageCubeArray )
|
||||
std::cout << "\t\timageCubeArray : " << !!features.imageCubeArray
|
||||
<< "\n";
|
||||
std::cout << "\t\tindependentBlend : " << static_cast<bool>( features.independentBlend )
|
||||
std::cout << "\t\tindependentBlend : " << !!features.independentBlend
|
||||
<< "\n";
|
||||
std::cout << "\t\tinheritedQueries : " << static_cast<bool>( features.inheritedQueries )
|
||||
std::cout << "\t\tinheritedQueries : " << !!features.inheritedQueries
|
||||
<< "\n";
|
||||
std::cout << "\t\tlargePoints : " << static_cast<bool>( features.largePoints )
|
||||
std::cout << "\t\tlargePoints : " << !!features.largePoints
|
||||
<< "\n";
|
||||
std::cout << "\t\tlogicOp : " << static_cast<bool>( features.logicOp ) << "\n";
|
||||
std::cout << "\t\tmultiDrawIndirect : " << static_cast<bool>( features.multiDrawIndirect )
|
||||
std::cout << "\t\tlogicOp : " << !!features.logicOp << "\n";
|
||||
std::cout << "\t\tmultiDrawIndirect : " << !!features.multiDrawIndirect
|
||||
<< "\n";
|
||||
std::cout << "\t\tmultiViewport : " << static_cast<bool>( features.multiViewport )
|
||||
std::cout << "\t\tmultiViewport : " << !!features.multiViewport
|
||||
<< "\n";
|
||||
std::cout << "\t\tocclusionQueryPrecise : "
|
||||
<< static_cast<bool>( features.occlusionQueryPrecise ) << "\n";
|
||||
<< !!features.occlusionQueryPrecise << "\n";
|
||||
std::cout << "\t\tpipelineStatisticsQuery : "
|
||||
<< static_cast<bool>( features.pipelineStatisticsQuery ) << "\n";
|
||||
std::cout << "\t\trobustBufferAccess : " << static_cast<bool>( features.robustBufferAccess )
|
||||
<< !!features.pipelineStatisticsQuery << "\n";
|
||||
std::cout << "\t\trobustBufferAccess : " << !!features.robustBufferAccess
|
||||
<< "\n";
|
||||
std::cout << "\t\tsamplerAnisotropy : " << static_cast<bool>( features.samplerAnisotropy )
|
||||
std::cout << "\t\tsamplerAnisotropy : " << !!features.samplerAnisotropy
|
||||
<< "\n";
|
||||
std::cout << "\t\tsampleRateShading : " << static_cast<bool>( features.sampleRateShading )
|
||||
std::cout << "\t\tsampleRateShading : " << !!features.sampleRateShading
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderClipDistance : " << static_cast<bool>( features.shaderClipDistance )
|
||||
std::cout << "\t\tshaderClipDistance : " << !!features.shaderClipDistance
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderCullDistance : " << static_cast<bool>( features.shaderCullDistance )
|
||||
std::cout << "\t\tshaderCullDistance : " << !!features.shaderCullDistance
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderFloat64 : " << static_cast<bool>( features.shaderFloat64 )
|
||||
std::cout << "\t\tshaderFloat64 : " << !!features.shaderFloat64
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderImageGatherExtended : "
|
||||
<< static_cast<bool>( features.shaderImageGatherExtended ) << "\n";
|
||||
std::cout << "\t\tshaderInt16 : " << static_cast<bool>( features.shaderInt16 )
|
||||
<< !!features.shaderImageGatherExtended << "\n";
|
||||
std::cout << "\t\tshaderInt16 : " << !!features.shaderInt16
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderInt64 : " << static_cast<bool>( features.shaderInt64 )
|
||||
std::cout << "\t\tshaderInt64 : " << !!features.shaderInt64
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderResourceMinLod : "
|
||||
<< static_cast<bool>( features.shaderResourceMinLod ) << "\n";
|
||||
<< !!features.shaderResourceMinLod << "\n";
|
||||
std::cout << "\t\tshaderResourceResidency : "
|
||||
<< static_cast<bool>( features.shaderResourceResidency ) << "\n";
|
||||
<< !!features.shaderResourceResidency << "\n";
|
||||
std::cout << "\t\tshaderSampledImageArrayDynamicIndexing : "
|
||||
<< static_cast<bool>( features.shaderSampledImageArrayDynamicIndexing ) << "\n";
|
||||
<< !!features.shaderSampledImageArrayDynamicIndexing << "\n";
|
||||
std::cout << "\t\tshaderStorageBufferArrayDynamicIndexing : "
|
||||
<< static_cast<bool>( features.shaderStorageBufferArrayDynamicIndexing ) << "\n";
|
||||
<< !!features.shaderStorageBufferArrayDynamicIndexing << "\n";
|
||||
std::cout << "\t\tshaderStorageImageArrayDynamicIndexing : "
|
||||
<< static_cast<bool>( features.shaderStorageImageArrayDynamicIndexing ) << "\n";
|
||||
<< !!features.shaderStorageImageArrayDynamicIndexing << "\n";
|
||||
std::cout << "\t\tshaderStorageImageExtendedFormats : "
|
||||
<< static_cast<bool>( features.shaderStorageImageExtendedFormats ) << "\n";
|
||||
<< !!features.shaderStorageImageExtendedFormats << "\n";
|
||||
std::cout << "\t\tshaderStorageImageMultisample : "
|
||||
<< static_cast<bool>( features.shaderStorageImageMultisample ) << "\n";
|
||||
<< !!features.shaderStorageImageMultisample << "\n";
|
||||
std::cout << "\t\tshaderStorageImageReadWithoutFormat : "
|
||||
<< static_cast<bool>( features.shaderStorageImageReadWithoutFormat ) << "\n";
|
||||
<< !!features.shaderStorageImageReadWithoutFormat << "\n";
|
||||
std::cout << "\t\tshaderStorageImageWriteWithoutFormat : "
|
||||
<< static_cast<bool>( features.shaderStorageImageWriteWithoutFormat ) << "\n";
|
||||
<< !!features.shaderStorageImageWriteWithoutFormat << "\n";
|
||||
std::cout << "\t\tshaderTessellationAndGeometryPointSize : "
|
||||
<< static_cast<bool>( features.shaderTessellationAndGeometryPointSize ) << "\n";
|
||||
<< !!features.shaderTessellationAndGeometryPointSize << "\n";
|
||||
std::cout << "\t\tshaderUniformBufferArrayDynamicIndexing : "
|
||||
<< static_cast<bool>( features.shaderUniformBufferArrayDynamicIndexing ) << "\n";
|
||||
std::cout << "\t\tsparseBinding : " << static_cast<bool>( features.sparseBinding )
|
||||
<< !!features.shaderUniformBufferArrayDynamicIndexing << "\n";
|
||||
std::cout << "\t\tsparseBinding : " << !!features.sparseBinding
|
||||
<< "\n";
|
||||
std::cout << "\t\tsparseResidency16Samples : "
|
||||
<< static_cast<bool>( features.sparseResidency16Samples ) << "\n";
|
||||
<< !!features.sparseResidency16Samples << "\n";
|
||||
std::cout << "\t\tsparseResidency2Samples : "
|
||||
<< static_cast<bool>( features.sparseResidency2Samples ) << "\n";
|
||||
<< !!features.sparseResidency2Samples << "\n";
|
||||
std::cout << "\t\tsparseResidency4Samples : "
|
||||
<< static_cast<bool>( features.sparseResidency4Samples ) << "\n";
|
||||
<< !!features.sparseResidency4Samples << "\n";
|
||||
std::cout << "\t\tsparseResidency8Samples : "
|
||||
<< static_cast<bool>( features.sparseResidency8Samples ) << "\n";
|
||||
<< !!features.sparseResidency8Samples << "\n";
|
||||
std::cout << "\t\tsparseResidencyAliased : "
|
||||
<< static_cast<bool>( features.sparseResidencyAliased ) << "\n";
|
||||
<< !!features.sparseResidencyAliased << "\n";
|
||||
std::cout << "\t\tsparseResidencyBuffer : "
|
||||
<< static_cast<bool>( features.sparseResidencyBuffer ) << "\n";
|
||||
<< !!features.sparseResidencyBuffer << "\n";
|
||||
std::cout << "\t\tsparseResidencyImage2D : "
|
||||
<< static_cast<bool>( features.sparseResidencyImage2D ) << "\n";
|
||||
<< !!features.sparseResidencyImage2D << "\n";
|
||||
std::cout << "\t\tsparseResidencyImage3D : "
|
||||
<< static_cast<bool>( features.sparseResidencyImage3D ) << "\n";
|
||||
std::cout << "\t\ttessellationShader : " << static_cast<bool>( features.tessellationShader )
|
||||
<< !!features.sparseResidencyImage3D << "\n";
|
||||
std::cout << "\t\ttessellationShader : " << !!features.tessellationShader
|
||||
<< "\n";
|
||||
std::cout << "\t\ttextureCompressionASTC_LDR : "
|
||||
<< static_cast<bool>( features.textureCompressionASTC_LDR ) << "\n";
|
||||
<< !!features.textureCompressionASTC_LDR << "\n";
|
||||
std::cout << "\t\ttextureCompressionBC : "
|
||||
<< static_cast<bool>( features.textureCompressionBC ) << "\n";
|
||||
<< !!features.textureCompressionBC << "\n";
|
||||
std::cout << "\t\ttextureCompressionETC2 : "
|
||||
<< static_cast<bool>( features.textureCompressionETC2 ) << "\n";
|
||||
<< !!features.textureCompressionETC2 << "\n";
|
||||
std::cout << "\t\tvariableMultisampleRate : "
|
||||
<< static_cast<bool>( features.variableMultisampleRate ) << "\n";
|
||||
<< !!features.variableMultisampleRate << "\n";
|
||||
std::cout << "\t\tvertexPipelineStoresAndAtomics : "
|
||||
<< static_cast<bool>( features.vertexPipelineStoresAndAtomics ) << "\n";
|
||||
std::cout << "\t\twideLines : " << static_cast<bool>( features.wideLines ) << "\n";
|
||||
<< !!features.vertexPipelineStoresAndAtomics << "\n";
|
||||
std::cout << "\t\twideLines : " << !!features.wideLines << "\n";
|
||||
std::cout << "\n";
|
||||
|
||||
vk::PhysicalDevice16BitStorageFeatures const & sixteenBitStorageFeatures =
|
||||
features2.get<vk::PhysicalDevice16BitStorageFeatures>();
|
||||
std::cout << "\t16BitStorageFeatures:\n";
|
||||
std::cout << "\t\tstorageBuffer16BitAccess : "
|
||||
<< static_cast<bool>( sixteenBitStorageFeatures.storageBuffer16BitAccess ) << "\n";
|
||||
<< !!sixteenBitStorageFeatures.storageBuffer16BitAccess << "\n";
|
||||
std::cout << "\t\tstorageInputOutput16 : "
|
||||
<< static_cast<bool>( sixteenBitStorageFeatures.storageInputOutput16 ) << "\n";
|
||||
<< !!sixteenBitStorageFeatures.storageInputOutput16 << "\n";
|
||||
std::cout << "\t\tstoragePushConstant16 : "
|
||||
<< static_cast<bool>( sixteenBitStorageFeatures.storagePushConstant16 ) << "\n";
|
||||
<< !!sixteenBitStorageFeatures.storagePushConstant16 << "\n";
|
||||
std::cout << "\t\tuniformAndStorageBuffer16BitAccess : "
|
||||
<< static_cast<bool>( sixteenBitStorageFeatures.uniformAndStorageBuffer16BitAccess ) << "\n";
|
||||
<< !!sixteenBitStorageFeatures.uniformAndStorageBuffer16BitAccess << "\n";
|
||||
std::cout << "\n";
|
||||
|
||||
if ( vk::su::contains( extensionProperties, "VK_KHR_8bit_storage" ) )
|
||||
@@ -226,11 +235,11 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDevice8BitStorageFeaturesKHR>();
|
||||
std::cout << "\t8BitStorageFeatures:\n";
|
||||
std::cout << "\t\tstorageBuffer8BitAccess : "
|
||||
<< static_cast<bool>( eightBitStorageFeatures.storageBuffer8BitAccess ) << "\n";
|
||||
<< !!eightBitStorageFeatures.storageBuffer8BitAccess << "\n";
|
||||
std::cout << "\t\tstoragePushConstant8 : "
|
||||
<< static_cast<bool>( eightBitStorageFeatures.storagePushConstant8 ) << "\n";
|
||||
<< !!eightBitStorageFeatures.storagePushConstant8 << "\n";
|
||||
std::cout << "\t\tuniformAndStorageBuffer8BitAccess : "
|
||||
<< static_cast<bool>( eightBitStorageFeatures.uniformAndStorageBuffer8BitAccess ) << "\n";
|
||||
<< !!eightBitStorageFeatures.uniformAndStorageBuffer8BitAccess << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -240,7 +249,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceASTCDecodeFeaturesEXT>();
|
||||
std::cout << "\tASTCDecodeFeature:\n";
|
||||
std::cout << "\t\tdecodeModeSharedExponent : "
|
||||
<< static_cast<bool>( astcDecodeFeatures.decodeModeSharedExponent ) << "\n";
|
||||
<< !!astcDecodeFeatures.decodeModeSharedExponent << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -250,7 +259,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceBlendOperationAdvancedFeaturesEXT>();
|
||||
std::cout << "\tBlendOperationAdvancedFeatures:\n";
|
||||
std::cout << "\t\tadvancedBlendCoherentOperations : "
|
||||
<< static_cast<bool>( blendOperationAdvancedFeatures.advancedBlendCoherentOperations ) << "\n";
|
||||
<< !!blendOperationAdvancedFeatures.advancedBlendCoherentOperations << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -260,11 +269,11 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceBufferDeviceAddressFeaturesEXT>();
|
||||
std::cout << "\tBufferDeviceAddressFeatures:\n";
|
||||
std::cout << "\t\tbufferDeviceAddress : "
|
||||
<< static_cast<bool>( bufferDeviceAddressFeatures.bufferDeviceAddress ) << "\n";
|
||||
<< !!bufferDeviceAddressFeatures.bufferDeviceAddress << "\n";
|
||||
std::cout << "\t\tbufferDeviceAddressCaptureReplay : "
|
||||
<< static_cast<bool>( bufferDeviceAddressFeatures.bufferDeviceAddressCaptureReplay ) << "\n";
|
||||
<< !!bufferDeviceAddressFeatures.bufferDeviceAddressCaptureReplay << "\n";
|
||||
std::cout << "\t\tbufferDeviceAddressMultiDevice : "
|
||||
<< static_cast<bool>( bufferDeviceAddressFeatures.bufferDeviceAddressMultiDevice ) << "\n";
|
||||
<< !!bufferDeviceAddressFeatures.bufferDeviceAddressMultiDevice << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -273,7 +282,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceCoherentMemoryFeaturesAMD const & coherentMemoryFeatures =
|
||||
features2.get<vk::PhysicalDeviceCoherentMemoryFeaturesAMD>();
|
||||
std::cout << "\tCoherentMemoryFeatures:\n";
|
||||
std::cout << "\t\tdeviceCoherentMemory : " << static_cast<bool>( coherentMemoryFeatures.deviceCoherentMemory )
|
||||
std::cout << "\t\tdeviceCoherentMemory : " << !!coherentMemoryFeatures.deviceCoherentMemory
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -284,9 +293,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceComputeShaderDerivativesFeaturesNV>();
|
||||
std::cout << "\tComputeShaderDerivativeFeatures:\n";
|
||||
std::cout << "\t\tcomputeDerivativeGroupLinear : "
|
||||
<< static_cast<bool>( computeShaderDerivativesFeatures.computeDerivativeGroupLinear ) << "\n";
|
||||
<< !!computeShaderDerivativesFeatures.computeDerivativeGroupLinear << "\n";
|
||||
std::cout << "\t\tcomputeDerivativeGroupQuads : "
|
||||
<< static_cast<bool>( computeShaderDerivativesFeatures.computeDerivativeGroupQuads ) << "\n";
|
||||
<< !!computeShaderDerivativesFeatures.computeDerivativeGroupQuads << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -296,9 +305,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceConditionalRenderingFeaturesEXT>();
|
||||
std::cout << "\tConditionalRenderingFeatures:\n";
|
||||
std::cout << "\t\tconditionalRendering : "
|
||||
<< static_cast<bool>( conditionalRenderingFeatures.conditionalRendering ) << "\n";
|
||||
<< !!conditionalRenderingFeatures.conditionalRendering << "\n";
|
||||
std::cout << "\t\tinheritedConditionalRendering : "
|
||||
<< static_cast<bool>( conditionalRenderingFeatures.inheritedConditionalRendering ) << "\n";
|
||||
<< !!conditionalRenderingFeatures.inheritedConditionalRendering << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -308,9 +317,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceCooperativeMatrixFeaturesNV>();
|
||||
std::cout << "\tCooperativeMatrixFeatures:\n";
|
||||
std::cout << "\t\tcooperativeMatrix : "
|
||||
<< static_cast<bool>( cooperativeMatrixFeatures.cooperativeMatrix ) << "\n";
|
||||
<< !!cooperativeMatrixFeatures.cooperativeMatrix << "\n";
|
||||
std::cout << "\t\tcooperativeMatrixRobustBufferAccess : "
|
||||
<< static_cast<bool>( cooperativeMatrixFeatures.cooperativeMatrixRobustBufferAccess ) << "\n";
|
||||
<< !!cooperativeMatrixFeatures.cooperativeMatrixRobustBufferAccess << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -319,7 +328,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceCornerSampledImageFeaturesNV const & cornerSampledImageFeatures =
|
||||
features2.get<vk::PhysicalDeviceCornerSampledImageFeaturesNV>();
|
||||
std::cout << "\tCornerSampledImageFeatures:\n";
|
||||
std::cout << "\t\tcornerSampledImage : " << static_cast<bool>( cornerSampledImageFeatures.cornerSampledImage )
|
||||
std::cout << "\t\tcornerSampledImage : " << !!cornerSampledImageFeatures.cornerSampledImage
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -330,7 +339,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceCoverageReductionModeFeaturesNV>();
|
||||
std::cout << "\tCoverageReductionModeFeatures:\n";
|
||||
std::cout << "\t\tcoverageReductionMode : "
|
||||
<< static_cast<bool>( coverageReductionModeFeatures.coverageReductionMode ) << "\n";
|
||||
<< !!coverageReductionModeFeatures.coverageReductionMode << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -340,7 +349,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV>();
|
||||
std::cout << "\tDedicatedAllocationAliasingFeatures:\n";
|
||||
std::cout << "\t\tdedicatedAllocationImageAliasing : "
|
||||
<< static_cast<bool>( dedicatedAllocationImageAliasingFeatures.dedicatedAllocationImageAliasing )
|
||||
<< !!dedicatedAllocationImageAliasingFeatures.dedicatedAllocationImageAliasing
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -350,7 +359,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceDepthClipEnableFeaturesEXT const & depthClipEnabledFeatures =
|
||||
features2.get<vk::PhysicalDeviceDepthClipEnableFeaturesEXT>();
|
||||
std::cout << "\tDepthClipEnabledFeatures:\n";
|
||||
std::cout << "\t\tdepthClipEnable : " << static_cast<bool>( depthClipEnabledFeatures.depthClipEnable ) << "\n";
|
||||
std::cout << "\t\tdepthClipEnable : " << !!depthClipEnabledFeatures.depthClipEnable << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -360,55 +369,55 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceDescriptorIndexingFeaturesEXT>();
|
||||
std::cout << "\tDescriptorIndexingFeatures:\n";
|
||||
std::cout << "\t\tdescriptorBindingPartiallyBound : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingPartiallyBound ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingPartiallyBound << "\n";
|
||||
std::cout << "\t\tdescriptorBindingSampledImageUpdateAfterBind : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingSampledImageUpdateAfterBind )
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingSampledImageUpdateAfterBind
|
||||
<< "\n";
|
||||
std::cout << "\t\tdescriptorBindingStorageBufferUpdateAfterBind : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingStorageBufferUpdateAfterBind )
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingStorageBufferUpdateAfterBind
|
||||
<< "\n";
|
||||
std::cout << "\t\tdescriptorBindingStorageImageUpdateAfterBind : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingStorageImageUpdateAfterBind )
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingStorageImageUpdateAfterBind
|
||||
<< "\n";
|
||||
std::cout << "\t\tdescriptorBindingStorageTexelBufferUpdateAfterBind : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingStorageTexelBufferUpdateAfterBind )
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingStorageTexelBufferUpdateAfterBind
|
||||
<< "\n";
|
||||
std::cout << "\t\tdescriptorBindingUniformBufferUpdateAfterBind : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingUniformBufferUpdateAfterBind )
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingUniformBufferUpdateAfterBind
|
||||
<< "\n";
|
||||
std::cout << "\t\tdescriptorBindingUniformTexelBufferUpdateAfterBind : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingUniformTexelBufferUpdateAfterBind )
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingUniformTexelBufferUpdateAfterBind
|
||||
<< "\n";
|
||||
std::cout << "\t\tdescriptorBindingUpdateUnusedWhilePending : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingUpdateUnusedWhilePending ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingUpdateUnusedWhilePending << "\n";
|
||||
std::cout << "\t\tdescriptorBindingVariableDescriptorCount : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.descriptorBindingVariableDescriptorCount ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.descriptorBindingVariableDescriptorCount << "\n";
|
||||
std::cout << "\t\truntimeDescriptorArray : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.runtimeDescriptorArray ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.runtimeDescriptorArray << "\n";
|
||||
std::cout << "\t\tshaderInputAttachmentArrayDynamicIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderInputAttachmentArrayDynamicIndexing ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.shaderInputAttachmentArrayDynamicIndexing << "\n";
|
||||
std::cout << "\t\tshaderInputAttachmentArrayNonUniformIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderInputAttachmentArrayNonUniformIndexing )
|
||||
<< !!descriptorIndexingFeatures.shaderInputAttachmentArrayNonUniformIndexing
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderSampledImageArrayNonUniformIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderSampledImageArrayNonUniformIndexing ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.shaderSampledImageArrayNonUniformIndexing << "\n";
|
||||
std::cout << "\t\tshaderStorageBufferArrayNonUniformIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderStorageBufferArrayNonUniformIndexing ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.shaderStorageBufferArrayNonUniformIndexing << "\n";
|
||||
std::cout << "\t\tshaderStorageImageArrayNonUniformIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderStorageImageArrayNonUniformIndexing ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.shaderStorageImageArrayNonUniformIndexing << "\n";
|
||||
std::cout << "\t\tshaderStorageTexelBufferArrayDynamicIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderStorageTexelBufferArrayDynamicIndexing )
|
||||
<< !!descriptorIndexingFeatures.shaderStorageTexelBufferArrayDynamicIndexing
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderStorageTexelBufferArrayNonUniformIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderStorageTexelBufferArrayNonUniformIndexing )
|
||||
<< !!descriptorIndexingFeatures.shaderStorageTexelBufferArrayNonUniformIndexing
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderUniformBufferArrayNonUniformIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderUniformBufferArrayNonUniformIndexing ) << "\n";
|
||||
<< !!descriptorIndexingFeatures.shaderUniformBufferArrayNonUniformIndexing << "\n";
|
||||
std::cout << "\t\tshaderUniformTexelBufferArrayDynamicIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderUniformTexelBufferArrayDynamicIndexing )
|
||||
<< !!descriptorIndexingFeatures.shaderUniformTexelBufferArrayDynamicIndexing
|
||||
<< "\n";
|
||||
std::cout << "\t\tshaderUniformTexelBufferArrayNonUniformIndexing : "
|
||||
<< static_cast<bool>( descriptorIndexingFeatures.shaderUniformTexelBufferArrayNonUniformIndexing )
|
||||
<< !!descriptorIndexingFeatures.shaderUniformTexelBufferArrayNonUniformIndexing
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -418,7 +427,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceExclusiveScissorFeaturesNV const & exclusiveScissorFeatures =
|
||||
features2.get<vk::PhysicalDeviceExclusiveScissorFeaturesNV>();
|
||||
std::cout << "\tExclusiveScissorFeatures:\n";
|
||||
std::cout << "\t\texclusiveScissor : " << static_cast<bool>( exclusiveScissorFeatures.exclusiveScissor )
|
||||
std::cout << "\t\texclusiveScissor : " << !!exclusiveScissorFeatures.exclusiveScissor
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -429,11 +438,11 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceFragmentDensityMapFeaturesEXT>();
|
||||
std::cout << "\tFragmentDensityMapFeatures:\n";
|
||||
std::cout << "\t\tfragmentDensityMap : "
|
||||
<< static_cast<bool>( fragmentDensityMapFeatures.fragmentDensityMap ) << "\n";
|
||||
<< !!fragmentDensityMapFeatures.fragmentDensityMap << "\n";
|
||||
std::cout << "\t\tfragmentDensityMapDynamic : "
|
||||
<< static_cast<bool>( fragmentDensityMapFeatures.fragmentDensityMapDynamic ) << "\n";
|
||||
<< !!fragmentDensityMapFeatures.fragmentDensityMapDynamic << "\n";
|
||||
std::cout << "\t\tfragmentDensityMapNonSubsampledImages : "
|
||||
<< static_cast<bool>( fragmentDensityMapFeatures.fragmentDensityMapNonSubsampledImages ) << "\n";
|
||||
<< !!fragmentDensityMapFeatures.fragmentDensityMapNonSubsampledImages << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -443,7 +452,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceFragmentShaderBarycentricFeaturesNV>();
|
||||
std::cout << "\tFragmentShaderBarycentricFeatures:\n";
|
||||
std::cout << "\t\tfragmentShaderBarycentric : "
|
||||
<< static_cast<bool>( fragmentShaderBarycentricFeatures.fragmentShaderBarycentric ) << "\n";
|
||||
<< !!fragmentShaderBarycentricFeatures.fragmentShaderBarycentric << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -453,11 +462,11 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceFragmentShaderInterlockFeaturesEXT>();
|
||||
std::cout << "\tFragmentShaderInterlockFeatures:\n";
|
||||
std::cout << "\t\tfragmentShaderPixelInterlock : "
|
||||
<< static_cast<bool>( fragmentShaderInterlockFeatures.fragmentShaderPixelInterlock ) << "\n";
|
||||
<< !!fragmentShaderInterlockFeatures.fragmentShaderPixelInterlock << "\n";
|
||||
std::cout << "\t\tfragmentShaderSampleInterlock : "
|
||||
<< static_cast<bool>( fragmentShaderInterlockFeatures.fragmentShaderSampleInterlock ) << "\n";
|
||||
<< !!fragmentShaderInterlockFeatures.fragmentShaderSampleInterlock << "\n";
|
||||
std::cout << "\t\tfragmentShaderShadingRateInterlock : "
|
||||
<< static_cast<bool>( fragmentShaderInterlockFeatures.fragmentShaderShadingRateInterlock ) << "\n";
|
||||
<< !!fragmentShaderInterlockFeatures.fragmentShaderShadingRateInterlock << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -466,7 +475,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceHostQueryResetFeaturesEXT const & hostQueryResetFeatures =
|
||||
features2.get<vk::PhysicalDeviceHostQueryResetFeaturesEXT>();
|
||||
std::cout << "\tHostQueryResetFeatures:\n";
|
||||
std::cout << "\t\thostQueryReset : " << static_cast<bool>( hostQueryResetFeatures.hostQueryReset ) << "\n";
|
||||
std::cout << "\t\thostQueryReset : " << !!hostQueryResetFeatures.hostQueryReset << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -476,7 +485,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceImagelessFramebufferFeaturesKHR>();
|
||||
std::cout << "\tImagelessFramebufferFeatures:\n";
|
||||
std::cout << "\t\timagelessFramebuffer : "
|
||||
<< static_cast<bool>( imagelessFramebufferFeatures.imagelessFramebuffer ) << "\n";
|
||||
<< !!imagelessFramebufferFeatures.imagelessFramebuffer << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -485,7 +494,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceIndexTypeUint8FeaturesEXT const & indexTypeUint8Features =
|
||||
features2.get<vk::PhysicalDeviceIndexTypeUint8FeaturesEXT>();
|
||||
std::cout << "\tIndexTypeUint8Features:\n";
|
||||
std::cout << "\t\tindexTypeUint8 : " << static_cast<bool>( indexTypeUint8Features.indexTypeUint8 ) << "\n";
|
||||
std::cout << "\t\tindexTypeUint8 : " << !!indexTypeUint8Features.indexTypeUint8 << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -495,10 +504,10 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceInlineUniformBlockFeaturesEXT>();
|
||||
std::cout << "\tInlineUniformBlockFeatures:\n";
|
||||
std::cout << "\t\tdescriptorBindingInlineUniformBlockUpdateAfterBind : "
|
||||
<< static_cast<bool>( inlineUniformBlockFeatures.descriptorBindingInlineUniformBlockUpdateAfterBind )
|
||||
<< !!inlineUniformBlockFeatures.descriptorBindingInlineUniformBlockUpdateAfterBind
|
||||
<< "\n";
|
||||
std::cout << "\t\tinlineUniformBlock : "
|
||||
<< static_cast<bool>( inlineUniformBlockFeatures.inlineUniformBlock ) << "\n";
|
||||
<< !!inlineUniformBlockFeatures.inlineUniformBlock << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -507,18 +516,18 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceLineRasterizationFeaturesEXT const & lineRasterizationFeatures =
|
||||
features2.get<vk::PhysicalDeviceLineRasterizationFeaturesEXT>();
|
||||
std::cout << "\tLineRasterizationFeatures:\n";
|
||||
std::cout << "\t\tbresenhamLines : " << static_cast<bool>( lineRasterizationFeatures.bresenhamLines )
|
||||
std::cout << "\t\tbresenhamLines : " << !!lineRasterizationFeatures.bresenhamLines
|
||||
<< "\n";
|
||||
std::cout << "\t\trectangularLines : "
|
||||
<< static_cast<bool>( lineRasterizationFeatures.rectangularLines ) << "\n";
|
||||
std::cout << "\t\tsmoothLines : " << static_cast<bool>( lineRasterizationFeatures.smoothLines )
|
||||
<< !!lineRasterizationFeatures.rectangularLines << "\n";
|
||||
std::cout << "\t\tsmoothLines : " << !!lineRasterizationFeatures.smoothLines
|
||||
<< "\n";
|
||||
std::cout << "\t\tstippledBresenhamLines : "
|
||||
<< static_cast<bool>( lineRasterizationFeatures.stippledBresenhamLines ) << "\n";
|
||||
<< !!lineRasterizationFeatures.stippledBresenhamLines << "\n";
|
||||
std::cout << "\t\tstippledRectangularLines : "
|
||||
<< static_cast<bool>( lineRasterizationFeatures.stippledRectangularLines ) << "\n";
|
||||
<< !!lineRasterizationFeatures.stippledRectangularLines << "\n";
|
||||
std::cout << "\t\tstippledSmoothLines : "
|
||||
<< static_cast<bool>( lineRasterizationFeatures.stippledSmoothLines ) << "\n";
|
||||
<< !!lineRasterizationFeatures.stippledSmoothLines << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -527,7 +536,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceMemoryPriorityFeaturesEXT const & memoryPriorityFeatures =
|
||||
features2.get<vk::PhysicalDeviceMemoryPriorityFeaturesEXT>();
|
||||
std::cout << "\tMemoryPriorityFeatures:\n";
|
||||
std::cout << "\t\tmemoryPriority : " << static_cast<bool>( memoryPriorityFeatures.memoryPriority ) << "\n";
|
||||
std::cout << "\t\tmemoryPriority : " << !!memoryPriorityFeatures.memoryPriority << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -536,19 +545,19 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceMeshShaderFeaturesNV const & meshShaderFeatures =
|
||||
features2.get<vk::PhysicalDeviceMeshShaderFeaturesNV>();
|
||||
std::cout << "\tMeshShaderFeatures:\n";
|
||||
std::cout << "\t\tmeshShader : " << static_cast<bool>( meshShaderFeatures.meshShader ) << "\n";
|
||||
std::cout << "\t\ttaskShader : " << static_cast<bool>( meshShaderFeatures.taskShader ) << "\n";
|
||||
std::cout << "\t\tmeshShader : " << !!meshShaderFeatures.meshShader << "\n";
|
||||
std::cout << "\t\ttaskShader : " << !!meshShaderFeatures.taskShader << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
vk::PhysicalDeviceMultiviewFeatures const & multiviewFeatures =
|
||||
features2.get<vk::PhysicalDeviceMultiviewFeatures>();
|
||||
std::cout << "\tMultiviewFeatures:\n";
|
||||
std::cout << "\t\tmultiview : " << static_cast<bool>( multiviewFeatures.multiview ) << "\n";
|
||||
std::cout << "\t\tmultiview : " << !!multiviewFeatures.multiview << "\n";
|
||||
std::cout << "\t\tmultiviewGeometryShader : "
|
||||
<< static_cast<bool>( multiviewFeatures.multiviewGeometryShader ) << "\n";
|
||||
<< !!multiviewFeatures.multiviewGeometryShader << "\n";
|
||||
std::cout << "\t\tmultiviewTessellationShader : "
|
||||
<< static_cast<bool>( multiviewFeatures.multiviewTessellationShader ) << "\n";
|
||||
<< !!multiviewFeatures.multiviewTessellationShader << "\n";
|
||||
std::cout << "\n";
|
||||
|
||||
if ( vk::su::contains( extensionProperties, "VK_KHR_pipeline_executable_properties" ) )
|
||||
@@ -557,14 +566,14 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDevicePipelineExecutablePropertiesFeaturesKHR>();
|
||||
std::cout << "\tPipelineExectuablePropertiesFeatures:\n";
|
||||
std::cout << "\t\tpipelineExecutableInfo : "
|
||||
<< static_cast<bool>( pipelineExecutablePropertiesFeatures.pipelineExecutableInfo ) << "\n";
|
||||
<< !!pipelineExecutablePropertiesFeatures.pipelineExecutableInfo << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
vk::PhysicalDeviceProtectedMemoryFeatures const & protectedMemoryFeatures =
|
||||
features2.get<vk::PhysicalDeviceProtectedMemoryFeatures>();
|
||||
std::cout << "\tProtectedMemoryFeatures:\n";
|
||||
std::cout << "\t\tprotectedMemory : " << static_cast<bool>( protectedMemoryFeatures.protectedMemory ) << "\n";
|
||||
std::cout << "\t\tprotectedMemory : " << !!protectedMemoryFeatures.protectedMemory << "\n";
|
||||
std::cout << "\n";
|
||||
|
||||
if ( vk::su::contains( extensionProperties, "VK_NV_representative_fragment_test" ) )
|
||||
@@ -573,7 +582,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceRepresentativeFragmentTestFeaturesNV>();
|
||||
std::cout << "\tRepresentativeFragmentTestFeatures:\n";
|
||||
std::cout << "\t\trepresentativeFragmentTest : "
|
||||
<< static_cast<bool>( representativeFragmentTestFeatures.representativeFragmentTest ) << "\n";
|
||||
<< !!representativeFragmentTestFeatures.representativeFragmentTest << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -581,7 +590,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceSamplerYcbcrConversionFeatures>();
|
||||
std::cout << "\tSamplerYcbcrConversionFeatures:\n";
|
||||
std::cout << "\t\tsamplerYcbcrConversion : "
|
||||
<< static_cast<bool>( samplerYcbcrConversionFeatures.samplerYcbcrConversion ) << "\n";
|
||||
<< !!samplerYcbcrConversionFeatures.samplerYcbcrConversion << "\n";
|
||||
std::cout << "\n";
|
||||
|
||||
if ( vk::su::contains( extensionProperties, "VK_EXT_scalar_block_layout" ) )
|
||||
@@ -589,7 +598,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceScalarBlockLayoutFeaturesEXT const & scalarBlockLayoutFeatures =
|
||||
features2.get<vk::PhysicalDeviceScalarBlockLayoutFeaturesEXT>();
|
||||
std::cout << "\tScalarBlockLayoutFeatures:\n";
|
||||
std::cout << "\t\tscalarBlockLayout : " << static_cast<bool>( scalarBlockLayoutFeatures.scalarBlockLayout )
|
||||
std::cout << "\t\tscalarBlockLayout : " << !!scalarBlockLayoutFeatures.scalarBlockLayout
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -600,9 +609,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceShaderAtomicInt64FeaturesKHR>();
|
||||
std::cout << "\tShaderAtomicInt64Features:\n";
|
||||
std::cout << "\t\tshaderBufferInt64Atomics : "
|
||||
<< static_cast<bool>( shaderAtomicInt64Features.shaderBufferInt64Atomics ) << "\n";
|
||||
<< !!shaderAtomicInt64Features.shaderBufferInt64Atomics << "\n";
|
||||
std::cout << "\t\tshaderSharedInt64Atomics : "
|
||||
<< static_cast<bool>( shaderAtomicInt64Features.shaderSharedInt64Atomics ) << "\n";
|
||||
<< !!shaderAtomicInt64Features.shaderSharedInt64Atomics << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -612,7 +621,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT>();
|
||||
std::cout << "\tShaderDemoteToHelperInvocationFeatures:\n";
|
||||
std::cout << "\t\tshaderDemoteToHelperInvocation : "
|
||||
<< static_cast<bool>( shaderDemoteToHelperInvocationFeatures.shaderDemoteToHelperInvocation ) << "\n";
|
||||
<< !!shaderDemoteToHelperInvocationFeatures.shaderDemoteToHelperInvocation << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -620,7 +629,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceShaderDrawParametersFeatures>();
|
||||
std::cout << "\tShaderDrawParametersFeature:\n";
|
||||
std::cout << "\t\tshaderDrawParameters : "
|
||||
<< static_cast<bool>( shaderDrawParametersFeature.shaderDrawParameters ) << "\n";
|
||||
<< !!shaderDrawParametersFeature.shaderDrawParameters << "\n";
|
||||
std::cout << "\n";
|
||||
|
||||
if ( vk::su::contains( extensionProperties, "VK_KHR_shader_float16_int8" ) )
|
||||
@@ -628,8 +637,8 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceShaderFloat16Int8FeaturesKHR const & shaderFloat16Int8Features =
|
||||
features2.get<vk::PhysicalDeviceShaderFloat16Int8FeaturesKHR>();
|
||||
std::cout << "\tShaderFloat16Int8Features:\n";
|
||||
std::cout << "\t\tshaderFloat16 : " << static_cast<bool>( shaderFloat16Int8Features.shaderFloat16 ) << "\n";
|
||||
std::cout << "\t\tshaderInt8 : " << static_cast<bool>( shaderFloat16Int8Features.shaderInt8 ) << "\n";
|
||||
std::cout << "\t\tshaderFloat16 : " << !!shaderFloat16Int8Features.shaderFloat16 << "\n";
|
||||
std::cout << "\t\tshaderInt8 : " << !!shaderFloat16Int8Features.shaderInt8 << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -638,7 +647,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceShaderImageFootprintFeaturesNV const & shaderImageFootprintFeatures =
|
||||
features2.get<vk::PhysicalDeviceShaderImageFootprintFeaturesNV>();
|
||||
std::cout << "\tShaderImageFootprintFeatures:\n";
|
||||
std::cout << "\t\timageFootprint : " << static_cast<bool>( shaderImageFootprintFeatures.imageFootprint )
|
||||
std::cout << "\t\timageFootprint : " << !!shaderImageFootprintFeatures.imageFootprint
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -649,7 +658,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceShaderIntegerFunctions2FeaturesINTEL>();
|
||||
std::cout << "\tShaderIntegerFunctions2Features:\n";
|
||||
std::cout << "\t\tshaderIntegerFunctions2 : "
|
||||
<< static_cast<bool>( shaderIntegerFunctions2Features.shaderIntegerFunctions2 ) << "\n";
|
||||
<< !!shaderIntegerFunctions2Features.shaderIntegerFunctions2 << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -658,7 +667,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceShaderSMBuiltinsFeaturesNV const & shaderSMBuiltinsFeatures =
|
||||
features2.get<vk::PhysicalDeviceShaderSMBuiltinsFeaturesNV>();
|
||||
std::cout << "\tShaderSMBuiltinsFeatures:\n";
|
||||
std::cout << "\t\tshaderSMBuiltins : " << static_cast<bool>( shaderSMBuiltinsFeatures.shaderSMBuiltins )
|
||||
std::cout << "\t\tshaderSMBuiltins : " << !!shaderSMBuiltinsFeatures.shaderSMBuiltins
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -669,7 +678,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR>();
|
||||
std::cout << "\tShaderSubgroupExtendedTypeFeatures:\n";
|
||||
std::cout << "\t\tshaderSubgroupExtendedTypes : "
|
||||
<< static_cast<bool>( shaderSubgroupExtendedTypesFeatures.shaderSubgroupExtendedTypes ) << "\n";
|
||||
<< !!shaderSubgroupExtendedTypesFeatures.shaderSubgroupExtendedTypes << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -679,9 +688,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceShadingRateImageFeaturesNV>();
|
||||
std::cout << "\tShadingRateImageFeatures:\n";
|
||||
std::cout << "\t\tshadingRateCoarseSampleOrder : "
|
||||
<< static_cast<bool>( shadingRateImageFeatures.shadingRateCoarseSampleOrder ) << "\n";
|
||||
<< !!shadingRateImageFeatures.shadingRateCoarseSampleOrder << "\n";
|
||||
std::cout << "\t\tshadingRateImage : "
|
||||
<< static_cast<bool>( shadingRateImageFeatures.shadingRateImage ) << "\n";
|
||||
<< !!shadingRateImageFeatures.shadingRateImage << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -691,9 +700,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceSubgroupSizeControlFeaturesEXT>();
|
||||
std::cout << "\tSubgroupSizeControlFeatures:\n";
|
||||
std::cout << "\t\tcomputeFullSubgroups : "
|
||||
<< static_cast<bool>( subgroupSizeControlFeatures.computeFullSubgroups ) << "\n";
|
||||
<< !!subgroupSizeControlFeatures.computeFullSubgroups << "\n";
|
||||
std::cout << "\t\tsubgroupSizeControl : "
|
||||
<< static_cast<bool>( subgroupSizeControlFeatures.subgroupSizeControl ) << "\n";
|
||||
<< !!subgroupSizeControlFeatures.subgroupSizeControl << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -703,7 +712,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceTexelBufferAlignmentFeaturesEXT>();
|
||||
std::cout << "\tTexelBufferAlignmentFeatures:\n";
|
||||
std::cout << "\t\ttexelBufferAlignment : "
|
||||
<< static_cast<bool>( texelBufferAlignmentFeatures.texelBufferAlignment ) << "\n";
|
||||
<< !!texelBufferAlignmentFeatures.texelBufferAlignment << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -713,7 +722,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT>();
|
||||
std::cout << "\tTextureCompressionASTCHHRFeatures:\n";
|
||||
std::cout << "\t\ttextureCompressionASTC_HDR : "
|
||||
<< static_cast<bool>( textureCompressionASTCHDRFeatures.textureCompressionASTC_HDR ) << "\n";
|
||||
<< !!textureCompressionASTCHDRFeatures.textureCompressionASTC_HDR << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -722,7 +731,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR const & timelineSemaphoreFeatures =
|
||||
features2.get<vk::PhysicalDeviceTimelineSemaphoreFeaturesKHR>();
|
||||
std::cout << "\tTimelineSemaphoreFeatures:\n";
|
||||
std::cout << "\t\ttimelineSemaphore :" << static_cast<bool>( timelineSemaphoreFeatures.timelineSemaphore )
|
||||
std::cout << "\t\ttimelineSemaphore :" << !!timelineSemaphoreFeatures.timelineSemaphore
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -732,8 +741,8 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceTransformFeedbackFeaturesEXT const & transformFeedbackFeatures =
|
||||
features2.get<vk::PhysicalDeviceTransformFeedbackFeaturesEXT>();
|
||||
std::cout << "\tTransformFeedbackFeatures:\n";
|
||||
std::cout << "\t\tgeometryStreams : " << static_cast<bool>( transformFeedbackFeatures.geometryStreams ) << "\n";
|
||||
std::cout << "\t\ttransformFeedback : " << static_cast<bool>( transformFeedbackFeatures.transformFeedback )
|
||||
std::cout << "\t\tgeometryStreams : " << !!transformFeedbackFeatures.geometryStreams << "\n";
|
||||
std::cout << "\t\ttransformFeedback : " << !!transformFeedbackFeatures.transformFeedback
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
@@ -744,7 +753,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceUniformBufferStandardLayoutFeaturesKHR>();
|
||||
std::cout << "\tUniformBufferStandardLayoutFeatures:\n";
|
||||
std::cout << "\t\tuniformBufferStandardLayout : "
|
||||
<< static_cast<bool>( uniformBufferStandardLayoutFeatures.uniformBufferStandardLayout ) << "\n";
|
||||
<< !!uniformBufferStandardLayoutFeatures.uniformBufferStandardLayout << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -754,9 +763,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceVariablePointersFeatures>();
|
||||
std::cout << "\tVariablePointersFeatures:\n";
|
||||
std::cout << "\t\tvariablePointers : "
|
||||
<< static_cast<bool>( variablePointersFeatures.variablePointers ) << "\n";
|
||||
<< !!variablePointersFeatures.variablePointers << "\n";
|
||||
std::cout << "\t\tvariablePointersStorageBuffer : "
|
||||
<< static_cast<bool>( variablePointersFeatures.variablePointersStorageBuffer ) << "\n";
|
||||
<< !!variablePointersFeatures.variablePointersStorageBuffer << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -766,9 +775,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceVertexAttributeDivisorFeaturesEXT>();
|
||||
std::cout << "\tVertexAttributeDivisorFeature:\n";
|
||||
std::cout << "\t\tvertexAttributeInstanceRateDivisor : "
|
||||
<< static_cast<bool>( vertexAttributeDivisorFeatures.vertexAttributeInstanceRateDivisor ) << "\n";
|
||||
<< !!vertexAttributeDivisorFeatures.vertexAttributeInstanceRateDivisor << "\n";
|
||||
std::cout << "\t\tvertexAttributeInstanceRateZeroDivisor : "
|
||||
<< static_cast<bool>( vertexAttributeDivisorFeatures.vertexAttributeInstanceRateZeroDivisor ) << "\n";
|
||||
<< !!vertexAttributeDivisorFeatures.vertexAttributeInstanceRateZeroDivisor << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -778,12 +787,12 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
features2.get<vk::PhysicalDeviceVulkanMemoryModelFeaturesKHR>();
|
||||
std::cout << "\tVulkanMemoryModelFeatures:\n";
|
||||
std::cout << "\t\tvulkanMemoryModel : "
|
||||
<< static_cast<bool>( vulkanMemoryModelFeatures.vulkanMemoryModel ) << "\n";
|
||||
<< !!vulkanMemoryModelFeatures.vulkanMemoryModel << "\n";
|
||||
std::cout << "\t\tvulkanMemoryModelAvailabilityVisibilityChains : "
|
||||
<< static_cast<bool>( vulkanMemoryModelFeatures.vulkanMemoryModelAvailabilityVisibilityChains )
|
||||
<< !!vulkanMemoryModelFeatures.vulkanMemoryModelAvailabilityVisibilityChains
|
||||
<< "\n";
|
||||
std::cout << "\t\tvulkanMemoryModelDeviceScope : "
|
||||
<< static_cast<bool>( vulkanMemoryModelFeatures.vulkanMemoryModelDeviceScope ) << "\n";
|
||||
<< !!vulkanMemoryModelFeatures.vulkanMemoryModelDeviceScope << "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
@@ -792,7 +801,7 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
vk::PhysicalDeviceYcbcrImageArraysFeaturesEXT const & ycbcrImageArraysFeatures =
|
||||
features2.get<vk::PhysicalDeviceYcbcrImageArraysFeaturesEXT>();
|
||||
std::cout << "\tYcbcrImageArraysFeatures:\n";
|
||||
std::cout << "\t\tycbcrImageArrays : " << static_cast<bool>( ycbcrImageArraysFeatures.ycbcrImageArrays )
|
||||
std::cout << "\t\tycbcrImageArrays : " << !!ycbcrImageArraysFeatures.ycbcrImageArrays
|
||||
<< "\n";
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user