This commit is contained in:
2025-03-04 17:42:10 +01:00
parent 211700b955
commit 8fd62b365b
16 changed files with 173 additions and 46 deletions

View File

@@ -14,12 +14,12 @@ struct SSBO
external
{
[set(1), binding(0)] ssbo: storage[SSBO],
//[set(1), binding(0)] ssbo: storage[SSBO],
}
[entry(compute)]
[workgroup(32, 32, 1)]
[workgroup(16, 16, 1)]
fn main(input: Input)
{
ssbo.data[input.indices.x * input.indices.y] = i32(input.indices.x * input.indices.y);
//ssbo.data[input.indices.x * input.indices.y] = i32(input.indices.x * input.indices.y);
}