Improve GPU constant buffers structures definitions to properly align on new Clang
This commit is contained in:
@@ -15,7 +15,7 @@ struct Item
|
||||
uint32 Value;
|
||||
};
|
||||
|
||||
PACK_STRUCT(struct alignas(GPU_SHADER_DATA_ALIGNMENT) Data {
|
||||
GPU_CB_STRUCT(Data {
|
||||
Item NullItem;
|
||||
uint32 CounterOffset;
|
||||
uint32 MaxIterations;
|
||||
|
||||
Reference in New Issue
Block a user