mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-20 06:21:13 +01: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).