summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex_sse.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-05-18 15:26:48 +0000
committerKeith Whitwell <[email protected]>2005-05-18 15:26:48 +0000
commit2b2bd08589099cb480b983835b01cc76a766a3c4 (patch)
treef60f4e5dda9060ceeb6cd9bace28d73250db1921 /src/mesa/tnl/t_vertex_sse.c
parentdc7fc173966e314f89502473044933a099c838ae (diff)
Remove old t_vertex.c codegen infrastructure, tie in new code.
Currently disabled, can enable with MESA_EXPERIMENTAL=t.
Diffstat (limited to 'src/mesa/tnl/t_vertex_sse.c')
-rw-r--r--src/mesa/tnl/t_vertex_sse.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_vertex_sse.c b/src/mesa/tnl/t_vertex_sse.c
index 33ae622a264..d6c1f08280d 100644
--- a/src/mesa/tnl/t_vertex_sse.c
+++ b/src/mesa/tnl/t_vertex_sse.c
@@ -603,10 +603,8 @@ static void emit_load3f_3( struct x86_program *p,
struct x86_reg dest,
struct x86_reg arg0 )
{
- /* Over-reads by 1 dword - potential SEGV... Deal with in
- * array_cache by treating size-3 arrays specially, copying to
- * temporary storage if last element (how can you tell?) falls on a
- * 4k boundary.
+ /* Over-reads by 1 dword - potential SEGV if input is a vertex
+ * array.
*/
if (p->inputs_safe) {
emit_movups(p, dest, arg0);
@@ -1003,6 +1001,9 @@ void _tnl_generate_sse_emit( GLcontext *ctx )
_mesa_printf("disassemble 0x%x 0x%x\n", p.store, p.csr);
}
else {
+ /* Note the failure:
+ */
+ _tnl_register_fastpath( vtx, GL_FALSE );
FREE(p.store);
}