mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 03:09:18 +02:00
20 lines
369 B
HLSL
20 lines
369 B
HLSL
#ifndef DRAW_CONSTANTS_SHADOW_HLSLI
|
|
#define DRAW_CONSTANTS_SHADOW_HLSLI
|
|
|
|
struct VertexPushConstantsShadow {
|
|
float4x4 m_ModelViewProjection;
|
|
float m_AlphaThreshold;
|
|
};
|
|
|
|
#ifdef SPIRV
|
|
|
|
[[vk::push_constant]] ConstantBuffer<VertexPushConstantsShadow> g_DrawConstants;
|
|
|
|
#else
|
|
|
|
cbuffer g_Const : register(b1) { VertexPushConstantsShadow g_DrawConstants; }
|
|
|
|
#endif
|
|
|
|
#endif
|