shairai / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

Buffer not properly resized in the D3D11 backend #897

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Create a buffer, load some data into it.
Increase the size of the buffer.
Upload more data to it using map/unmap.
Read back the data using map/unmap and check that it matches the original.
The data will not match.

Buffer11::getLatestBufferStorage() fails to resize the buffer hence ANGLE uses 
a D3D buffer which is too small for the content.

Original issue reported on code.google.com by Gregory....@imgtec.com on 27 Jan 2015 at 4:34

GoogleCodeExporter commented 9 years ago
https://chromium-review.googlesource.com/243152

Original comment by Gregory....@imgtec.com on 27 Jan 2015 at 4:42