Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-01 | util: Declare util_half_init_tables only once. | José Fonseca | |
2010-04-01 | util: Use u_math.h's union fi instead of redefining it. | José Fonseca | |
2010-04-01 | util: Add support for other DXTn RGBA formats. | José Fonseca | |
2010-04-01 | util: Get DXT1_RGB format working correctly. | José Fonseca | |
2010-04-01 | util: Add test case for PIPE_FORMAT_DXT1_RGB. | José Fonseca | |
2010-04-01 | util: Allow to have block format test cases | José Fonseca | |
2010-04-01 | util: Generate correct format conversions for half floats. | Michal Krol | |
2010-04-01 | util: Use u_half to perform half <--> float conversions. | Michal Krol | |
2010-04-01 | gallium: Integrate util_half with scons. | Michal Krol | |
2010-04-01 | gallium/util: add fast half float conversion functions | Luca Barbieri | |
This adds a fast half float conversion facility to Gallium. Mesa already contains such a facility, but using a much worse algorithm. This one is an implementation of www.fox-toolkit.org/ftp/fasthalffloatconversion.pdf and uses a branch-less algorithm with some lookup tables small enough to fit in the L1 cache. Ideally, Mesa should start using these functions too, but I'm not sure how to arrange that with the current build system. A new "u_gctors.cpp" is added that defines a global C++ constructor allowing to initialize to conversion lookup tables at library init. | |||
2010-04-01 | util: Add half float test cases. | José Fonseca | |
2010-04-01 | util/format: fix big endian compilation by not trying to byteswap single bytes | Luca Barbieri | |
Conceivably, we could also have a dummy util_bswap8, but it seems better to not emit it in the first place. | |||
2010-03-31 | gallivm: convert floats to doubles | Zack Rusin | |
printf can't handle floats, convert them to doubles so that we can actually print floats. | |||
2010-03-31 | util: Hook into libtxc_dxtn.so (WIP). | José Fonseca | |
2010-03-31 | util: Make the accessors bidimensional again. | José Fonseca | |
Otherwise there's no way to unpack blocks with height >1 | |||
2010-03-31 | util: First stab at half-float conversion. | Michal Krol | |
2010-03-31 | util: Describe PIPE_FORMAT_NONE as PIPE_FORMAT_R8_USCALED. | José Fonseca | |
Avoids the need to special case PIPE_FORMAT_NONE so often. Conflicts: src/gallium/auxiliary/util/u_format_table.py | |||
2010-03-31 | util: Silence pointer to integer size mismatch errors. | José Fonseca | |
2010-03-31 | util: Add callback to fetch a single pixel. | José Fonseca | |
2010-03-31 | scons: Force to consider the util/u_format_pack.py for util/u_format_table.c. | José Fonseca | |
2010-03-31 | os: Temporarily use posix thread for embedded too. | Kurt Daverman | |
2010-03-31 | util: Remove the hand written u_tile.c functions for the ones that are code ↵ | José Fonseca | |
generated correctly. Not that the code generated are any better, but to quickly detect any regression in the code generated ones from now on. | |||
2010-03-31 | util: Use u_format_pack.py's code instead of u_format_access.py. | José Fonseca | |
2010-03-31 | Merge branch 'gallium-new-formats' | Roland Scheidegger | |
Conflicts: src/gallium/auxiliary/util/u_format.csv src/gallium/auxiliary/util/u_format_access.py src/gallium/auxiliary/util/u_format_pack.py | |||
2010-03-31 | util: Put the format pack/unpack functions in the description table. | José Fonseca | |
2010-03-31 | util: Make pack/unpack operate on spans. | José Fonseca | |
2010-03-31 | util: Make util_format_xxx_pack_xxx take pointer as arguments. | José Fonseca | |
2010-03-31 | util: Fix PIPE_FORMAT_B5G5R5X1_UNORM test case. | José Fonseca | |
2010-03-31 | util: Use VOID type for X channels in format descriptions. | José Fonseca | |
2010-03-31 | gallivm: Fix USCALED translation. Minor Cleanups. | José Fonseca | |
2010-03-31 | llvmpipe: Drop the aos format conversion. | José Fonseca | |
It's unused and incomplete. Still in git history if necessary in future. | |||
2010-03-31 | util: Generalize lp_format_is_rgba8 into util_format_is_rgba8_variant. | José Fonseca | |
2010-03-30 | gallivm: cleanup the code (found by coverity) | Zack Rusin | |
the condition can't be false, declerations are ok even if we don't emit any. | |||
2010-03-29 | gallivm: use constant size array, added assertion check | Brian Paul | |
2010-03-30 | gallium/util: use other layout instead of the old compressed | Roland Scheidegger | |
2010-03-30 | Merge branch 'master' into gallium-new-formats | Roland Scheidegger | |
Conflicts: src/gallium/auxiliary/util/u_format.csv | |||
2010-03-30 | gallium: adapt all code to the renamed depth/stencil formats | Roland Scheidegger | |
2010-03-30 | gallium: make the python scripts for format parsing not fail on new formats | Roland Scheidegger | |
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. | |||
2010-03-29 | gallivm: added lp_bld_printf() function | Chris Li | |
2010-03-29 | gallivm: make sure that the alloca's are the very first thing in the function | Zack Rusin | |
otherwise mem2reg can't put them in registers | |||
2010-03-29 | gallium: fix bogus depth/stencil format names (and channel descriptions) | Roland Scheidegger | |
only the depth part is normalized, stencil part isn't. | |||
2010-03-29 | gallium: add new texture formats | Roland Scheidegger | |
These are needed for DX10 and/or OGL3.3. This just adds the formats nothing handles them yet. PIPE_FORMAT_R1_UNORM can't be used currently as it requires special filter. Need to reclassify compressed formats at some point. | |||
2010-03-29 | util: Distinguish between the different compression formats. | José Fonseca | |
In particular, all current uses of util_format_is_compressed() actually mean s3tc. | |||
2010-03-28 | aux/tgsi: fix some minor glitches in string routines | Keith Whitwell | |
Not sure why we are open-coding these rather than using standard library functions. | |||
2010-03-28 | util: Update MSDN links. | José Fonseca | |
2010-03-26 | rtasm: Silence gnu_printf format warnings. | Vinson Lee | |
2010-03-25 | rtasm: Fix typos in comments. | Vinson Lee | |
2010-03-26 | draw: Add EMIT_4UB_BGRA format | Jakob Bornecrantz | |
Needed for i915g, also fixed swizzle in draw_vs_aos_io. | |||
2010-03-26 | draw: Use translate function instead of switch cases | Jakob Bornecrantz | |
2010-03-22 | cso: Remove unnecessary header. | Vinson Lee | |