summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_sq.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-08-19 14:43:44 +1000
committerDave Airlie <[email protected]>2010-08-19 15:36:55 +1000
commit88f5976484842671ecb2cefcfa91838a43032359 (patch)
treeaa8d125cbdcb608f5c2e9b9d4a7ab5e0420732a8 /src/gallium/drivers/r600/r600_sq.h
parent098064e8cb6950f60c51a44e280cb335f07920b1 (diff)
r600g: add sin/cos
This pretty much ports the code from r600c, however it doesn't always seem to work quite perfectly, but I can't find anything in this code that is wrong. I'm guessing either literal input or constants aren't working always.
Diffstat (limited to 'src/gallium/drivers/r600/r600_sq.h')
-rw-r--r--src/gallium/drivers/r600/r600_sq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_sq.h b/src/gallium/drivers/r600/r600_sq.h
index b0ad3d24bd5..da717783aab 100644
--- a/src/gallium/drivers/r600/r600_sq.h
+++ b/src/gallium/drivers/r600/r600_sq.h
@@ -598,5 +598,6 @@
#define SQ_ALU_SRC_1_INT 250
#define SQ_ALU_SRC_M_1_INT 251
#define SQ_ALU_SRC_0_5 252
+#define SQ_ALU_SRC_LITERAL 253
#endif