menu
ProgramFormat
import { ProgramFormat } from "destack:compute";
Format for a compute program source.
1export enum ProgramFormat {2 Destack = 1,3 Wgsl = 2,4 SpirV = 3,5 Msl = 4,6 Hlsl = 5,7 Dxil = 6,8 Glsl = 7,9}Variants
Destack = 1TS++ compute function lowered by the toolchain.
Wgsl = 2WebGPU Shading Language source.
SpirV = 3SPIR-V binary.
Msl = 4Metal Shading Language source.
Hlsl = 5HLSL source.
Dxil = 6DXIL binary.
Glsl = 7GLSL source.