--- title: "@rianflo Explicit packed 16-bit code." type: archive source: twitter source_url: "https://x.com/NOTimothyLottes/status/1597798161665253376" author: "NOTimothyLottes" handle: NOTimothyLottes post_id: "1597798161665253376" date: 2022-11-30 archived: 2026-08-23 draft: true tags: - archive - twitter - NOTimothyLottes description: "@rianflo Explicit packed 16-bit code." in_reply_to: "1597720454000541696" --- ## Source - URL: https://x.com/NOTimothyLottes/status/1597798161665253376 - Author: NOTimothyLottes (@NOTimothyLottes) - Posted: 2022-11-30 03:42:22 > @NOTimothyLottes Oh wait, you're saying you wrote the fp16 math manually? ## Thread **1/** @rianflo Explicit packed 16-bit code. FSR1 example: https://github.com/GPUOpen-Effects/FidelityFX-FSR/blob/master/ffx-fsr/ffx_fsr1.h - There are different 'F' (32-bit) and 'H' and 'Hx2' (packed 16-bit) functions.