wined3d: Fix GLSL cnd instruction
hverbeet at gmail.com
Thu Apr 5 01:55:42 CDT 2007
On 05/04/07, Fabian Bieler <der.fabe at gmx.net> wrote:
> According to MSDN the cnd instruction should translate:
> dst = src0 > 0.5 ? src1 : src2;
> This matches the ARB implementation in wined3d and fixes the borders in civ4.
> Note: On nvidia hardware this patch breaks the outro of Half-Life 2 with
> dxlevel 80 and GLSL due to a driver bug.
You should update the comment above the instruction as well then.
More information about the wine-patches