Update convention for op handle.

This commit is contained in:
ed committed 2026-08-24 15:31:06 -04:00
1 parent ca16dae100
commit 0a281c571c
14 files changed
+841 -46

No files matched your search

@@ -0,0 +1,59 @@
---
title: "\"The road to 16-bit floats GPU is paved with our blood\""
type: archive
source: twitter
source_url: "https://x.com/rianflo/status/1597661267845865474"
author: "Florian Hoenig"
handle: rianflo
post_id: "1597661267845865474"
date: 2022-11-29
archived: 2026-08-24
draft: false
tags:
- archive
- twitter
- rianflo
description: "\"The road to 16-bit floats GPU is paved with our blood\""
in_reply_to: ""
---
## Source
- URL: https://x.com/rianflo/status/1597661267845865474
- Author: Florian Hoenig (@rianflo)
- Posted: 2022-11-29 18:38:24
## Thread
**1/**
"The road to 16-bit floats GPU is paved with our blood"
:-/
https://www.yosoygames.com.ar/wp/2022/01/the-road-to-16-bit-floats-gpu-is-paved-with-our-blood/
**2/**
@rianflo Explicit packed 16-bit works on AMD Vulkan Vega and up. I typically get up to 30% improvement on ALU bound stuff. Lots of occupancy wins. I don't use {HLSL, RenderDoc, Reflection, RADV, or VS/PS}. All constants are packed and aliased as UINT, so no coversion overheads.
**3/**
@NOTimothyLottes Oh I know the benefits. Just no simple clear way to write it in GLSL for vulkan.
**4/**
@rianflo Sure there is. CAS/FSR1/etc all shipped with fantastic GLSL versions using 16-bit packed math (I wrote those), all which at the time got fantastic code generation using AMD's drivers.
**5/**
@NOTimothyLottes What GLSL extension did you use?
**6/**
@NOTimothyLottes Oh wait, you're saying you wrote the fp16 math manually?
**7/**
@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.
+12
View File
@@ -0,0 +1,12 @@
---
title: rianflo
type: note
draft: false
description: Archived threads by rianflo.
tags:
- archive
- twitter
- rianflo
---
- [[archive/threads/rianflo/2022-11-29-the-road-to-16-bit-floats-gpu-is-paved-with-our]]