diff options
author | Erik Faye-Lund <[email protected]> | 2018-09-05 14:34:51 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-09-10 10:35:42 +0200 |
commit | c4017106bb8b5118b68e24d3f5b44c538033cfe3 (patch) | |
tree | 148dff16444d7d12f42c6ba6e213ce5652ffdb34 /include/KHR | |
parent | 80834640137228323b4c6d8e5909926e0b69bf70 (diff) |
virgl: do not map zero-sized resource
When creating textures, we avoid creating backing-store for all
multisampled textures, not just depth buffers.
So we can't try to map them later. That's just going to fail. So
let's take the blit-based code-path that seems to avoid this problem.
This make this piglit test-case no longer crash (although it still
fails):
bin/copyteximage 2D -samples=2 -auto
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'include/KHR')
0 files changed, 0 insertions, 0 deletions