For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface GPUCompilationInfo

The GPUCompilationInfo interface of the WebGPU API represents an array of GPUCompilationMessage objects generated by the GPU shader module compiler to help diagnose problems with shader code. Available only in secure contexts.

MDN Reference

interface GPUCompilationInfo {
    messages: readonly GPUCompilationMessage[];
}
Index
messages: readonly GPUCompilationMessage[]

The messages read-only property of the GPUCompilationInfo interface is an array of GPUCompilationMessage objects, each one containing the details of an individual shader compilation message. Messages can be informational, warnings, or errors.

MDN Reference

Was this helpful?