Files
UnrealEngineUWP/Engine/Source/Runtime/Renderer/Private/PostProcess/VisualizeShadingModels.cpp
jeannoe morissette 2c1265818e Fix all cases of single scalar in shader parameter arrays to respect 16 byte alignment for Vulkan.
Add static_assert to prevent the creation of new ones moving forward.
Used SHADER_PARAMETER_SCALAR_ARRAY/GET_SCALAR_ARRAY_ELEMENT for single parameters, or packed them with surrounding parameters when possible.

#rb Guillaume.Abadie,Daniel.Wright,Charles.deRousiers
#robomerge 5.0
#preflight 61577bf15631d900011d59a1

[CL 17707027 by jeannoe morissette in ue5-main branch]
2021-10-04 09:13:24 -04:00

4.1 KiB