History log of /external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4ca624f8e09bff1a4f681c54486e327605b8274d 30-Dec-2011 Dave Airlie <airlied@gmail.com> u_format: fix inv_swizzles generation

inv_swizzles is used in lp_tile_soa.py to create lp_tile_soa.c, we overwrite swizzles if they are already set.

This results in the i8 format getting alpha instead of red, and the l8 format
getting blue instead of red.

Fixes fbo-alphatest-formats, fbo-alphatest-formats ARB_texture_float,
and fbo-alphatest-formats EXT_texture_snorm on llvmpipe.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
a441feb757b1be4845ba378f0207dcdc5cc1a407 19-Sep-2011 Dave Airlie <airlied@redhat.com> gallium: add initial pure integer support (v2)

This add support for unsigned/signed integer types via adding a 'pure' bit
in the format description table. It adds 4 new u_format get/put hooks,
for get/put uint and get/put sint so that accessors can get native access
to the integer bits. This is used to avoid precision loss via float converting
paths.

It doesn't add any float fetchers for these types at the moment, GL doesn't
require float fetching from these types and I expect we'll introduce a lot
of hidden bugs if we start allowing such conversions without an API mandating
it.

It adds all formats from EXT_texture_integer and EXT_texture_rg.

0 regressions on llvmpipe here with this.

(there is some more follow on code in my gallium-int-work branch, bringing
softpipe and mesa to a pretty integer clean state)

v2: fixup python generator to get signed->unsigned and unsigned->signed
fetches working.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
82049b95950cf164932242f375fc0922b1865f5e 19-May-2010 Vinson Lee <vlee@vmware.com> util: Remove unnecessary semicolons in Python scripts.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
948ac631123d814f3223b7fd9a00aa60e3c8bdf0 08-Apr-2010 José Fonseca <jfonseca@vmware.com> util: is_array/mixed/etc is only meaningful for plain formats.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
2c06fa4682ec0dd8a9f9d15ace867a6b952fd2e8 07-Apr-2010 José Fonseca <jfonseca@vmware.com> util: Support fixed formats conversion.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
4e9690f00ca67e42e31367c50f9c216ad10ef553 30-Mar-2010 Roland Scheidegger <sroland@vmware.com> gallium: make the python scripts for format parsing not fail on new formats

they won't generate any useful conversion code for some of the new formats
but at least don't assert. Also needed some more hacks so they don't generate
code for some of the new formats, as gcc was not impressed.
Also declare unused channels as void, and change the scripts to not fail if
the first channel happened to be unused.
Needs serious fixing.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
f342ceca3852d5b9607d1f375be26de9304a11f6 06-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Fix the maximum value computation for SSCALED channels.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
cfde6c50ae6c3ce7912a3d1231c459d020d77f13 06-Mar-2010 José Fonseca <jfonseca@vmware.com> util: Add a new flag, for formats that can be described as a bitmask.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
4757325951e35460975e77d70dacf8b6eb10ab11 26-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Factor some code into u_format_parse.py
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
092010db3798f9a49ff9184bf238099af849e885 26-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Use python names consistent with u_format.h
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
e2b02ea9db1a01fd2c4e431edff237d9909863ef 26-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Add is_pot() method to formats.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
3e882e943c487945d598cbc6fae8fd570f28081d 26-Feb-2010 Vinson Lee <vlee@vmware.com> util: Remove import of unused sys module.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
816d23505abbcd789e7390c515178bc0df8e49c4 24-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Kill array vs arith layouts. Revamp UTIL_FORMAT_LAYOUT_xxx.

Too confusing. I now can get the same information through other means.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
943314f38f1224d4929b41acc9ef8fde81ef9dbe 24-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Factor out the code to shorten a format name.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
b57d80da7765b2f06ba37758c05819456c27d0b9 24-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Allow '#' comments in u_format.csv.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
5dce9b252b65102ed69956fdd47862d5cb1c4af1 23-Feb-2010 José Fonseca <jfonseca@vmware.com> util: Store more derived data in the the format description.
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py
3d305243938980af520c6d3e0ce02f4ee3a6126c 30-Aug-2009 José Fonseca <jfonseca@vmware.com> util: Auto generate pixel format accessor functions from

This has several advantages over the u_
- not hand written
- no intermediate memcpy of raw pixels
- supports 4 ubytes in addition to floats
- no need to pass a pipe_transfer

It also has (hopefully temporary) limitations:
- no support for YUV
- no support for SRGB
/external/mesa3d/src/gallium/auxiliary/util/u_format_parse.py