summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_winsys.h
diff options
context:
space:
mode:
authorLepton Wu <[email protected]>2018-07-16 18:56:32 -0700
committerDave Airlie <[email protected]>2018-07-17 14:56:25 +1000
commit04e278f79334c36f2afa315d3dcfcbec055a4d2a (patch)
treea28ef0fe775a6e9b8b0e6cd4333b3e050ff310de /src/gallium/drivers/virgl/virgl_winsys.h
parentb5db3aa6e8173600037b68e7ec4351bd2c1aade4 (diff)
virgl: Fix flush in virgl_encoder_inline_write.
The current code is buggy: if there are only 12 dwords left in cbuf, we emit a zero data length command which will be rejected by virglrenderer. Fix it by calling flush in this case. Cc: [email protected] Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_winsys.h')
0 files changed, 0 insertions, 0 deletions