vkd3d-shader/hlsl: Prefer conversions that don't narrow.
Given two arguments, half3 and float, and two functions, func(float, float) and func(float3, float3), fxc prefers to widen both arguments to float3, so when multiple arguments are being compared, not narrowing has preference over widening.
issue found on batman arkham asylum game, wrote a test that triggers the same failure as the shader in the game.
Edited by navi
Merge request reports
Activity
Please register or sign in to reply