Constants
Structures
Functions
util
#weight
#variant
#
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(1)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
fn
variant
()
fn
variant
()
my_compute
#
@compute
Runs custom parallel code on the GPU, not limited to graphics
@workgroup_size(1)
Defines the size of a thread group. One to three numbers: width (x), height (y), and depth (z). Missing values default to 1
this declaration shares its name with the module
package::util(util.wesl): modules and declarations live in separate namespaces.gfx.weslimportspackage::utiland uses bothutil()andutil::dot2.