Binding same resource twice
Quick and short: if I bind a specific resource to a specific slot, then draw something, then bind the same resource to the same slot again, will D3D notice the resource is already bound and ignore the call or will it perform the same time-consuming operation again or is that defined by the implementation and I should not rely on that?
It might not waste *as much time* as the first call, depending on the driver... But it will definitely waste some time. It's recommended to structure your engine so that you can efficiently avoid redundant calls.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement