Bitwise operators and native integer support are only available in PS 4.0 (DX10 only).

Also, recall that pixel shaders do not have direct access to the destination pixels, so readback to a VRAM texture is still required (and even that can be slow, not as bad as VRAM->sysmem, but still slow).

Chris


[EMAIL PROTECTED] wrote:
Wouldn't it be possible to accalerate XOR with shaders?

Although bit-operations are not supported as far as I know, couldn't they be 
emulated with integer instructions? Should still be way faster than the current 
readback+upload approach.

lg Clemens
[Message sent by forum member 'linuxhippy' (linuxhippy)]

http://forums.java.net/jive/thread.jspa?messageID=268051

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to