11 lines
396 B
Lua
11 lines
396 B
Lua
if is_plat("wasm") then
|
|
return -- Compute shaders are not supported with WebGL (but are with WebGPU)
|
|
end
|
|
|
|
target("ComputeTest")
|
|
add_deps("NazaraRenderer")
|
|
add_files("main.cpp")
|
|
add_filegroups("shaders", {rootdir = "../../assets/shaders/compute"})
|
|
add_headerfiles("../../assets/shaders/compute/compute_edge_detection.nzsl")
|
|
add_headerfiles("../../assets/shaders/compute/compute_sepia.nzsl")
|