Jump to content

  • Log In with Google      Sign In   
  • Create Account


Yelmond

Member Since 10 Jul 2010
Offline Last Active Aug 27 2012 02:01 AM
-----

#4973677 Frame rate slow after device reset if vertex shader input struct exceeds 52 b...

Posted by Yelmond on 27 August 2012 - 12:16 AM

Out of interest, what kind of GPU and drivers are you using?


Card: GeForce GTX 480
Drivers: 301.42


#4973638 Frame rate slow after device reset if vertex shader input struct exceeds 52 b...

Posted by Yelmond on 26 August 2012 - 07:34 PM

I managed to "fix" the issue by reducing my max vertex buffer size. I noticed that the size of the input layout didn't really matter. It was more to do with the stride size (size of my CPU vertex struct).

But this is very much still magic for me as I don't understand how the maximum vertex buffer size is related to stride size. This also doesn't explain why I had still high frame rates before a device reset with the original vertex buffer sizes and only lost fps after the device reset. (I don't change vertex buffer sizes during device resets).

It's no longer a pressing issue but I'm curious as to what's going on here.


PARTNERS