summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i965/brw_resource.c
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2010-05-17 21:24:50 +0200
committerRoland Scheidegger <[email protected]>2010-05-17 21:24:50 +0200
commita02ddd48c5f7350366115ac07c15113402a79ee2 (patch)
tree425851965449d3e7404a1fdcaae4b928e3c8b833 /src/gallium/drivers/i965/brw_resource.c
parentbccf31bf5f2d6c9516a4c073d735b5056ff1d608 (diff)
i965g: adapt to interface changes
Diffstat (limited to 'src/gallium/drivers/i965/brw_resource.c')
-rw-r--r--src/gallium/drivers/i965/brw_resource.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_resource.c b/src/gallium/drivers/i965/brw_resource.c
index d601f42dd16..3b9854be588 100644
--- a/src/gallium/drivers/i965/brw_resource.c
+++ b/src/gallium/drivers/i965/brw_resource.c
@@ -1,4 +1,5 @@
#include "util/u_debug.h"
+#include "util/u_surface.h"
#include "brw_resource.h"
#include "brw_context.h"
@@ -37,6 +38,8 @@ brw_init_resource_functions(struct brw_context *brw )
brw->base.transfer_unmap = u_transfer_unmap_vtbl;
brw->base.transfer_destroy = u_transfer_destroy_vtbl;
brw->base.transfer_inline_write = u_transfer_inline_write_vtbl;
+ brw->base.resource_copy_region = util_resource_copy_region;
+ brw->base.resource_fill_region = util_resource_fill_region;
}
void