Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

DXGI_FORMAT_R16G16B16A16_FLOAT and multi sampling

$
0
0
MSDN says that FEATURE_LEVEL_10_1 devices are required to support 4x MSAA for all render targets except R32G32B32A32 and R32G32B32. FEATURE_LEVEL_11_0 devices are required to support 4x MSAA for all render target formats, and 8x MSAA for all render target formats except R32G32B32A32 formats. So why do I obtain a 0 result (i.e. the format and sample count combination is not supported for the installed adapter)? const HRESULT result = device->CheckMultisampleQualityLevels( DXGI_FORMAT_R16G16B16A16_FLOAT, texture_desc.SampleDesc.Count, &texture_desc.SampleDesc.Quality); ThrowIfFailed(result, "Texture 2D creation failed: %08X.", result); if (result == 0u) { // Why? } --texture_desc.SampleDesc.Quality;

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>