Module: Mesa Branch: intel-2008-q4 Commit: b9921a9fb2bc937194eac7e80e31d30f81cb6bb1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9921a9fb2bc937194eac7e80e31d30f81cb6bb1
Author: Brian Paul <[email protected]> Date: Wed Dec 31 17:16:44 2008 -0700 i965: added OPCODE_NRM3/4 (cherry picked from commit 32e03c4a2ff5ef07de892dcd26f6be3b82ab3ba1) --- 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 bad7679..5b4ee20 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
