Module: Mesa
Branch: i965g-restart
Commit: c58e20fbbb87b8dbd0c58294d4ad3d297c3aa747
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=c58e20fbbb87b8dbd0c58294d4ad3d297c3aa747

Author: Keith Whitwell <[email protected]>
Date:   Thu Nov 19 18:47:07 2009 -0800

i965g: fix typo in previous commit

---

 src/gallium/drivers/i965/brw_sf.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/i965/brw_sf.c 
b/src/gallium/drivers/i965/brw_sf.c
index e75f447..6f4502d 100644
--- a/src/gallium/drivers/i965/brw_sf.c
+++ b/src/gallium/drivers/i965/brw_sf.c
@@ -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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to