https://bugs.winehq.org/show_bug.cgi?id=55448
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- Versions 32-35 of both d3dx9 and d3dcompiler treat "double" as a sort-of-alias for "float", in the same way that "half" is. It's a distinct type but is mapped to float in the final shader. The following shader compiles with _35 and returns 0.3:
float func(float x){return 0.1;} float func(half x){return 0.2;} float func(double x){return 0.3;}
float4 main(uniform double u) : sv_target { return func(u); }