diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-06-06 18:09:32 +0100 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-06-06 18:11:01 +0100 |
commit | 463a47bf59398e850d5a6537da1186d855bd2919 (patch) | |
tree | a61023074c8fb266a4753e93a99042d6db256797 /src/gallium/auxiliary/draw/draw_pt_vcache_tmp.h | |
parent | 0a84d327de8258104b98b176c0eaf0fb6712a982 (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.h | 2 |
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: |