mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
As we know that minimum value integer literals can cause problems for some compilers. (See #7437) Make the code which generates these functions call msl::Writer::put_literal() and hlsl::Writer::write_literal() respectively to output the minimum value integer literals instead of just writing them directly, ensuring we only have to handle this workaround in a single location (per backend).