summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-06-06 18:09:32 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-06-06 18:11:01 +0100
commit463a47bf59398e850d5a6537da1186d855bd2919 (patch)
treea61023074c8fb266a4753e93a99042d6db256797 /src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
parent0a84d327de8258104b98b176c0eaf0fb6712a982 (diff)
draw: fix intermediate buffer confusion in draw_vs_varient.c
The final output buffer can't be used to hold intermediate results as the intermediate vertex size may be greater than the final vertex size, and in any case the output buffer may be uncached in hw drivers.
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h b/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
index 5c99a47e49..ec05bbeab4 100644
--- a/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h
@@ -13,6 +13,8 @@ static void FUNC( struct draw_pt_front_end *frontend,
unsigned i;
ushort flags;
+ if (0) debug_printf("%s %d\n", __FUNCTION__, count);
+
switch (vcache->input_prim) {
case PIPE_PRIM_POINTS: