Jump to content
  • Advertisement
Sign in to follow this  
thedodgeruk

strange shader error i think ?

This topic is 2498 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!