[Mesa-dev] [PATCH] gallium: Document format name conventions

2013-06-05 Thread Adam Jackson
v2: - Fix a channel name thinko (Michel Dänzer) - Elaborate on SCALED versus INT - Add links to DirectX and FOURCC docs Signed-off-by: Adam Jackson --- src/gallium/docs/format.rst | 54 + 1 file changed, 54 insertions(+) create mode 100644 src/gallium

Re: [Mesa-dev] [PATCH] gallium: Document format name conventions

2013-06-04 Thread Marek Olšák
SSCALED/USCALED are integer which appear as float in shaders (e.g. as a floating-point vertex shader input). Every type except UINT/SINT appears as float in shaders and therefore can be used as a type of a non-integer (=floating-point) vertex shader input, non-integer sampler, and non-integer rende

Re: [Mesa-dev] [PATCH] gallium: Document format name conventions

2013-06-04 Thread Michel Dänzer
On Mon, 2013-06-03 at 12:14 -0400, Adam Jackson wrote: > > diff --git a/src/gallium/docs/format.rst b/src/gallium/docs/format.rst > new file mode 100644 > index 000..e6de569 > --- /dev/null > +++ b/src/gallium/docs/format.rst > @@ -0,0 +1,39 @@ > +Formats in gallium > +== > + >

[Mesa-dev] [PATCH] gallium: Document format name conventions

2013-06-03 Thread Adam Jackson
Other things to maybe add: - More detail on FOURCC formats, or at least a link - SSCALED/USCALED? Not sure what they're meant to be really Signed-off-by: Adam Jackson --- src/gallium/docs/format.rst | 39 +++ 1 file changed, 39 insertions(+) create mode 100