From: keithw Date: Sat, 25 Aug 2007 21:01:03 +0000 (+0100) Subject: fix frag vs vertex typo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f8b5e3951cfa4d568f571a3073a78b81040f7fb;p=mesa.git fix frag vs vertex typo --- diff --git a/src/mesa/state_tracker/st_atom_fs.c b/src/mesa/state_tracker/st_atom_fs.c index 767816bf231..d0665476168 100644 --- a/src/mesa/state_tracker/st_atom_fs.c +++ b/src/mesa/state_tracker/st_atom_fs.c @@ -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)