Module: wine Branch: master Commit: 64926223504cf03b5872a8545154bb6b32ae6473 URL: http://source.winehq.org/git/wine.git/?a=commit;h=64926223504cf03b5872a85451...
Author: Stefan Dösinger stefan@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(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=64926223504cf03b5872a8...