summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2008-12-31 17:16:44 -0700
committerBrian Paul <brianp@vmware.com>2009-01-01 14:05:30 -0700
commit32e03c4a2ff5ef07de892dcd26f6be3b82ab3ba1 (patch)
tree9c99c66d0bd2cdc5a08170b706a14bd96cf53edb /src
parente262da804014d57156346ff487904ce220974832 (diff)
i965: added OPCODE_NRM3/4
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
index bad76793af7..5b4ee20ecb5 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.c
+++ b/src/mesa/drivers/dri/i965/brw_wm.c
@@ -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;