set outputs_safe to 0 as it's possible for the code generation
authorAlan Hourihane <alanh@tungstengraphics.com>
Wed, 19 Mar 2008 00:18:07 +0000 (00:18 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Wed, 19 Mar 2008 00:18:37 +0000 (00:18 +0000)
to slip over the allocated memory for the vb.

src/mesa/tnl/t_vertex_sse.c
src/mesa/vf/vf_sse.c

index 5160a8c3aeed653a7b9064cdc6f7ae64d9d83b3d..a180441a5a67eb2c4e6f5e26305a68ad1f461da6 100644 (file)
@@ -639,7 +639,7 @@ void _tnl_generate_sse_emit( GLcontext *ctx )
 
    p.ctx = ctx;
    p.inputs_safe = 0;          /* for now */
-   p.outputs_safe = 1;         /* for now */
+   p.outputs_safe = 0;         /* for now */
    p.have_sse2 = cpu_has_xmm2;
    p.identity = x86_make_reg(file_XMM, 6);
    p.chan0 = x86_make_reg(file_XMM, 7);
index 3ce76e2b042b1874b5c03bee73a5c251418d528c..c3a2166578c619fe6cdb4b39b86603e501e5446a 100644 (file)
@@ -633,7 +633,7 @@ void vf_generate_sse_emit( struct vertex_fetch *vf )
 
    p.vf = vf;
    p.inputs_safe = 0;          /* for now */
-   p.outputs_safe = 1;         /* for now */
+   p.outputs_safe = 0;         /* for now */
    p.have_sse2 = cpu_has_xmm2;
    p.identity = x86_make_reg(file_XMM, 6);
    p.chan0 = x86_make_reg(file_XMM, 7);