diff options
author | Kenneth Graunke <[email protected]> | 2012-12-25 20:55:38 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-12-29 01:04:30 -0800 |
commit | 66ea6e8ec3f7ee44e0011b1dd563fef76ead8bc5 (patch) | |
tree | c99897276b7fc4acd5f5807aca2c68a6d1bf6df0 /src/mesa/drivers/dri/r200/Doxyfile | |
parent | 2f225f61451abd51c283c7ff103d7fd50a935034 (diff) |
i965: Fail to blit rather than assert on invalid pitch requirements.
Dungeon Defenders hits TexImage()'s try_pbo_upload() path where
image->Width == 2, which doesn't meet intelEmitCopyBlit's requirement
that the pitch needs to be a multiple of 4.
Since intelEmitCopyBlit can already fail for a myriad of other reasons,
and it's not clear that other callers are immune to this failure mode,
simply make it return false rather than assert.
Fixes Dungeon Defenders on i965/Ivybridge. Now playable (aside from
having to work around the EXT_bindable_uniform issue).
NOTE: This is probably a candidate for the 9.0 branch.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r200/Doxyfile')
0 files changed, 0 insertions, 0 deletions