http://bugs.freedesktop.org/show_bug.cgi?id=10783





------- Comment #5 from [EMAIL PROTECTED]  2007-05-01 06:54 PST -------
If I were to follow the pattern of the other trigonometry functions in Mesa's
GLSL, I'd add OPCODE_ACOS/ASIN instructions and simply call acos/asin() in the
program interpreter.

I doubt, however, that any target GPUs will have native ACOS/ASIN instructions
so those Mesa instructions would have to be expanded into code to compute an
approximation.  That'll probably be needed for sin/cos as-is.

I believe Ian's code is meant to go into the GLSL acos/asin functions so that
it gets compiled into Mesa GPU instructions.  I'll give that a try.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to