From: Eric Anholt Date: Wed, 12 Aug 2009 19:54:43 +0000 (-0700) Subject: i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08687c8b402f42eda5e0061112382528836b0fe9;p=mesa.git i965: Correct brw_wm_nr_args for WM_DELTAXY and WM_PIXELXY. --- 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: