Skip to content

Commit 1d54d67

Browse files
Shadows and Atmosphere: updated BasicStructures.fxh
1 parent 25c43a7 commit 1d54d67

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

Samples/Atmosphere/assets/shaders/BasicStructures.fxh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,7 @@ struct CameraAttribs
138138
matrix mViewProjInv;
139139
#endif
140140

141-
uint iFrameIndex;
142-
float fDummy0;
143-
float fDummy1;
144-
float fDummy2;
145-
146-
float4 f4ExtraData[4]; // Any appliation-specific data
141+
float4 f4ExtraData[5]; // Any appliation-specific data
147142
// Sizeof(CameraAttribs) == 256*2
148143
};
149144
#ifdef CHECK_STRUCT_ALIGNMENT

Samples/Shadows/assets/shaders/BasicStructures.fxh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,7 @@ struct CameraAttribs
138138
matrix mViewProjInv;
139139
#endif
140140

141-
uint iFrameIndex;
142-
float fDummy0;
143-
float fDummy1;
144-
float fDummy2;
145-
146-
float4 f4ExtraData[4]; // Any appliation-specific data
141+
float4 f4ExtraData[5]; // Any appliation-specific data
147142
// Sizeof(CameraAttribs) == 256*2
148143
};
149144
#ifdef CHECK_STRUCT_ALIGNMENT

0 commit comments

Comments
 (0)