mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 15:00:30 +02:00
HLSL types an unsuffixed hex literal as uint, so asint(x) - 0x3F800000 went unsigned and wrapped for every x below 1. The huge t then turned into a NaN, and anything lit with specular or powered diffuse came out black on D3D11 (the flags in Everybody's Golf's language select, #22418). GLSL types it as int and was unaffected. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>