fixing WebGPU unit tests

This commit is contained in:
2025-08-26 01:36:27 +02:00
parent 6ea0ef967f
commit 5340b532ff
7 changed files with 71 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
@group(0) @binding(0) var<storage, read> read_ssbo: array<u32>;
@group(0) @binding(1) var read_texture: texture_storage_2d<rgba8unorm, read>;
@group(1) @binding(0) var<storage, read_write> write_ssbo: array<u32>;
@group(1) @binding(1) var write_texture: texture_storage_2d<rgba8unorm, write>;
@group(0) @binding(0) var read_texture: texture_storage_2d<rgba8unorm, read>;
@group(0) @binding(1) var<storage, read> read_ssbo: array<u32>;
@group(1) @binding(0) var write_texture: texture_storage_2d<rgba8unorm, read_write>;
@group(1) @binding(1) var<storage, read_write> write_ssbo: array<u32>;
@compute @workgroup_size(16, 16, 1)
fn main(@builtin(global_invocation_id) grid: vec3<u32>)

View File

@@ -8,7 +8,6 @@ local nzsl_included = false
function nzsl(backend)
if not nzsl_included then
add_repositories("nazara-engine-repo https://github.com/NazaraEngine/xmake-repo")
add_requires("nzsl", { configs = { shared = false, nzslc = true } })
if is_cross() then
add_requires("nzsl~host", { kind = "binary", host = true })