Commit Graph

13 Commits

Author SHA1 Message Date
Corbin Simpson
268cc5ff38 gallium-docs: Fix missing PIPE_CAPs.
Hmm, need to cross-ref those TGSI things. My work is never done... :3
2010-01-30 12:16:10 -08:00
Luca Barbieri
6c403750d6 tgsi: add caps for fragment coord conventions (v3)
Changes in v3:
- Renumber caps to accomodate caps to add to master in the meantime
- Document caps
- Add unsupported caps to *_screen.c too

Changes in v2:
- Split for properties patch
- Use positive caps instead of negative caps

This adds 4 caps to indicate support of each of the fragment coord
conventions.

All drivers are also modifed to add the appropriate caps.

Some drivers were incorrectly using non-Gallium-default conventions,
and caps for them have them set so that they will behave correctly
after the later state tracker patches.

This drivers are softpipe/llvmpipe (uses integer rather than half
integer) and pre-nv50 Nouveau (uses lower left rather than upper left).

Other drivers might be broken. With this patchset, fixing them is
only a matter of exposing the appropriate caps that match the behavior
of the existing code.

Drivers are encouraged to support all conventions themselves for better
performance, and this feature is added to softpipe in a later patch.
2010-01-29 14:13:14 +01:00
Corbin Simpson
2e481e9fad gallium-docs: Minor grammar, need to talk about dual-source blends. 2010-01-28 13:37:09 -08:00
Corbin Simpson
505a43aff2 gallium-docs: Clean up constantbuf info a bit.
Hmm, does this belong in context, next to set_constant_buffer? Maybe
a paragraph in shaders might be useful.
2010-01-28 12:35:12 -08:00
Corbin Simpson
a5f7c63fc0 gallium-docs: Add PIPE_CAP info. 2010-01-28 12:22:51 -08:00
Michal Krol
6522804cb3 docs: Implement constant buffer CAPs. 2010-01-28 14:08:16 +01:00
Corbin Simpson
f0a3f824ac gallium-docs: Moar buffer info.
Oh look, that one question about map_buffer_range is answered.
2010-01-28 03:05:46 -08:00
Corbin Simpson
2102ee204c gallium-docs: Start doc'ing screen buffers. 2010-01-28 03:05:46 -08:00
Corbin Simpson
09f69b1e5d docs: Clarify PIPE_TEXTURE_USAGE_DYNAMIC. 2010-01-18 18:06:55 -08:00
Corbin Simpson
2b4ad02321 docs: Fix terms and refs.
I fail at Sphinx-style ReST.
2010-01-18 16:40:39 -08:00
Corbin Simpson
9811ebf61f docs: PIPE_TEXTURE_USAGE info.
From IRC with Jakob.
2010-01-18 15:30:28 -08:00
Corbin Simpson
a524aab8ae Moar docs, mostly context. 2009-12-20 19:41:50 -08:00
Corbin Simpson
8283e200af Add screen and context to docs. 2009-12-20 15:28:00 -08:00