Do subsequent cbuffer fills affect previous draw calls?!,
Members - Reputation: 137
Posted 30 March 2012 - 02:45 AM
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?