summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2009-07-27softpipe: move all depth/stencil/alpha pixel processing into one stageKeith Whitwell
2009-07-25softpipe: fix error in scissor state dependenciesKeith Whitwell
2009-07-25softpipe: cleanup framebuffer state routine slightlyKeith Whitwell
2009-07-24softpipe: move all color-combine code into sp_quad_blend.cKeith Whitwell
Consolidate the read-modify-write color combining code from the blend, colormask and output stages.
2009-07-24softpipe: fix typoKeith Whitwell
2009-07-24softpipe: example fastpaths in blendingKeith Whitwell
2009-07-24softpipe: actually pass >1 quad from triangle routineKeith Whitwell
First attempt
2009-07-24softpipe: expand quad pipeline to process >1 quad at a timeKeith Whitwell
This is part one -- we still only pass a single quad down, but the code can now cope with more. The quads must all be from the same tile.
2009-07-24softpipe: rip out old mulithread supportKeith Whitwell
2009-07-23softpipe: avoid flushing depth buffer cache on swapbuffersKeith Whitwell
There's no need to push out depth buffer contents on swapbuffers. Note that this change doesn't throw away depth buffer changes, it simply holds them in the cache over calls to swapbuffers. The hope is that swapbuffers will be followed by a clear() which means in that case we won't have to write the changes out.
2009-07-23softpipe: also shortcircuit non-texture tile lookupsKeith Whitwell
2009-07-22softpipe: shortcircuit repeated lookups of the same tileKeith Whitwell
The sp_tile_cache is often called repeatedly to look up the same tile. Add a cache (to the cache) of the single tile most recently retreived and make a quick inline check to see if this matches the subsequent request. Add a tile_address bitfield struct to make this check easier.
2009-07-22softpipe: remove unused vars in sp_setup.cKeith Whitwell
2009-07-22softpipe: use bitwise logic to setup quad masks in sp_setupKeith Whitwell
2009-07-22softpipe: simplify flush_spansKeith Whitwell
No loss of performance, but simpler code.
2009-07-22softpipe: make some small steps to flush texture cache less frequentlyKeith Whitwell
No performance gain yet, but the code is a bit cleaner.
2009-07-22softpipe: remove backwards dependency from tilecache to softpipeKeith Whitwell
The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie softpipe). Remove softpipe parameter to all the tilecache function calls, and also remove the need to keep a softpipe pointer in the sampler structs.
2009-07-22gallium: simplify tgsi_full_immediate structKeith Whitwell
Remove the need to have a pointer in this struct by just including the immediate data inline. Having a pointer in the struct introduces complications like needing to alloc/free the data pointed to, uncertainty about who owns the data, etc. There doesn't seem to be a need for it, and it is unlikely to make much difference plus or minus to performance. Added some asserts as we now will trip up on immediates with more than four elements. There were actually already quite a few such asserts, but the >4 case could be used in the future to specify indexable immediate ranges, such as lookup tables.
2009-07-20gallium/trace: Fix SCons build.Michel Dänzer
2009-07-20r300g: Guard R500 register writes by is_r500 check.Michel Dänzer
Flagged by the DRM command stream checker. This allows the driver to work on non-R500 cards.
2009-07-17Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile progs/glsl/multitex.c src/mesa/main/enums.c src/mesa/main/state.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-07-16tgsi: initial texturing support on sse pathKeith Whitwell
Most obvious problem is drawpixels comes out blocky, but this may be an existing issue of KIL on the sse path.
2009-07-16tgsi: reduce x86 reg usage in tgsi_sse generated programsKeith Whitwell
Pass the tgsi_exec_machine struct in directly and just hold a single pointer to this struct, rather than keeping one for each of its internal members.
2009-07-16gallium: proper constructor and destructor for tgsi_exec_machineKeith Whitwell
Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives.
2009-07-15softpipe: limit blend results to [0,1]Luca Barbieri
2009-07-14gallium: Define PIPE_CAP_BLEND_EQUATION_SEPARATE, remove extension from ↵Patrice Mandin
default extension list
2009-07-13r300g: Small compile warning fixes.Nicolai Hähnle
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-07-13r300g, radeon: Whitespace fixes.Nicolai Hähnle
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com>
2009-07-13r300g: Use align() instead of inline maths.Corbin Simpson
2009-07-08r300g: Remove VAP_CNTL_STATUS from invariant state.Corbin Simpson
Seriously.
2009-07-08r300g: Disable MSPOS registers for glisse's CS security checker.Corbin Simpson
These will come back in someday, when we can properly use them.
2009-07-08r300-gallium: Unify sampler and texture emit.Corbin Simpson
They have to cross into each other's registers.
2009-07-08r300-gallium: Mipmap setup.Corbin Simpson
(cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
2009-07-08r300g: Add endian fix to vertex fetcher setup.Corbin Simpson
As reported and initially tested by MrCooper.
2009-07-03Merge branch 'mesa_7_5_branch'Jakob Bornecrantz
Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
2009-07-02trace: Add drm api integrationJakob Bornecrantz
This is okay since drm_api.h doesn't have any external dependancies, one could make it only compile on platforms that support drm.
2009-07-01r300g: Fix recursive Draw flush.Corbin Simpson
Also just noticed that demos/copypix walks around the overlapping blit rules. Bad, bad Mesa. :3
2009-07-01r300g: Use floats for surface_copy texcoords, use correct src and dest.Corbin Simpson
This makes demos/copypix better-looking. Horizontal dimensions are right now.
2009-07-01nouveau: return some supported zeta formatsBen Skeggs
2009-07-01nouveau: deal with PIPE_CAP_TGSI_CONT_SUPPORTEDBen Skeggs
2009-07-01drm/st: Remove drm_api struct from driversJakob Bornecrantz
Remove the drm_api from the functions in the softpipe and i915simple drivers. Create wrapper functions in the backends instead.
2009-06-30gallium: remove the pipe_sampler_state::shadow_ambient fieldBrian Paul
This was only present for the sake of GL_ARB_shadow_ambient which we never implemented in Gallium. If we someday want GL_ARB_shadow_ambient we can implement it in the state tracker by adding a MAD after the relevant TEX instructions.
2009-07-01gallium: fix the front face semanticsZack Rusin
mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
2009-06-30identity: Create a drm_api wrapperJakob Bornecrantz
2009-06-30drm/st: Return drm_api struct from a functionJakob Bornecrantz
2009-06-29softpipe: use shadow_compare4() to compare texcoord to four texture samplesBrian Paul
2009-06-29softpipe: pass sampler state to shadow_compare()Brian Paul
2009-06-29nouveau: Expect right params to tex_transfer_destroy().Younes Manton
Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this.
2009-06-29nouveau: Turn off debug cannon.Younes Manton
2009-06-26cell: PIPE_CAP_TGSI_CONT_SUPPORTED queryBrian Paul