gallivm: implement scatter stores into temp register file
[mesa.git] / src / gallium / auxiliary / pipebuffer / pb_bufmgr_mm.c
index f35b4ce0601d089459abf31764552b14b1ca2450..88da786216a738d8227d7b84823937016892a13b 100644 (file)
@@ -108,11 +108,14 @@ mm_buffer_destroy(struct pb_buffer *buf)
 
 static void *
 mm_buffer_map(struct pb_buffer *buf,
-              unsigned flags)
+              unsigned flags,
+              void *flush_ctx)
 {
    struct mm_buffer *mm_buf = mm_buffer(buf);
    struct mm_pb_manager *mm = mm_buf->mgr;
 
+   /* XXX: it will be necessary to remap here to propagate flush_ctx */
+
    return (unsigned char *) mm->map + mm_buf->block->ofs;
 }