projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a35faa6
)
i965: DP2 produces a scalar result like DP3, DP4, etc.
author
Eric Anholt
<eric@anholt.net>
Wed, 1 Sep 2010 17:41:36 +0000
(10:41 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 1 Sep 2010 17:45:05 +0000
(10:45 -0700)
Fixes glsl-fs-dot-vec2-2.
src/mesa/drivers/dri/i965/brw_wm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm.c
b/src/mesa/drivers/dri/i965/brw_wm.c
index 899e9b1dfb592d552fe37147a0a9ab6ffacb9e5f..d70be7bda28557b4d5f5541c33dcd67a5aac8287 100644
(file)
--- 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: