summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i965/brw_urb.c
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2009-10-26 01:11:36 +0000
committerKeith Whitwell <keithw@vmware.com>2009-10-26 01:35:05 +0000
commit5a304995e09d8dbfd40a2dfab32eacb7e85798e3 (patch)
tree05d518939574519c466e3b34cfc2b1a1b8db2c3c /src/gallium/drivers/i965/brw_urb.c
parent09c231f84a20a306a173b60c82484ce1f9331edf (diff)
i965g: still working on compilation
Diffstat (limited to 'src/gallium/drivers/i965/brw_urb.c')
-rw-r--r--src/gallium/drivers/i965/brw_urb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/i965/brw_urb.c b/src/gallium/drivers/i965/brw_urb.c
index ff2466528d..57fd8f20b2 100644
--- a/src/gallium/drivers/i965/brw_urb.c
+++ b/src/gallium/drivers/i965/brw_urb.c
@@ -35,6 +35,7 @@
#include "brw_context.h"
#include "brw_state.h"
#include "brw_defines.h"
+#include "brw_debug.h"
#define VS 0
#define GS 1
@@ -111,7 +112,7 @@ static GLboolean check_urb_layout( struct brw_context *brw )
/* Most minimal update, forces re-emit of URB fence packet after GS
* unit turned on/off.
*/
-static void recalculate_urb_fence( struct brw_context *brw )
+static int recalculate_urb_fence( struct brw_context *brw )
{
GLuint csize = brw->curbe.total_size;
GLuint vsize = brw->vs.prog_data->urb_entry_size;
@@ -204,6 +205,8 @@ done:
brw->state.dirty.brw |= BRW_NEW_URB_FENCE;
}
+
+ return 0;
}