protonscr

WaveMatrixElementFill fp8 emulation (fsr 4.0.3 rdna3)

vkd3dclosed
HansKristian-Work/vkd3d-proton#2759 · opened 2025-12-16 by andrew-ld · updated 2025-12-18 · 2 comments · github
Aandrew-ld 2025-12-16 github

Hi, I understand that proton theoretically no longer supports FP8 emulation, but I'm opening this issue for general awareness.

It seems that FSR 4.0.3 emits AmdExtD3DShaderIntrinsicsOpcode_WaveMatrixElementFill with FP8 data.
Currently, dxil-spirv doesn't appear to support FP8 emulation for this specific AGS opcode.

I was trying to create a POC for FP8 emulation, but it turns out that simply doing nothing works (I am literally ignoring the instruction).
I assume this is incorrect, but I'm sharing my 'stupid' patch anyway in case anyone is interested.

dxil-spirv.patch

Image
HHansKristian-Work maintainer 2025-12-17 github

Yes, I'm aware of this and know what to do, just need to do it.

Aandrew-ld 2025-12-18 github

@HansKristian-Work thanks 👍🏻

Nothing extracted yet.