From: Eric Anholt Date: Wed, 1 Sep 2010 17:41:36 +0000 (-0700) Subject: i965: DP2 produces a scalar result like DP3, DP4, etc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd5ef33e3c2ac7886ca71344e41201d0be2062c0;p=mesa.git i965: DP2 produces a scalar result like DP3, DP4, etc. Fixes glsl-fs-dot-vec2-2. --- diff --git a/src/mesa/drivers/dri/i965/brw_wm.c b/src/mesa/drivers/dri/i965/brw_wm.c index 899e9b1dfb5..d70be7bda28 100644 --- a/src/mesa/drivers/dri/i965/brw_wm.c +++ b/src/mesa/drivers/dri/i965/brw_wm.c @@ -68,6 +68,7 @@ GLuint brw_wm_is_scalar_result( GLuint opcode ) case OPCODE_RCP: case OPCODE_RSQ: case OPCODE_SIN: + case OPCODE_DP2: case OPCODE_DP3: case OPCODE_DP4: case OPCODE_DPH: