Improve GPU constant buffers structures definitions to properly align on new Clang
This commit is contained in:
@@ -569,7 +569,7 @@ void DrawEmitterCPU(RenderContext& renderContext, ParticleBuffer* buffer, DrawCa
|
||||
|
||||
#if COMPILE_WITH_GPU_PARTICLES
|
||||
|
||||
PACK_STRUCT(struct alignas(GPU_SHADER_DATA_ALIGNMENT) GPUParticlesSortingData {
|
||||
GPU_CB_STRUCT(GPUParticlesSortingData {
|
||||
Float3 ViewPosition;
|
||||
uint32 ParticleCounterOffset;
|
||||
uint32 ParticleStride;
|
||||
|
||||
Reference in New Issue
Block a user