diff options
author | Michel Dänzer <[email protected]> | 2007-10-03 20:33:23 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2007-10-03 20:33:23 +0200 |
commit | 344464bf2e4e151968cfb101c2477e440508b1f0 (patch) | |
tree | 18bddd332b0b1af67246c985e976ee937d2ae600 /src/mesa/pipe/p_state.h | |
parent | ce765a7fb77e12ff083a9068ec232a15bcf41f66 (diff) |
Track fragment and vertex shader code generation via pipe shader state objects.
Unfortunately, the generated fragment shader code is effectively unusable until
it handles quad->mask.
Diffstat (limited to 'src/mesa/pipe/p_state.h')
-rw-r--r-- | src/mesa/pipe/p_state.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/p_state.h b/src/mesa/pipe/p_state.h index b4fc01bfc5c..ac9d7009cc0 100644 --- a/src/mesa/pipe/p_state.h +++ b/src/mesa/pipe/p_state.h @@ -40,6 +40,8 @@ #include "p_compiler.h" +#include "x86/rtasm/x86sse.h" + /** * Implementation limits */ @@ -143,6 +145,9 @@ struct pipe_constant_buffer { struct pipe_shader_state { const struct tgsi_token *tokens; +#if defined(__i386__) || defined(__386__) + struct x86_function sse2_program; +#endif void *executable; /** These fields somewhat constitute the shader "signature" */ |