Skip to content

Commit 6252996

Browse files
committed
Add DILIGENT_MAX_INLINE_CONSTANTS_SIZE to Constants.h
1 parent fbbb566 commit 6252996

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Graphics/GraphicsEngine/interface/Constants.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ DILIGENT_BEGIN_NAMESPACE(Diligent)
6262
/// Bit shift for the the shading X-axis rate.
6363
#define DILIGENT_SHADING_RATE_X_SHIFT 2
6464

65+
/// Ineline constants data storage (max size is typically 128-256 bytes, use 256 for safety)
66+
#define DILIGENT_MAX_INLINE_CONSTANTS_SIZE 256
67+
6568
static DILIGENT_CONSTEXPR Uint32 MAX_BUFFER_SLOTS = DILIGENT_MAX_BUFFER_SLOTS;
6669
static DILIGENT_CONSTEXPR Uint32 MAX_RENDER_TARGETS = DILIGENT_MAX_RENDER_TARGETS;
6770
static DILIGENT_CONSTEXPR Uint32 MAX_VIEWPORTS = DILIGENT_MAX_VIEWPORTS;

0 commit comments

Comments
 (0)