Improve GPU constant buffers structures definitions to properly align on new Clang
This commit is contained in:
@@ -125,7 +125,7 @@ PACK_STRUCT(struct Vertex {
|
||||
Color32 Color;
|
||||
});
|
||||
|
||||
PACK_STRUCT(struct alignas(GPU_SHADER_DATA_ALIGNMENT) Data {
|
||||
GPU_CB_STRUCT(Data {
|
||||
Matrix ViewProjection;
|
||||
Float2 Padding;
|
||||
float ClipPosZBias;
|
||||
|
||||
Reference in New Issue
Block a user