summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_push2.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-01-02 22:39:50 +0100
committerChristoph Bumiller <[email protected]>2011-01-04 16:14:38 +0100
commitc024c1d75fdce72fe2de2d6b987b796fc9561115 (patch)
tree423b8ad31e96258e13375c0b81db3be6b39364cb /src/gallium/drivers/nvc0/nvc0_push2.c
parente1e29395df64b763e9de09eca1039a3c2ebcec54 (diff)
nvc0: fix resource unmap after vertex push
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_push2.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_push2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_push2.c b/src/gallium/drivers/nvc0/nvc0_push2.c
index 1f4ba256c17..6f51600558a 100644
--- a/src/gallium/drivers/nvc0/nvc0_push2.c
+++ b/src/gallium/drivers/nvc0/nvc0_push2.c
@@ -1,4 +1,6 @@
+#if 0 /* not used, kept for now to compare with util/translate */
+
#include "pipe/p_context.h"
#include "pipe/p_state.h"
#include "util/u_inlines.h"
@@ -327,3 +329,5 @@ nvc0_push_vbo2(struct nvc0_context *nvc0, const struct pipe_draw_info *info)
prim |= NVC0_3D_VERTEX_BEGIN_GL_INSTANCE_NEXT;
}
}
+
+#endif