summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_wm.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2009-08-12 12:54:43 -0700
committerEric Anholt <[email protected]>2009-08-12 12:54:43 -0700
commit08687c8b402f42eda5e0061112382528836b0fe9 (patch)
tree5767163622a02e0fb4be4f3c6bfb5e1bf905260b /src/mesa/drivers/dri/i965/brw_wm.c
parent863ae3a527947e43136e20a784455738d3221bf3 (diff)
i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c
index ce8d0a4a639..2292de94c44 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.c
+++ b/src/mesa/drivers/dri/i965/brw_wm.c
@@ -41,13 +41,13 @@ GLuint brw_wm_nr_args( GLuint opcode )
{
switch (opcode) {
case WM_FRONTFACING:
- return 0;
case WM_PIXELXY:
+ return 0;
case WM_CINTERP:
case WM_WPOSXY:
+ case WM_DELTAXY:
return 1;
case WM_LINTERP:
- case WM_DELTAXY:
case WM_PIXELW:
return 2;
case WM_FB_WRITE: