i965g: fix typo in previous commit

This commit is contained in:
Keith Whitwell 2009-11-19 18:47:07 -08:00
parent 7e5cd3eb14
commit c58e20fbbb

View file

@ -129,7 +129,7 @@ static enum pipe_error upload_sf_prog(struct brw_context *brw)
* another one to account for the position input.
*/
/* PIPE_NEW_FRAGMENT_SHADER */
key.nr_attrs = brw->curr.vertex_shader->info.file_max[TGSI_FILE_INPUT] + 2;
key.nr_attrs = brw->curr.fragment_shader->info.file_max[TGSI_FILE_INPUT] + 2;
/* XXX: this is probably where the mapping between vertex shader