diff options
author | Michal Krol <[email protected]> | 2009-03-12 11:30:33 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-03-12 18:32:32 +0100 |
commit | 98399eeda06c4065900e2aec25f762e1e1b9e7dc (patch) | |
tree | a7226bd497b05b3eb564892cfb9bcbccf3f81a85 /src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt | |
parent | d76b3bb0a8f56d841cfea160ba0cc2494c17e44f (diff) |
tgsi: Begin documenting ARB_fragment_program instruction set operations.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt b/src/gallium/auxiliary/tgsi/tgsi-instruction-set.txt index 43193ebb993..e2bdb78a3f7 100644 --- 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 + |