!B (Vulkan) fixes vulkan validation layer errors. Particle issue was caused because...
commit28c086becc468f30fa86f8df56a24e8db70ee329
authorMorteza Mostajab <seyedmorteza@crytek.com>
Wed, 5 Jun 2019 16:22:26 +0000 (5 18:22 +0200)
committerMorteza Mostajab <seyedmorteza@crytek.com>
Wed, 5 Jun 2019 16:22:26 +0000 (5 18:22 +0200)
tree94a7e75523e77481e17e2205122f085f96330362
parent49f317cae29a87cc3d3edcbf08e2428243f891dd
!B (Vulkan) fixes vulkan validation layer errors. Particle issue was caused because particle shadows rt flag was set but the resources were not in resource layout and were not bound. the other issue was SSkinExtraBlendWeights struct alignment issue. Since the struct was containing uint2 member, the alignment needed to be 8.

Copied from Perforce
 Change: 1981472
Code/CryEngine/RenderDll/Common/RendElements/CREParticle.cpp
Engine/Shaders/HWScripts/CryFX/ModificatorVT.cfi