summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm_pass1.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-05-28 10:34:08 -0700
committerEric Anholt <eric@anholt.net>2009-06-02 06:21:54 -0700
commit0ab8e2622e932593f39e5a634808567322bd669b (patch)
tree28be61fb68a654a5a628f48c9b97674bb1f8673c /src/mesa/drivers/dri/i965/brw_wm_pass1.c
parent9f6ec50f8c79283583eeebdebd16bf7dcd134816 (diff)
i965: Support OPCODE_TRUNC in the brw_wm_fp.c code.
This gets two more glean glsl1 tests using the non-GLSL path.
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm_pass1.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm_pass1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_pass1.c b/src/mesa/drivers/dri/i965/brw_wm_pass1.c
index ab9aa2f10d..3436a24717 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_pass1.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_pass1.c
@@ -159,6 +159,7 @@ void brw_wm_pass1( struct brw_wm_compile *c )
case OPCODE_FRC:
case OPCODE_MOV:
case OPCODE_SWZ:
+ case OPCODE_TRUNC:
read0 = writemask;
break;