From 1ab8f6e69615c4f39110cf9202ae4b52238c0bf2 Mon Sep 17 00:00:00 2001 From: michal Date: Sat, 27 Oct 2007 14:05:13 +0100 Subject: Enable SSE2 for fragment shaders. --- src/mesa/pipe/softpipe/sp_state.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/mesa/pipe/softpipe/sp_state.h') diff --git a/src/mesa/pipe/softpipe/sp_state.h b/src/mesa/pipe/softpipe/sp_state.h index 61532bcdeb..676ad06bfc 100644 --- a/src/mesa/pipe/softpipe/sp_state.h +++ b/src/mesa/pipe/softpipe/sp_state.h @@ -33,6 +33,17 @@ #include "pipe/p_state.h" +#include "x86/rtasm/x86sse.h" + +/** + * Softpipe fs state is derived from pipe_shader_state. + */ +struct sp_fragment_shader_state { + struct pipe_shader_state shader; +#if defined(__i386__) || defined(__386__) + struct x86_function sse2_program; +#endif +}; void * softpipe_create_alpha_test_state(struct pipe_context *, -- cgit v1.2.3