git.s-ol.nu forks/DiligentCore / 6817b7a
Fixed Windows 8.1 build issue and a couple of clang warnings assiduous 2 years ago
2 changed file(s) with 18 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4343 #include "DXCompiler.hpp"
4444 #include "HLSLUtils.hpp"
4545 #include "BasicMath.hpp"
46
47 #ifndef D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES
48 # define D3DCOMPILE_ENABLE_UNBOUNDED_DESCRIPTOR_TABLES (1 << 20)
49 #endif
4650
4751 namespace Diligent
4852 {
780780 UseReducedUAVCount = true;
781781 break;
782782 }
783
784 case RENDER_DEVICE_TYPE_D3D12:
785 case RENDER_DEVICE_TYPE_METAL:
786 break;
787
788 default:
789 UNEXPECTED("Unexpected device type");
783790 }
784791
785792 // Prepare buffers with reference values
981988 UseReducedUAVCount = true;
982989 break;
983990 }
991
992 case RENDER_DEVICE_TYPE_D3D12:
993 case RENDER_DEVICE_TYPE_METAL:
994 break;
995
996 default:
997 UNEXPECTED("Unexpected device type");
984998 }
985999
9861000 const Uint32 StaticTexArraySize = MaxStaticTexArraySize;