projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e262da8
)
i965: added OPCODE_NRM3/4
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Jan 2009 00:16:44 +0000
(17:16 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Jan 2009 21:05:30 +0000
(14:05 -0700)
src/mesa/drivers/dri/i965/brw_wm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm.c
b/src/mesa/drivers/dri/i965/brw_wm.c
index bad76793af74ec163d3fe1bb76a01901bf10e81d..5b4ee20ecb5fe5cd3d4d5e87abe8402b3e033a5a 100644
(file)
--- 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;