Fix BGFX_STATE_FRONT_CCW flag being ignored in DX12 and VK (#2438)

This commit is contained in:
Christophe Dehais 2021-04-01 17:47:45 +02:00 committed by GitHub
parent 0b8677ed06
commit 2433b598e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -2851,6 +2851,7 @@ namespace bgfx { namespace d3d12
| BGFX_STATE_BLEND_INDEPENDENT
| BGFX_STATE_BLEND_ALPHA_TO_COVERAGE
| BGFX_STATE_CULL_MASK
| BGFX_STATE_FRONT_CCW
| BGFX_STATE_MSAA
| BGFX_STATE_LINEAA
| BGFX_STATE_CONSERVATIVE_RASTER

View File

@ -4088,6 +4088,7 @@ VK_IMPORT_DEVICE
| (g_caps.supported & BGFX_CAPS_BLEND_INDEPENDENT ? BGFX_STATE_BLEND_INDEPENDENT : 0)
| BGFX_STATE_BLEND_ALPHA_TO_COVERAGE
| BGFX_STATE_CULL_MASK
| BGFX_STATE_FRONT_CCW
| BGFX_STATE_MSAA
| (m_lineAASupport ? BGFX_STATE_LINEAA : 0)
| (g_caps.supported & BGFX_CAPS_CONSERVATIVE_RASTER ? BGFX_STATE_CONSERVATIVE_RASTER : 0)