Skip to content

vkd3d-shader/fx: Fix condition when printing literal constant arguments.

To reproduce:

float4 v;

SamplerState s { BorderColor = 0.1 + v*0.2; };

Expression should use more than one literal constant, as a scalar in operation that involves a vector.

Signed-off-by: Nikolay Sivov nsivov@codeweavers.com

Merge request reports

Loading