Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualeppo

Posted 04 February 2013 - 01:40 PM

Mapping with WRITE_DISCARD invalidates the contents of the buffer, so you'll have to update the entire buffer as you do in the second method.
You're effectively given a new buffer, which avoids stalls when the GPU is still using the resource.

#1eppo

Posted 04 February 2013 - 01:34 PM

Mapping with WRITE_DISCARD invalidates the contents of the buffer, so you'll have to update the entire buffer.

You're effectively given a new buffer, which avoids stalls when the GPU is still using the resource.


PARTNERS