Skip to content

Commit 43abdd5

Browse files
Added VertexIdInstancedId for Sfx.
1 parent d626dc0 commit 43abdd5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CrossPlatform/Shaders/common.sl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ struct idOnly
125125
{
126126
uint vertex_id : SV_VertexId;
127127
};
128+
struct VertexIdInstancedId
129+
{
130+
uint vertex_id : SV_VertexId;
131+
uint instance_id : SV_InstanceID;
132+
};
128133

129134
struct posVertexOutput
130135
{

0 commit comments

Comments
 (0)