Workaround for outdated DEFINE_ENUM_FLAG_OPERATORS macro in ERA headers
This commit is contained in:
Коммит
96670580ac
|
@ -188,7 +188,7 @@ AlphaTestEffect::Impl::Impl(
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -437,7 +437,7 @@ BasicEffect::Impl::Impl(
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -249,7 +249,7 @@ BasicPostProcess::Impl::Impl(_In_ ID3D12Device* device, const RenderTargetState&
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_DENY_VERTEX_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -272,7 +272,7 @@ DebugEffect::Impl::Impl(
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -180,7 +180,7 @@ DualPostProcess::Impl::Impl(_In_ ID3D12Device* device, const RenderTargetState&
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_DENY_VERTEX_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -170,7 +170,7 @@ DualTextureEffect::Impl::Impl(
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -368,7 +368,7 @@ EnvironmentMapEffect::Impl::Impl(
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -447,7 +447,7 @@ void NormalMapEffect::Impl::Initialize(
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -371,7 +371,7 @@ void PBREffect::Impl::Initialize(
|
|||
|
||||
// Create root signature
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -229,7 +229,7 @@ namespace
|
|||
static ComPtr<ID3D12RootSignature> CreateGenMipsRootSignature(
|
||||
_In_ ID3D12Device* device)
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_DENY_VERTEX_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -203,7 +203,7 @@ SkinnedEffect::Impl::Impl(
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -338,7 +338,7 @@ void SpriteBatch::Impl::DeviceResources::CreateIndexBuffer(_In_ ID3D12Device* de
|
|||
|
||||
void SpriteBatch::Impl::DeviceResources::CreateRootSignatures(_In_ ID3D12Device* device)
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_ALLOW_INPUT_ASSEMBLER_INPUT_LAYOUT
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
|
@ -308,7 +308,7 @@ ToneMapPostProcess::Impl::Impl(_In_ ID3D12Device* device, const RenderTargetStat
|
|||
|
||||
// Create root signature.
|
||||
{
|
||||
constexpr D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
const D3D12_ROOT_SIGNATURE_FLAGS rootSignatureFlags =
|
||||
D3D12_ROOT_SIGNATURE_FLAG_DENY_VERTEX_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_DOMAIN_SHADER_ROOT_ACCESS
|
||||
| D3D12_ROOT_SIGNATURE_FLAG_DENY_GEOMETRY_SHADER_ROOT_ACCESS
|
||||
|
|
Загрузка…
Ссылка в новой задаче