Skip to content

Commit e86fcdc

Browse files
committed
Add paddings to Uniforms of ParallelRendering app
1 parent 9095a31 commit e86fcdc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Apps/07-ParallelRendering/Shaders/ParallelRenderingUniforms.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ using uint = uint32_t;
1919
struct Uniforms
2020
{
2121
float4x4 mvp_matrix;
22-
int texture_index;
22+
uint texture_index;
23+
uint _padding1;
24+
uint _padding2;
25+
uint _padding3;
2326
};
2427

2528
#endif // PARALLEL_RENDERING_UNIFORMS_H

0 commit comments

Comments
 (0)