diff options
author | michal <michal@michal-laptop.(none)> | 2007-10-27 14:05:13 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-10-27 19:01:12 +0100 |
commit | 1ab8f6e69615c4f39110cf9202ae4b52238c0bf2 (patch) | |
tree | 4ce628e31954573ce50e2b23d30995d80419b2b3 /src/mesa/pipe/softpipe/sp_state.h | |
parent | 31b4b261083e546998eba37178ac196049e4e501 (diff) |
Enable SSE2 for fragment shaders.
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_state.h')
-rw-r--r-- | src/mesa/pipe/softpipe/sp_state.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 *, |