Skip to main content

Module naga_sanitize

Module naga_sanitize 

Source
Expand description

Naga IR sanitizer for WebGL2 (GLSL ES 300) compatibility. Naga IR sanitizer for WebGL2 (GLSL ES 300) compatibility.

Structs§

SanitizedModule
Result of sanitizing a naga module for WebGL2.

Enums§

SanitizeError
Sanitization error categories.

Constants§

MAX_UNIFORM_BLOCK_SIZE
Maximum uniform block size for WebGL2 (16 KB — conservative mobile limit).

Functions§

sanitize
Sanitize a naga module for WebGL2 / GLSL ES 300 compatibility.