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.
This commit is contained in:
Michel Dänzer
2007-10-03 20:33:23 +02:00
parent ce765a7fb7
commit 344464bf2e
10 changed files with 45 additions and 31 deletions

View File

@@ -61,10 +61,6 @@ struct st_fragment_program
/** The program in TGSI format */
struct tgsi_token tokens[ST_MAX_SHADER_TOKENS];
#if defined(__i386__) || defined(__386__)
struct x86_function sse2_program;
#endif
/** Pointer to the corresponding cached shader */
const struct cso_fragment_shader *fs;