strange shader error i think ?

Started by
0 comments, last by kauna 12 years, 8 months ago
im getting this error


D3D10: WARNING: ID3D10Device::DrawInstanced: Vertex Buffer at the input vertex slot 1 is not big enough for what the Draw*() call expects to traverse. This is OK, as reading off the end of the Buffer is defined to return 0. However the developer probably did not intend to make use of this behavior. [ EXECUTION WARNING #356: DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL ]


i am trying to impliment instancing in my engine.

i can not for the life of me figure out what is going on , can some one may point me in the right direction pleaase?
Advertisement

im getting this error


D3D10: WARNING: ID3D10Device::DrawInstanced: Vertex Buffer at the input vertex slot 1 is not big enough for what the Draw*() call expects to traverse. This is OK, as reading off the end of the Buffer is defined to return 0. However the developer probably did not intend to make use of this behavior. [ EXECUTION WARNING #356: DEVICE_DRAW_VERTEX_BUFFER_TOO_SMALL ]


i am trying to impliment instancing in my engine.

i can not for the life of me figure out what is going on , can some one may point me in the right direction pleaase?


Well, I think that D3D is reporting what seems to be the problem. Your vertex buffer at input slot 1 doesn't have enough data for the draw call.

Show some relevant part of the code and we'll discuss a bit more.

Good luck!

This topic is closed to new replies.

Advertisement