vkd3d-shader/hlsl: Do not generate infinities in SM1.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Giovanni Mascellani
2022-04-22 12:24:57 +02:00
committed by Alexandre Julliard
parent 6b893b597b
commit c680b674d6
2 changed files with 9 additions and 1 deletions

View File

@ -25,6 +25,7 @@ todo draw quad
probe all rgba (5.0, 5.0, -5.0, 3.0)
[require]
% Infinities are not allowed in SM1
shader model >= 4.0
[pixel shader]