diff options
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_resource.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_resource.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_resource.h b/src/gallium/drivers/virgl/virgl_resource.h index c17c753a596..f9a652367c2 100644 --- a/src/gallium/drivers/virgl/virgl_resource.h +++ b/src/gallium/drivers/virgl/virgl_resource.h @@ -50,6 +50,9 @@ struct virgl_resource { uint16_t clean_mask; struct virgl_hw_res *hw_res; struct virgl_resource_metadata metadata; + + /* For PIPE_BUFFER only. Data outside of this range are uninitialized. */ + struct util_range valid_buffer_range; }; enum virgl_transfer_map_type { |