[Flint] adding compute resource layout lowering
Mirror Gitea refs to GitHub / mirror (push) Successful in 18s
Test / build_and_test (push) Successful in 2m12s
Build / build (push) Successful in 3m21s

This commit is contained in:
2026-08-14 20:41:31 +02:00
parent 8c934c7328
commit 04ff263b40
13 changed files with 484 additions and 64 deletions
+7 -2
View File
@@ -9,15 +9,20 @@ pub const LoadGlobalInvocationId = struct {
component: u8,
};
pub const BufferReference = union(enum) {
logical: ids.StorageBufferId,
binding_table: u8,
};
pub const LoadBuffer = struct {
destination: operand.Destination,
buffer: ids.StorageBufferId,
buffer: BufferReference,
byte_offset: operand.Source,
immediate_offset: u32 = 0,
};
pub const StoreBuffer = struct {
buffer: ids.StorageBufferId,
buffer: BufferReference,
byte_offset: operand.Source,
immediate_offset: u32 = 0,
source: operand.Source,