fixing opengl

This commit is contained in:
2025-04-08 16:53:23 +02:00
parent c1411bba5d
commit 221d1a82bf
7 changed files with 66 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ external
[set(1)]
external
{
[binding(0)] write_texture: texture2D[f32, rgba8],
[binding(0)] write_texture: texture2D[f32, writeonly, rgba8],
[binding(1)] write_ssbo: storage[SSBO, writeonly],
}

View File

@@ -12,10 +12,10 @@ struct SSBO
data: dyn_array[u32]
}
[set(0)]
[set(1)]
external
{
[binding(0)] write_texture: texture2D[f32, readwrite, rgba8],
[binding(0)] write_texture: texture2D[f32, writeonly, rgba8],
[binding(1)] write_ssbo: storage[SSBO],
}