1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-08 10:46:09 +01:00
dxvk/src/d3d9/d3d9_caps.h

32 lines
1.1 KiB
C
Raw Normal View History

#pragma once
#include "d3d9_include.h"
namespace dxvk::caps {
constexpr uint32_t MaxClipPlanes = 6;
constexpr uint32_t MaxSamplers = 16;
constexpr uint32_t MaxStreams = 16;
constexpr uint32_t MaxSimultaneousTextures = 8;
constexpr uint32_t MaxTextureBlendStages = MaxSimultaneousTextures;
constexpr uint32_t MaxSimultaneousRenderTargets = D3D_MAX_SIMULTANEOUS_RENDERTARGETS;
constexpr uint32_t MaxFloatConstantsVS = 256;
constexpr uint32_t MaxFloatConstantsPS = 224;
constexpr uint32_t MaxOtherConstants = 16;
constexpr uint32_t MaxFloatConstantsSoftware = 8192;
constexpr uint32_t MaxOtherConstantsSoftware = 2048;
constexpr uint32_t InputRegisterCount = 16;
constexpr uint32_t MaxTextureDimension = 16384;
constexpr uint32_t MaxMipLevels = 15;
constexpr uint32_t MaxSubresources = 15 * 6;
constexpr uint32_t MaxTransforms = 10 + 256;
constexpr uint32_t TextureStageCount = MaxSimultaneousTextures;
constexpr uint32_t MaxEnabledLights = 8;
}