diff options
author | Brian Paul <brianp@vmware.com> | 2008-12-31 17:16:44 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2009-01-05 15:47:26 +0800 |
commit | b9921a9fb2bc937194eac7e80e31d30f81cb6bb1 (patch) | |
tree | e43fcd9d3f10016b97681832d064ba88773a9c0a /src | |
parent | 815f6664389fc51245cc1451225e1714d8daa7bf (diff) |
i965: added OPCODE_NRM3/4
(cherry picked from commit 32e03c4a2ff5ef07de892dcd26f6be3b82ab3ba1)
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 3 |
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 bad76793af..5b4ee20ecb 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; |