diff options
author | Gurchetan Singh <[email protected]> | 2018-12-29 00:07:25 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-01-03 20:59:29 +0100 |
commit | ca66457b0516ef8af5ef17c54460ab8d9aefc5fa (patch) | |
tree | d44d518f38eeea061c459f4cc1149e565709efea /src/gallium/targets | |
parent | 393a756e6af69be8d7f5bcb64eeaad02a63c33c7 (diff) |
virgl: don't flush an empty range
Otherwise, the gl-1.0-long-dlist Piglit test crashes.
Fixes: db7757 ("virgl: modify how we handle GL_MAP_FLUSH_EXPLICIT_BIT")
Reported by airlied@
v2: Exit on any invalid range (Erik)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109190
Reviewed-by: Dave Airlie <[email protected]>
Reviewed-by: Erik Faye-Lund <[email protected]>
Tested-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/targets')
0 files changed, 0 insertions, 0 deletions