[Flint] centralize compute lowering, adding surface messages with GRF
Mirror Gitea refs to GitHub / mirror (push) Successful in 16s
Test / build_and_test (push) Successful in 2m11s
Build / build (push) Successful in 3m18s

allocation
This commit is contained in:
2026-08-27 21:18:05 +02:00
parent 148ed9b441
commit 441d5fbb96
12 changed files with 542 additions and 124 deletions
+16
View File
@@ -28,6 +28,20 @@ pub const StoreBuffer = struct {
source: operand.Source,
};
pub const SurfaceRead = struct {
destination: operand.Destination,
binding_table: u8,
address: operand.Source,
immediate_offset: u32 = 0,
};
pub const SurfaceWrite = struct {
binding_table: u8,
address: operand.Source,
immediate_offset: u32 = 0,
data: operand.Source,
};
pub const Move = struct {
destination: operand.Destination,
source: operand.Source,
@@ -70,6 +84,8 @@ pub const Operation = union(enum) {
load_global_invocation_id: LoadGlobalInvocationId,
load_buffer: LoadBuffer,
store_buffer: StoreBuffer,
surface_read: SurfaceRead,
surface_write: SurfaceWrite,
move: Move,
binary: Binary,
compare: Compare,