Squashed commit of the following:
[mesa.git] / src / gallium / drivers / i965 / brw_vs_surface_state.c
index 177a5170d238904da2bfca3afdbf67ecb42647fa..424bb0d0dfb7e469157cc295c9b27b7fa92922da 100644 (file)
@@ -31,7 +31,6 @@
 
 #include "brw_context.h"
 #include "brw_state.h"
-#include "brw_defines.h"
 #include "brw_winsys.h"
 
 /* XXX: disabled true constant buffer functionality
@@ -83,7 +82,7 @@ brw_update_vs_constant_surface( struct brw_context *brw,
                                 GLuint surf)
 {
    struct brw_surface_key key;
-   struct pipe_buffer *cb = brw->curr.vs_constants;
+   struct pipe_resource *cb = brw->curr.vs_constants;
    enum pipe_error ret;
 
    assert(surf == 0);