Dave Airlie
c9c8a5ed02
gallium: add fragment shader property for color writes to all buffers. (v2)
...
For GL fragColor semantics we need to tell the pipe drivers that the fragment
shader color result is to be replicated to all bound color buffers, this
adds the basic TGSI + documentation.
v2: fix missing comma pointed out by Tilman on mesa-dev.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-24 07:19:57 +10:00
Brian Paul
2a77c3cc0b
tgsi: document texture opcodes
2010-12-14 12:45:36 -07:00
Dave Airlie
66a0d1e4b9
gallium/format: add support for X24S8 and S8X24 formats.
...
these formats are needed for hw that can sample and write stencil values.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-13 09:30:03 +10:00
Dave Airlie
4ecb2c105d
gallium/tgsi: add support for stencil writes.
...
this adds the capability + a stencil semantic id, + tgsi scan support.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-10-13 09:30:02 +10:00
Tilman Sauerbeck
1bcdc504d1
gallium/docs: The RET opcode may appear anywhere in a subroutine.
...
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-21 21:59:57 +02:00
Tilman Sauerbeck
d323118c3e
gallium/docs: Fixed a typo in the SCS opcode description.
...
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-19 22:13:42 +02:00
Brian Paul
05a18f48e5
gallium/docs: updated remaining semantic label docs
2010-06-24 07:50:29 -06:00
Brian Paul
7315300fa5
gallium/docs: document TGSI_SEMANTIC_EDGEFLAG
2010-06-23 17:38:58 -06:00
Brian Paul
50b3f2e789
gallium/docs: fix definitions of TGSI_SEMANTIC_POSITION, COLOR
2010-06-23 17:00:23 -06:00
Corbin Simpson
f98c462770
gallium/docs: Explain DFRACEXP/DLDEXP.
2010-06-16 18:58:18 -07:00
Corbin Simpson
dbc95e8edc
gallium/docs: Remove unneeded "doubles", add double blurb.
2010-06-16 18:58:18 -07:00
Corbin Simpson
9d4cb6ea36
gallium/docs: Label opcodes by capability bits.
2010-06-16 18:58:18 -07:00
Corbin Simpson
92867dcc42
gallium/docs: R and RG texture swizzles.
...
We *did* reach an agreement on this a few months ago, and now the docs
reflect it. However, we never got around to UV and Z...
2010-06-16 18:58:18 -07:00
José Fonseca
d9c6ebb4fe
gallium/docs: Update FRAC -> FRC.
2010-06-01 16:39:03 +01:00
José Fonseca
84b5f59c97
gallium/docs: Drop BGNFOR, ENDFOR, REP, and ENDREP opcodes.
2010-04-27 21:51:45 +01:00
Roland Scheidegger
653a83445f
Merge branch 'gallium-nopointsizeminmax'
...
Conflicts:
src/gallium/drivers/nv10/nv10_state.c
src/gallium/drivers/nv20/nv20_state.c
src/gallium/drivers/nv50/nv50_program.c
2010-02-09 19:32:21 +01:00
Michal Krol
63d6097910
docs: Document TGSI Declaration token.
2010-02-09 15:29:52 +01:00
Roland Scheidegger
8091e73cc2
docs: clean up TGSI_SEMANTIC_PSIZE description
...
there was some confusion between point size state and point size output.
2010-02-03 18:27:32 +01:00
Corbin Simpson
797dcc04e5
gallium/docs: Opcode refs.
...
There is a very real possibility that I may be enjoying this too much.
2010-02-02 17:07:26 -08:00
Corbin Simpson
17c2a44761
gallium/docs: TGSI notes on replication to dst, and also cleanups.
...
Slowly, surely, I'm making this better.
2010-02-02 17:03:42 -08:00
Corbin Simpson
62ca7b85ae
gallium/docs: Start turning notes into docs.
...
Yeah, what's that? You can read it? It's got, hmm, *readability*? Nice,
ain't it. :3
2010-02-02 17:03:41 -08:00
Corbin Simpson
8580522b14
gallium/docs: Add opcode formatting.
2010-02-02 17:03:41 -08:00
Brian Paul
3e572eb25e
gallium/docs: default Z texture tuple is (z,z,z,1) for OpenGL
2010-02-02 16:27:07 -07:00
Brian Paul
3a3d8fb72e
gallium/docs: s/convensions/conventions/
2010-02-02 16:20:26 -07:00
Corbin Simpson
516e7159ae
gallium/docs: Did somebody call for a table?
2010-02-02 12:44:22 -08:00
Brian Paul
4778f46bb5
gallium/docs: table of texture formats and (x,y,z,w) tuples returned by TEX
...
Maybe someone can convert this into a real table instead of just
preformatted text.
2010-02-02 08:14:43 -07:00
Luca Barbieri
73317139a4
tgsi: add properties for fragment coord conventions (v3)
...
Changes in v3:
- Documented the new properties
- Added comments for property values
- Rebased to current master
Changes in v2:
- Caps are added in a separate, subsequent patch
This adds two TGSI fragment program properties that indicate the
fragment coord conventions.
The properties behave as described in the extension spec for
GL_ARB_fragment_coord_conventions, but the default origin in
upper left instead of lower left as in OpenGL.
The syntax is:
PROPERTY FS_COORD_ORIGIN [UPPER_LEFT|LOWER_LEFT]
PROPERTY FS_COORD_PIXEL_CENTER [HALF_INTEGER|INTEGER]
The names have been chosen for consistency with the GS properties
and the OpenGL extension spec.
The defaults are of course the previously assumed conventions:
UPPER_LEFT and HALF_INTEGER.
2010-01-29 14:13:14 +01:00
Igor Oliveira
db89bf4002
docs: add documentation to double opcodes
...
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-26 17:18:44 -07:00
Corbin Simpson
f90733c116
docs: Use proper XOR symbol.
2010-01-18 18:06:55 -08:00
Corbin Simpson
047719182f
docs: Spacing in TGSI formulae.
...
Some of those still look atrocious. :T
2010-01-18 17:31:56 -08:00
Michal Krol
86b336f71b
docs: Explain TGSI_SEMANTIC_NORMAL.
2010-01-04 13:38:58 +01:00
Michal Krol
8ab89d7681
docs: Fix indent.
2010-01-04 13:23:41 +01:00
Michal Krol
07f416cdc9
docs: Clarify what truncate means.
2010-01-04 13:21:32 +01:00
Michal Krol
cef218062a
docs: Replace bogus `\times' back with `*'.
2010-01-04 13:15:28 +01:00
Michal Krol
c929664fdf
docs: TGSI SIN and COS are scalar instructions.
2010-01-04 13:12:27 +01:00
Michal Krol
b3567fc983
docs: Clarify math description of TGSI LRP instruction operation.
2010-01-04 12:59:17 +01:00
Michal Krol
b6659681f2
docs: Correct TGSI acronym expansion.
2010-01-04 12:52:43 +01:00
Corbin Simpson
54ddf642df
docs: Add all semantics to TGSI doc, regen.
2009-12-23 23:36:06 -08:00
Corbin Simpson
5bcd26c172
docs: Re-adjust headers for TGSI, regenerate.
2009-12-21 21:04:10 -08:00
Corbin Simpson
da65ac6bba
docs: Moar cleanup.
...
Good enough for now!
2009-12-21 20:32:46 -08:00
Corbin Simpson
ecb2f2a230
docs: \times.
...
Yay for sed.
2009-12-21 20:07:10 -08:00
Corbin Simpson
14743ac0e3
docs: abs, lg2, ceil.
2009-12-21 20:01:42 -08:00
Corbin Simpson
dd801e5c02
docs: Pow, sqrt.
2009-12-21 19:41:09 -08:00
Corbin Simpson
d92a685bc3
docs: Clean floor, sine, cosine.
2009-12-21 19:30:29 -08:00
Corbin Simpson
e8ed3b9607
docs: Start mathifying TGSI insts.
2009-12-21 19:12:55 -08:00
Keith Whitwell
14eacb041b
docs: remove some old opcodes and other cruft from tgsi doc
2009-12-21 23:38:29 +00:00
Keith Whitwell
a62aaa7399
docs: pull in tgsi-instruction-set.txt verbatim
2009-12-21 23:25:15 +00:00
Corbin Simpson
c686e17e52
Add Gallium docs.
...
In Sphinx/ReST format.
2009-12-20 15:00:40 -08:00