diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_upload.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_upload.c b/src/mesa/drivers/dri/i965/intel_upload.c index 53dff556873..e4297bf22b4 100644 --- a/src/mesa/drivers/dri/i965/intel_upload.c +++ b/src/mesa/drivers/dri/i965/intel_upload.c @@ -87,7 +87,9 @@ brw_upload_space(struct brw_uploader *upload, if (!upload->bo) { upload->bo = brw_bo_alloc(upload->bufmgr, "streamed data", MAX2(upload->default_size, size), 4096); - upload->map = brw_bo_map(NULL, upload->bo, MAP_READ | MAP_WRITE); + upload->map = brw_bo_map(NULL, upload->bo, + MAP_READ | MAP_WRITE | + MAP_PERSISTENT | MAP_ASYNC); } upload->next_offset = offset + size; |