summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-12-19 19:04:35 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-12-19 19:04:35 +0000
commit5ff69cfd68970ef67ecf3fc10f9abd31356e793f (patch)
tree40e17b3ce7322c42fa516cf7a4e3974083b3952a /src/mesa
parenta65f39f918f3a28c3c4e38036099d4ce97fcfac7 (diff)
965: handle BRW_CONSTANT_BUFFER data type
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/pipe/xlib/xm_winsys_aub.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/pipe/xlib/xm_winsys_aub.c b/src/mesa/pipe/xlib/xm_winsys_aub.c
index 2d276480cb..bedfcab40f 100644
--- a/src/mesa/pipe/xlib/xm_winsys_aub.c
+++ b/src/mesa/pipe/xlib/xm_winsys_aub.c
@@ -596,6 +596,14 @@ static void aub_i965_buffer_subdata_typed(struct brw_winsys *winsys,
aub_type = DW_SURFACE_STATE;
aub_sub_type = DWSS_BINDING_TABLE_STATE;
break;
+ case BRW_CONSTANT_BUFFER:
+ aub_type = DW_CONSTANT_URB_ENTRY;
+ aub_sub_type = 0;
+ break;
+
+ default:
+ assert(0);
+ break;
}
xmesa_buffer_subdata_aub( iws->pipe_winsys,