mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-14 20:15:37 +00:00
Added MSAA sample counts to caps trace. (#4073)
This commit is contained in:
@@ -1937,6 +1937,8 @@ namespace bgfx { namespace d3d12
|
||||
|
||||
if (0 != (support & BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA) )
|
||||
{
|
||||
support &= ~BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA;
|
||||
|
||||
for (uint32_t jj = 1; jj < BX_COUNTOF(s_checkMsaa); ++jj)
|
||||
{
|
||||
D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS msaaData =
|
||||
@@ -1954,11 +1956,6 @@ namespace bgfx { namespace d3d12
|
||||
support |= BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA_X2 << (jj - 1);
|
||||
}
|
||||
}
|
||||
|
||||
if (0 == (support & kCapsFormatTextureFramebufferMsaaMask) )
|
||||
{
|
||||
support &= ~BGFX_CAPS_FORMAT_TEXTURE_FRAMEBUFFER_MSAA;
|
||||
}
|
||||
}
|
||||
|
||||
if (0 != (support & BGFX_CAPS_FORMAT_TEXTURE_IMAGE_READ) )
|
||||
|
||||
Reference in New Issue
Block a user