Villacaleb / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

D3D9 DataStream throwing AccessViolationException #667

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I created a VolumeTexture with size 150x104x60, format A8R8G8B8, default 
pool, Usage.Dynamic, levelCount = 1. LockBox() returned row pitch = 1024, 
slice pitch = 131072 (width was increased to 256, height to 128 due to caps 
on pow2 extents). I used these values to write each row into the DataStream 
that was returned, and at some point AccessViolationException was thrown when 
calling Write(..). I then tried instead to create the VolumeTexture using the 
appropriate pow2 tex size (256x128x60) and had no problems when calling 
Write(). I'm using the Feb2010 release with an nVidia 260M.

-BenC

Original issue reported on code.google.com by benc...@gmail.com on 11 May 2010 at 3:37

GoogleCodeExporter commented 9 years ago
Could you possibly attach a small project demonstrating the issue?

Original comment by Mike.Popoloski on 29 May 2010 at 7:12

GoogleCodeExporter commented 9 years ago
I did some testing on this and I believe it's a NVIDIA driver bug. All the code 
looks right, and it runs fine on the reference device but crashes in hardware, 
even though the size of the DataStream matches what it should based on the 
texture's description.

Original comment by Mike.Popoloski on 30 Aug 2010 at 9:56