summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-03-06util: Use bitshift arithmetic to unpack pixels.José Fonseca
All test cases pass now.
2010-03-06util: Move the format tests cases here so that they can be easily shared.José Fonseca
2010-03-06util: Several fixes to clamping and test.José Fonseca
All tests pass here except util_format_b5g5r5a1_unorm_unpack_4ub, due to apparently a gcc 4.4.3 bug.
2010-03-06util: Fix the maximum value computation for SSCALED channels.José Fonseca
2010-03-06util: Add a new flag, for formats that can be described as a bitmask.José Fonseca
2010-03-06util: Add the shortened format name to the description.José Fonseca
2010-03-06gallivm: Add some notes about sampler static state construction.José Fonseca
Recover some logic to make state canonical, although it is admittedly very shy compared with what could be done. We really need an helper module to make state canonical.
2010-03-06gallivm: Answer question/comment.José Fonseca
This reverts commit 71c05689528d7987bfb99c3afe04e456887bc7b7.
2010-03-06gallivm: Add a placeholder for TGSI_FILE_PREDICATE registers.José Fonseca
2010-03-06gallivm: Integrate udis86 on scons builds.José Fonseca
2010-03-06gallivm: Generate valid IR for LLVM 2.7.José Fonseca
The signatures for pack intrinsics were made more consistent in this version.
2010-03-05gallivm: checkpoint: code gen for mipmap selectionBrian Paul
2010-03-05gallivm: added methods for getting texture depth, num mipmap levelsBrian Paul
2010-03-05gallivm: checkpoint: texture LOD computation code genBrian Paul
2010-03-05gallivm: added field for sampler lodBrian Paul
2010-03-05gallivm: minor arithmetic improvementsBrian Paul
2010-03-05gallivm: implement non-normalized texture wrap modesBrian Paul
Note that only the PIPE_TEX_WRAP_CLAMP,CLAMP_TO_EDGE,CLAMP_TO_BORDER modes work with non-normalized texcoords.
2010-03-04gallivm: implement texture border color, plus tweaks to some wrap modesBrian Paul
The progs/test/texwrap demo looks pretty good, but there are still some tiny differences from softpipe. There may be a sub-pixel texcoord interpolation error somewhere. There's some room for optimization. Many of the wrap modes compute intermediate values that are constant for the texture size (see the min/max values). These could be computed earlier and stored somewhere for later use.
2010-03-04gallivm: added texture border_color fieldBrian Paul
2010-03-04gallivm: added question/commentBrian Paul
2010-03-04gallivm: commentsBrian Paul
2010-03-04gallivm: rework and implement more texture wrap modesBrian Paul
All the texture wrap modes are now implemented for linear and nearest sampling. However, texture border color is not yet supported so some wrap modes will produce int coords outside the texture bounds. We'll get garbage values insted of the texture border color for now.
2010-03-04gallivm: added lp_build_fract()Brian Paul
2010-03-04gallivm: added lp_build_set_sign()Brian Paul
2010-03-04gallivm: added lp_build_negate()Brian Paul
2010-03-04gallivm: clarify unsigned vs. signed integer type constructionBrian Paul
The lp_int_type() function was creating an unsigned type. So rename that function to lp_uint_type() and create new lp_int_type() that creates a signed type.
2010-03-03util: Remove PIPE_FORMAT_R8G8B8X8_SNORM information.José Fonseca
2010-03-03gallivm: Centralize initialization. Fix stack alignment issues on Windows.José Fonseca
2010-03-03gallivm: Rename lp_bld_misc -> lp_bld_init.José Fonseca
2010-03-02Merge branch 'gallium-format-cleanup'José Fonseca
2010-03-02llvmpipe: improve based on review from Jose and fix else clausesZack Rusin
else was broken in the outter most else statemants, plus the code didn't need an inverted mask to compute the inverse of the current condition.
2010-03-02Merge branch 'gallium-no-rhw-position'Michal Krol
Conflicts: src/gallium/drivers/r300/r300_blit.c src/gallium/drivers/r300/r300_emit.c src/gallium/drivers/r300/r300_state_derived.c
2010-03-02util: Tweak comment for D3D10-like formats.José Fonseca
2010-03-02util/blitter: Fix the viewport transformation for Z coordinatesMarek Olšák
When clearing buffers, the depth is specified in the range [0, 1] and should be passed through blitter "as is".
2010-03-01llvmpipe: implement some control-flowZack Rusin
implements if/else/endif constructs and lays down the code for looping and others. we create a conditional execution mask which decides which of the four inputs are enabled for any store. it's used only if an execution mask is present, otherwise we go through a direct store.
2010-03-01translate: Rename pipe formats.José Fonseca
2010-03-01draw: Rename pipe formats.José Fonseca
2010-03-01util: Rename pipe formats.José Fonseca
2010-03-01util: Remove PIPE_FORMAT_A8B8G8R8_SNORM.José Fonseca
2010-03-01util: Generate linear<->sRGB conversion tables.Michal Krol
2010-03-01tgsi: Cleanup exec code for CLAMP, CMP and CND.Michal Krol
2010-03-01util: Fix PIPE_FORMAT_R8G8B8_SRGB swizzles.José Fonseca
The only user of PIPE_FORMAT_R8G8B8_SRGB is mesa, which per src/mesa/main/texstore.c interprets it as R8 G8 B8 and not the other way around.
2010-03-01util: Use PIPE_FORMAT_R8G8B8A8_UNORM_REV where appropriate.José Fonseca
2010-03-01util: Fix PIPE_FORMAT_R8G8B8_UNORM description and notes.José Fonseca
There is actually no ambiguity in use -- it is always used as R8 G8 B8
2010-03-01util: Fix u_blitter setup code after bypass_vs_clip_and_viewport removal.Michal Krol
Not tested.
2010-03-01util: Remove inexisting formats.José Fonseca
Can't find these formats used in any state tracker or any API. For some of these probably the reverse notation was meant, for which formats already exist.
2010-03-01util: A few more links for D3D formats.José Fonseca
2010-03-01util: A few more todo marks.José Fonseca
2010-03-01util: More documentation for u_format.csvJosé Fonseca
2010-03-01util: Tweak comments regarding R8G8B8A8/X8_UNORM.José Fonseca