Module f16_polyfill

Source
Expand description

This module provides functionality for polyfilling f16 input/output variables when the StorageInputOutput16 capability is not available or disabled.

It works by:

  1. Declaring f16 I/O variables as f32 in SPIR-V
  2. Converting between f16 and f32 at runtime using OpFConvert
  3. Maintaining mappings to track which variables need conversion

Structsยง

F16IoPolyfill ๐Ÿ”’
Manages f16 I/O polyfill state and operations.