{{/* A template file that can be used with tint-bench to time how long it takes | |
to emit 'Alpha' entry points. | |
Example usage: | |
./tools/run tint-bench --tmpl entry-points.tmpl ./out/active/tint --format hlsl | |
*/}} | |
{{ range $i := Iterate Alpha }} | |
@compute @workgroup_size(1) | |
fn ep_{{$i}}() { | |
let x = 123; | |
let y = x * 456; | |
} | |
{{ end }} |