From 0c70101b74db61f883fdd7907a4975ffff735044 Mon Sep 17 00:00:00 2001 From: Julian Sikorski Date: Wed, 13 Nov 2019 04:08:23 +0100 Subject: Sync bgfx, bx and bimg with upstream; fix the hlsl fs_chroma.sc matrix transposition properly (#5875) * Sync bgfx with upstream revision 280420d * Sync bx with upstream revision 267727d * Sync bimg with upstream revision c1bab10 * Use bgfx helper functions to ensure correct matrix orientation * Rebuild hlsl chain --- 3rdparty/bgfx/src/renderer_d3d12.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '3rdparty/bgfx/src/renderer_d3d12.cpp') diff --git a/3rdparty/bgfx/src/renderer_d3d12.cpp b/3rdparty/bgfx/src/renderer_d3d12.cpp index 64b43d0b9df..aadd4dc6af1 100644 --- a/3rdparty/bgfx/src/renderer_d3d12.cpp +++ b/3rdparty/bgfx/src/renderer_d3d12.cpp @@ -2557,8 +2557,8 @@ namespace bgfx { namespace d3d12 ? D3D12_FILL_MODE_WIREFRAME : D3D12_FILL_MODE_SOLID ; - _desc.CullMode = s_cullMode[cull]; - _desc.FrontCounterClockwise = false; + _desc.CullMode = s_cullMode[cull]; + _desc.FrontCounterClockwise = !!(_state&BGFX_STATE_FRONT_CCW);; _desc.DepthBias = 0; _desc.DepthBiasClamp = 0.0f; _desc.SlopeScaledDepthBias = 0.0f; -- cgit v1.2.3-70-g09d2