projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d76b3bb
)
tgsi: Begin documenting ARB_fragment_program instruction set operations.
author
Michal Krol
<michal@vmware.com>
Thu, 12 Mar 2009 10:30:33 +0000
(11:30 +0100)
committer
Michal Krol
<michal@vmware.com>
Thu, 12 Mar 2009 17:32:32 +0000
(18:32 +0100)
src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
b/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
index 43193ebb99386e17d6d082c46e419ac600790e9d..e2bdb78a3f7e7465b3a97d322966229c2b2bee1e 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
+++ b/
src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
@@
-584,3
+584,33
@@
TGSI Instruction Specification
Alias for CROSSPRODUCT.
+
+1.8 GL_ARB_fragment_program
+----------------------------
+
+
+1.8.1 CMP - Compare
+
+ dst.x = (src0.x < 0.0) ? src1.x : src2.x
+ dst.y = (src0.y < 0.0) ? src1.y : src2.y
+ dst.z = (src0.z < 0.0) ? src1.z : src2.z
+ dst.w = (src0.w < 0.0) ? src1.w : src2.w
+
+
+1.8.2 KIL - Conditional Discard
+
+ TBD
+
+
+1.8.3 SCS - Sine Cosine
+
+ dst.x = cos(src.x)
+ dst.y = sin(src.x)
+ dst.z = 0.0
+ dst.y = 1.0
+
+
+1.8.4 TXB - Texture Lookup With Bias
+
+ TBD
+