Improve GPU constant buffers structures definitions to properly align on new Clang
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include "Engine/Graphics/RenderTargetPool.h"
|
||||
#include "Engine/Graphics/RenderTask.h"
|
||||
|
||||
PACK_STRUCT(struct alignas(GPU_SHADER_DATA_ALIGNMENT) Data {
|
||||
GPU_CB_STRUCT(Data {
|
||||
Float4 ColorSaturationShadows;
|
||||
Float4 ColorContrastShadows;
|
||||
Float4 ColorGammaShadows;
|
||||
|
||||
Reference in New Issue
Block a user