Add CMPH instruction to fragprog
authorJerome Glisse <glisse@freedesktop.org>
Wed, 1 Nov 2006 11:58:16 +0000 (11:58 +0000)
committerJerome Glisse <glisse@freedesktop.org>
Wed, 1 Nov 2006 11:58:16 +0000 (11:58 +0000)
commit3c6e99ce95bdee526f95ce8aaadd0c8923b83af0
treee5ba826a40e2b7d2eceec9f99bbc9f18e4524d5a
parentfd60b2d5368e3385c1ba70c6d5d122b10ff20646
Add CMPH instruction to fragprog

CMPH a0, a1, a2 -> if a2 > 0.5 return a1 else return a0
Guessed by examinating LIT instruction handling of FGLRX.
src/mesa/drivers/dri/r300/r300_reg.h