Sign in to follow this  
gamelife

Order of triangles in one draw call

Recommended Posts

gamelife    204
Hi guys, a quick question -
When I submit a triangle list to the GPU using one draw call (e.g. DrawIndexedPrimitive), under today's GPU sophisticated internal optimizations, can I guarantee that the result is effectively the same as rendering each triangle in sequential order? This is concerned in some situations like alpha blending etc.

Share this post


Link to post
Share on other sites
DieterVW    724
I don't believe that the spec for any of the API's say that the polygons of a single draw call have to be rendered in order. This would likely hinder performance by preventing different types of async optimizations. My guess would be that you can't rely on this, though your experience may vary on different hardware.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this