diff options
author | Eric Anholt <[email protected]> | 2010-09-01 10:41:36 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-09-01 10:45:05 -0700 |
commit | dd5ef33e3c2ac7886ca71344e41201d0be2062c0 (patch) | |
tree | 1705485c9ea3f50ff6c6f7b212f93d331b6341c9 /src/mesa/drivers/dri/i965 | |
parent | a35faa6a41eb8a240f8e6086853653e9a21e75bd (diff) |
i965: DP2 produces a scalar result like DP3, DP4, etc.
Fixes glsl-fs-dot-vec2-2.
Diffstat (limited to 'src/mesa/drivers/dri/i965')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm.c | 1 |
1 files changed, 1 insertions, 0 deletions
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: |