1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-23 17:52:10 +01:00
dxvk/src/d3d9/d3d9_caps.h
Joshie 54ed8f0bb0 [d3d9] Implement Direct3D9 Frontend (#1275)
Co-authored-by: Philip Rebohle <philip.rebohle@tu-dortmund.de>
Co-authored-by: Robin Kertels <robin.kertels@gmail.com>
Co-authored-by: pchome <pchome@users.noreply.github.com>
Co-authored-by: Christopher Egert <cme3000@gmail.com>
Co-authored-by: Derek Lesho <dereklesho52@Gmail.com>
Co-authored-by: Luis Cáceres <lacaceres97@gmail.com>
Co-authored-by: Nelson Chen <crazysim@gmail.com>
Co-authored-by: Edmondo Tommasina <edmondo.tommasina@gmail.com>
Co-authored-by: Riesi <riesi@opentrash.com>
Co-authored-by: gbMichelle <gbmichelle.dev@gmail.com>
2019-12-16 04:28:01 +01:00

32 lines
1.1 KiB
C++

#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;
}