You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Attempt to fix vulkan shader compilation
error: cannot instantiate StructuredBuffer with given packed alignment; 'VK_EXT_scalar_block_layout' not supported #rb Jamie.Hayes [CODEREVIEW] Ola.Olsson #rnx #preflight 63200f15b602881e8eaee462 [CL 21986761 by marc audy in ue5-main branch]
This commit is contained in:
@@ -36,6 +36,7 @@ struct FVSMCullingBatchInfo
|
||||
uint NumPrimaryViews;
|
||||
uint PrimitiveRevealedOffset;
|
||||
uint PrimitiveRevealedNum;
|
||||
uint2 padding; // avoid error: cannot instantiate StructuredBuffer with given packed alignment; 'VK_EXT_scalar_block_layout' not supported
|
||||
};
|
||||
|
||||
#if ENABLE_BATCH_MODE
|
||||
|
||||
@@ -1930,6 +1930,7 @@ struct FVSMCullingBatchInfo
|
||||
uint32 NumPrimaryViews;
|
||||
uint32 PrimitiveRevealedOffset;
|
||||
uint32 PrimitiveRevealedNum;
|
||||
uint32 padding[2]; // avoid error: cannot instantiate StructuredBuffer with given packed alignment; 'VK_EXT_scalar_block_layout' not supported
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user