summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary
AgeCommit message (Collapse)Author
2010-03-31util: 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-31util: Use u_format_pack.py's code instead of u_format_access.py.José Fonseca
2010-03-31Merge 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-31util: Put the format pack/unpack functions in the description table.José Fonseca
2010-03-31util: Make pack/unpack operate on spans.José Fonseca
2010-03-31util: Make util_format_xxx_pack_xxx take pointer as arguments.José Fonseca
2010-03-31util: Fix PIPE_FORMAT_B5G5R5X1_UNORM test case.José Fonseca
2010-03-31util: Use VOID type for X channels in format descriptions.José Fonseca
2010-03-31gallivm: Fix USCALED translation. Minor Cleanups.José Fonseca
2010-03-31llvmpipe: Drop the aos format conversion.José Fonseca
It's unused and incomplete. Still in git history if necessary in future.
2010-03-31util: Generalize lp_format_is_rgba8 into util_format_is_rgba8_variant.José Fonseca
2010-03-30gallivm: 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-29gallivm: use constant size array, added assertion checkBrian Paul
2010-03-30gallium/util: use other layout instead of the old compressedRoland Scheidegger
2010-03-30Merge branch 'master' into gallium-new-formatsRoland Scheidegger
Conflicts: src/gallium/auxiliary/util/u_format.csv
2010-03-30gallium: adapt all code to the renamed depth/stencil formatsRoland Scheidegger
2010-03-30gallium: make the python scripts for format parsing not fail on new formatsRoland 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-29gallivm: added lp_bld_printf() functionChris Li
2010-03-29gallivm: make sure that the alloca's are the very first thing in the functionZack Rusin
otherwise mem2reg can't put them in registers
2010-03-29gallium: fix bogus depth/stencil format names (and channel descriptions)Roland Scheidegger
only the depth part is normalized, stencil part isn't.
2010-03-29gallium: add new texture formatsRoland 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-29util: Distinguish between the different compression formats.José Fonseca
In particular, all current uses of util_format_is_compressed() actually mean s3tc.
2010-03-28aux/tgsi: fix some minor glitches in string routinesKeith Whitwell
Not sure why we are open-coding these rather than using standard library functions.
2010-03-28util: Update MSDN links.José Fonseca
2010-03-26rtasm: Silence gnu_printf format warnings.Vinson Lee
2010-03-25rtasm: Fix typos in comments.Vinson Lee
2010-03-26draw: Add EMIT_4UB_BGRA formatJakob Bornecrantz
Needed for i915g, also fixed swizzle in draw_vs_aos_io.
2010-03-26draw: Use translate function instead of switch casesJakob Bornecrantz
2010-03-22cso: Remove unnecessary header.Vinson Lee
2010-03-21Revert "gallium: add soft screen helper"George Sapountzis
This reverts commit f87a5f6499f51f651c2a9f2d4682875b22926905.
2010-03-21gallium: add soft screen helperGeorge Sapountzis
2010-03-21gallium: cached bufmgr add map busy checkDave Airlie
Suggested by Jose on the list, probably not perfect but will let me get past this for now, testing with a fenced bufmgr on top of this, was slower, Also this doesn't let you do the busy early exit optimisation either from what I can see. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-19gallivm: simplify and clean-up Z/stencil bit mask/shift codeBrian Paul
Refactor the code into two helper functions which compute the bit mask and shift terms for Z and stencil. Plus add a bunch of new comments to explain everything.
2010-03-19cso: remove cso_set/save/restore_sampler_texturesRoland Scheidegger
no longer used after all statetrackers have been converted.
2010-03-18gallivm: support PIPE_FORMAT_Z24S8_UNORM in depth/stencil codeBrian Paul
2010-03-18gallivm: fix broken INCR/DECR stencil modesBrian Paul
We were mistakenly using the wrong data type for stencil values before.
2010-03-18gallivm/llvmpipe: added lp_rast_shader_inputs::facing and pass throughBrian Paul
The triangle rasterizer sets this field to indicate front/back-facing. It gets passed into the generated fragment code as another parameter. Used now for stencil front/back selection but will also be used for fragment shaders in general (see TGSI_SEMANTIC_FACE). With this commit two-sided stenciling mostly works but there's still a bug or two...
2010-03-18Add format B5G5R5X1Alan Hourihane
2010-03-18gallivm/llvmpipe: simplify front/back stencil ref value handlingBrian Paul
Instead of passing an array, just pass two scalar values.
2010-03-18gallivm: checkpoint WIP two-sided stencil testBrian Paul
2010-03-17gallivm/llvmpipe: basic stencil testing worksBrian Paul
Most stencil demos look OK (modulo some unrelated rendering glitches). Only single-sided stencil test works at this point. There are probably some bugs to be found...
2010-03-17gallivm: added lp_build_andc()Brian Paul
2010-03-17gallivm/llvmpipe: more asst changes for stencil testingBrian Paul
2010-03-17gallivm/llmvpipe: pass stencil refs state into z/stencil build codeBrian Paul
2010-03-16gallium: add target-helpers/wrap_screen.c to C_SOURCESBrian Paul
Was commented out before.
2010-03-16gallium: change remaining util functions to use cso sampler viewsRoland Scheidegger
changes arguments of util_blit_pixels_tex and util_gen_mipmap to struct pipe_sampler_view * instead of struct pipe_texture *.
2010-03-16Merge commit 'origin/master' into gallium-sampler-viewKeith Whitwell
This branch already seems to have the nv50_tex.c fix. Conflicts: src/gallium/drivers/nv50/nv50_tex.c
2010-03-15gallivm: checkpoint: stencil test codeBrian Paul
2010-03-15gallivm/llvmpipe: rename some constant building functionsBrian Paul
2010-03-15gallivm: fix up some #includesBrian Paul