i965: added OPCODE_NRM3/4
authorBrian Paul <brianp@vmware.com>
Thu, 1 Jan 2009 00:16:44 +0000 (17:16 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Jan 2009 21:05:30 +0000 (14:05 -0700)
src/mesa/drivers/dri/i965/brw_wm.c

index bad7679..5b4ee20 100644 (file)
@@ -36,6 +36,7 @@
 #include "brw_state.h"
 
 
+/** Return number of src args for given instruction */
 GLuint brw_wm_nr_args( GLuint opcode )
 {
    switch (opcode) {
@@ -58,6 +59,8 @@ GLuint brw_wm_nr_args( GLuint opcode )
    case OPCODE_TXP:    
    case OPCODE_KIL:
    case OPCODE_LIT: 
+   case OPCODE_NRM3:
+   case OPCODE_NRM4:
    case WM_CINTERP: 
    case WM_WPOSXY: 
       return 1;