Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


drawindexed: index buffer has not enough space!


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Sawiner   Members   -  Reputation: 108

Like
0Likes
Like

Posted 08 December 2012 - 02:30 AM

I'm working on a project of mine, using D3D11 C++, and from some reason I keep getting the warning that
an index buffer has not enough space.
I'm afraid the code is not as simple to debug, not as short and straight forward, so I would rather
not write it here.

I did however captured a frame using PIX, and uploaded it.
Notice if you go to the last draw frame, and to the 'Render' tab, you'll see
the warning.
The full warning is:
D3D11: WARNING: ID3D11DeviceContext::DrawIndexed: Index buffer has not enough space! [ EXECUTION WARNING #359: DEVICE_DRAW_INDEX_BUFFER_TOO_SMALL ]


You can look at the index buffer size, and the parameters to the DrawIndexed. Combining everything together,
the size of the buffer is big enough.

Also, everything is rendering fine. The only problem is the warning.

Note:
I know PIX is old, however the "new pix" is available in visual studio, but not in express edition. PIX however,
is still free. Which is why i'm using it.

The PIX File:
https://skydrive.live.com/redir?resid=D53CCD6B7847C67F!131&authkey=!AJZnMjFLeh9v7Pc

If anyone has any other place he would like me to upload the PIX file to, please say so.
Also, it would be nice if someone can at least comment and say he see the same thing as me - that is, he see the warning while also seeing buffer is big enough.

Sponsor:

#2 Sawiner   Members   -  Reputation: 108

Like
0Likes
Like

Posted 10 December 2012 - 01:31 AM

Not a single comment? nor a confirmation about my case? anythig? ...




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS