Module: Mesa
Branch: master
Commit: 08687c8b402f42eda5e0061112382528836b0fe9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=08687c8b402f42eda5e0061112382528836b0fe9

Author: Eric Anholt <[email protected]>
Date:   Wed Aug 12 12:54:43 2009 -0700

i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY.

---

 src/mesa/drivers/dri/i965/brw_wm.c |    4 ++--
 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 ce8d0a4..2292de9 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:

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to