projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb60d2
)
tgsi: Document KIL, KILP instructions.
author
Michal Krol
<michal@vmware.com>
Sat, 21 Mar 2009 11:18:09 +0000
(12:18 +0100)
committer
Michal Krol
<michal@vmware.com>
Sat, 21 Mar 2009 11:26:15 +0000
(12:26 +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 b83abd409338851c8e31341c9c6453ab094acbc5..5b21a2be0bd7feb3e5f2da10bd363de8fbda3434 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
+++ b/
src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt
@@
-382,7
+382,9
@@
TGSI Instruction Specification
1.5.7 KILP - Predicated Discard
- TBD
+ if (cc.x || cc.y || cc.z || cc.w)
+ discard
+ endif
1.5.8 LG2 - Logarithm Base 2
@@
-599,7
+601,9
@@
TGSI Instruction Specification
1.8.2 KIL - Conditional Discard
- TBD
+ if (src.x < 0.0 || src.y < 0.0 || src.z < 0.0 || src.w < 0.0)
+ discard
+ endif
1.8.3 SCS - Sine Cosine