summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/brw_wm_pass1.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-06-30 17:05:11 -0700
committerEric Anholt <eric@anholt.net>2010-06-30 17:29:09 -0700
commite558786a3ed52222c07f916e213b63dcba1890a2 (patch)
treeffc2aa617596e9f63da7d403400b7f59560a6ed7 /src/mesa/drivers/dri/i965/brw_wm_pass1.c
parentd6ebe9b16b25f25ba763baf3738addc50676d5d0 (diff)
i965: Add support for OPCODE_SSG.
The old compiler didn't use SSG, and instead emitted SGT/SGT/SUB. We can do a little better for SSG than we do for the SGT series.
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 b449394029..8ee1f153b1 100644
--- a/src/mesa/drivers/dri/i965/brw_wm_pass1.c
+++ b/src/mesa/drivers/dri/i965/brw_wm_pass1.c
@@ -158,6 +158,7 @@ void brw_wm_pass1( struct brw_wm_compile *c )
case OPCODE_FLR:
case OPCODE_FRC:
case OPCODE_MOV:
+ case OPCODE_SSG:
case OPCODE_SWZ:
case OPCODE_TRUNC:
read0 = writemask;