Sign in to follow this  

Do subsequent cbuffer fills affect previous draw calls?!

Recommended Posts


I have a situation where when I am debugging with PIX:

-- i am drawing 4 meshes, each with different cbuffer values that i'm mapping inbetween

-- when i only draw the first mesh, it looks correct and the values in the cbuffer in PIX look right

-- when i enable drawing all 4 meshes in the loop, and go to that FIRST mesh's draw call, the cbuffer values are wrong as if they are getting values from cbuffer fills that happen AFTER that first draw call in time

how is this possible? Do I have to do anything during rendering or initialization to keep this from happening?


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