mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-13 09:10:28 +01:00
set outputs_safe to 0 as it's possible for the code generation
to slip over the allocated memory for the vb.
This commit is contained in:
parent
6a8bbdba18
commit
ec890533c2
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue