From: Brian Paul Date: Thu, 1 Jan 2009 00:16:44 +0000 (-0700) Subject: i965: added OPCODE_NRM3/4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32e03c4a2ff5ef07de892dcd26f6be3b82ab3ba1;p=mesa.git i965: added OPCODE_NRM3/4 --- 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;