Skip to content

Commit 489dd4d

Browse files
Update aub_stream interface
Signed-off-by: Bartosz Dunajski <[email protected]>
1 parent 3e19f39 commit 489dd4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

third_party/aub_stream/headers/allocation_params.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ struct AllocationParams {
1515
AllocationParams() = delete;
1616
AllocationParams(uint64_t gfxAddress, const void *memory, size_t size, uint32_t memoryBanks, int hint, size_t pageSize)
1717
: gfxAddress(gfxAddress), size(size), pageSize(pageSize), memoryBanks(memoryBanks), hint(hint), memory(memory) {
18+
additionalParams = {};
1819
}
1920
uint64_t gfxAddress = 0;
2021
size_t size = 0;
@@ -24,7 +25,9 @@ struct AllocationParams {
2425
const void *memory = nullptr;
2526

2627
struct AdditionalParams {
27-
bool compressionEnabled = false;
28+
bool compressionEnabled :1;
29+
bool uncached : 1;
30+
bool padding : 6;
2831
} additionalParams;
2932
};
3033

0 commit comments

Comments
 (0)