OSDN Git Service

fix frag vs vertex typo
authorkeithw <keithw@keithw-laptop.(none)>
Sat, 25 Aug 2007 21:01:03 +0000 (22:01 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Sat, 25 Aug 2007 21:01:32 +0000 (22:01 +0100)
src/mesa/state_tracker/st_atom_fs.c

index 767816b..d066547 100644 (file)
@@ -52,9 +52,9 @@ static void compile_fs( struct st_context *st )
    tgsi_mesa_compile_fp_program( &fp->Base, fp->tokens, ST_FP_MAX_TOKENS );
 
    fp->fs.inputs_read
-      = tgsi_mesa_translate_vertex_input_mask(fp->Base.Base.InputsRead);
+      = tgsi_mesa_translate_fragment_input_mask(fp->Base.Base.InputsRead);
    fp->fs.outputs_written
-      = tgsi_mesa_translate_vertex_output_mask(fp->Base.Base.OutputsWritten);
+      = tgsi_mesa_translate_fragment_output_mask(fp->Base.Base.OutputsWritten);
    fp->fs.tokens = &fp->tokens[0];
 
    if (TGSI_DEBUG)