Stefan Dösinger : wined3d: sincos for vertex shaders.
julliard at winehq.org
Wed May 27 09:26:53 CDT 2009
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Tue May 12 20:11:50 2009 +0200
wined3d: sincos for vertex shaders.
SCS is unfortunately a fragment program only instruction. If we have the NV
extensions we can use SIN and COS. Otherwise we have to approximate sine and
cosine with a taylor series. Luckily we're provided with the necessary
constants by the application.
dlls/d3d9/tests/visual.c | 77 ++++++++++++++++++++++++++++++
dlls/wined3d/arb_program_shader.c | 95 +++++++++++++++++++++++++++++++++++--
2 files changed, 167 insertions(+), 5 deletions(-)
More information about the wine-cvs