Enable SSE2 for FS.

This commit is contained in:
michal
2007-09-24 12:32:26 +01:00
parent c0afc92f00
commit c0dd02219d
6 changed files with 310 additions and 38 deletions

View File

@@ -49,10 +49,14 @@ struct st_fragment_program
GLboolean error; /* If program is malformed for any reason. */
GLuint id; /**< String id, for tracking ProgramStringNotify changes. */
/** The program in TGSI format */
struct tgsi_token tokens[ST_FP_MAX_TOKENS];
GLboolean dirty;
#if defined(USE_X86_ASM) || defined(SLANG_X86)
struct x86_function sse2_program;
#endif
/** Pointer to the corresponding cached shader */
const struct cso_fragment_shader *fs;