mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 15:09:19 +02:00
Some renaming
This commit is contained in:
19
betterRenderer/shaders/manul/draw_constants_shadow.hlsli
Normal file
19
betterRenderer/shaders/manul/draw_constants_shadow.hlsli
Normal file
@@ -0,0 +1,19 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user