summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
AgeCommit message (Collapse)Author
2010-02-03identity: Remove unnecessary header.Vinson Lee
2010-02-03llvmpipe: Remove unnecessary header.Vinson Lee
2010-02-04gallium: fix more missing includes from various placesDave Airlie
nouveau/ dri st / vmware
2010-02-04nouveau: include stdio.h and u_inlines.h in all context files since embedded ↵Dave Airlie
changes fixes nouveau build for me. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-02-03Merge branch 'gallium-embedded'José Fonseca
2010-02-03gallium: clean up point sprite rasterizer stateRoland Scheidegger
Don't need sprite coord origin per coord. Also, don't need separate sprite enable bit - if all coords have it diabled, then there are no point sprites (technically, there's a distinction in pre-GL3, but it only differs in having more leniency in clamping to max size, something the state tracker would need to handle and the hardware won't bother anyway). Also, use packed field for the per-coord enables. All in all, should save 3 dwords in rasterizer state (from 10 down to 7).
2010-02-03trace: Include the appropriate header instead of defining prototypes.José Fonseca
Avoids header when the header was included before.
2010-02-03svga: fix TXD and TXL opcode translationKeith Whitwell
2010-02-03svga: deriv insns not valid in dynamic flow control eitherKeith Whitwell
2010-02-03svga: texture from lod zero inside dynamic branchingKeith Whitwell
Texture derivatives are potentially undefined inside dynamic branches, so hardwire lod zero in this case. Treating all if/endif and loop constructs as dynamic branches.
2010-02-03svga: better method for generating white fs color outputsKeith Whitwell
2010-02-02softpipe: remove unnecessary #includeBrian Paul
2010-02-02llvmpipe: fix (potentially) broken AA points, AA linesBrian Paul
This patch duplicates the softpipe fix seen in the preceeding commit.
2010-02-02softpipe: fix broken AA points, AA linesBrian Paul
This fixes a regression when the geometry shaders branch was merged to master with commit 89d8577fb3036547ef0b47498cc8dc5c77f886e0. progs/demos/pointblast and progs/redbook/anti work again.
2010-02-02r300g: Texture format cleanups, per docs.Corbin Simpson
texenv is perfect now.
2010-02-02gallium: Move deprecated pipe/internal/p_winsys_screen.h inside ↵José Fonseca
util/u_simple_screen.h
2010-02-02gallium: Move p_thread.h and p_atomic.h out of gallium interfaces.José Fonseca
Into os/os_thread.h and util/u_atomic.h respectively.
2010-02-02gallium: Make pipe_atomic a regular int32_t.José Fonseca
2010-02-02gallium: pipe/p_inlines.h -> util/u_inlines.hJosé Fonseca
2010-02-02r300compiler, r300 classic, r300g: Add support for MRTs in the frag shader.Corbin Simpson
This maybe breaks the vert compiler. Hopefully not.
2010-02-01r300g: Fix funky segfault.Corbin Simpson
2010-02-01r300g: Inline immediates where possible.Corbin Simpson
Oh look, more gears. Seems to work just fine though.
2010-02-01llvmpipe: Add missing includes.José Fonseca
2010-02-01i915: Add missing includes.José Fonseca
2010-01-31i965g: Add missing va_end.Vinson Lee
2010-01-31r300g: Fix memory leak on memory allocation failure.Vinson Lee
2010-02-01nv04: Update to new nouveau_class.hMarcin Kościelnicki
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01nv50/nv40/nv30: fix small memory leak of nouveau_resources on screen_destroyMarcin Slusarz
Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-02-01nv10, nv20: Fix build.Francisco Jerez
2010-01-30r300g: Silence uninitialized variable warning.Vinson Lee
2010-01-30i915: Set bit field of length 1 light_twoside to unsigned.Vinson Lee
2010-01-31Merge remote branch 'origin/master' into lp-binningJosé Fonseca
Conflicts: Makefile src/gallium/auxiliary/util/u_surface.c src/gallium/drivers/llvmpipe/lp_flush.c src/gallium/drivers/llvmpipe/lp_setup.c src/gallium/drivers/llvmpipe/lp_state_derived.c src/gallium/drivers/llvmpipe/lp_state_fs.c src/gallium/drivers/llvmpipe/lp_state_surface.c src/gallium/drivers/llvmpipe/lp_tex_cache.c src/gallium/drivers/llvmpipe/lp_texture.c src/gallium/drivers/llvmpipe/lp_tile_cache.c src/mesa/state_tracker/st_cb_condrender.c
2010-01-30Revert "r300g: Don't handle SHADOW_AMBIENT."Corbin Simpson
This reverts commit 627a45848faf9e6d19d386b9eb30d36bf18d0998. I was wrong. Who could have known? :3
2010-01-30r300g: Independent blend enables only work on r500.Corbin Simpson
2010-01-30r300g: Don't handle SHADOW_AMBIENT.Corbin Simpson
Bisected so that only this commit has to be reverted if I'm wrong. ...Pfft, like I'm ever wrong. :3
2010-01-30r300g: Fix comment on SHADOW_AMBIENT.Corbin Simpson
2010-01-30r300g: Dual-source blending isn't possible, period.Corbin Simpson
2010-01-30r300g: Add alpha render targets.Mathias Fröhlich
Signed-off-by: Corbin Simpson <MostAwesomeDude@gmail.com> Tested-by: Mathias Fröhlich <Mathias.Froehlich@gmx.net>
2010-01-29softpipe: support all TGSI fragment coord conventions (v4)Luca Barbieri
Changes in v4: - Rebase and modify for changes in previous patches Changes in v3: - Use positive caps instead of negative caps Changes in v2: - Now takes the fragment convention directly from the fragment shader Adds internal support for all fragment coord conventions to softpipe. This patch is not required for use with the current state trackers, but it allows softpipe to run any TGSI program and enhances performance.
2010-01-29tgsi: add caps for fragment coord conventions (v3)Luca Barbieri
Changes in v3: - Renumber caps to accomodate caps to add to master in the meantime - Document caps - Add unsupported caps to *_screen.c too Changes in v2: - Split for properties patch - Use positive caps instead of negative caps This adds 4 caps to indicate support of each of the fragment coord conventions. All drivers are also modifed to add the appropriate caps. Some drivers were incorrectly using non-Gallium-default conventions, and caps for them have them set so that they will behave correctly after the later state tracker patches. This drivers are softpipe/llvmpipe (uses integer rather than half integer) and pre-nv50 Nouveau (uses lower left rather than upper left). Other drivers might be broken. With this patchset, fixing them is only a matter of exposing the appropriate caps that match the behavior of the existing code. Drivers are encouraged to support all conventions themselves for better performance, and this feature is added to softpipe in a later patch.
2010-01-28svga: Remove unnecessary headers.Vinson Lee
2010-01-28softpipe: Remove unnecessary header.Vinson Lee
2010-01-28llvmpipe: Remove unnecessary header.Vinson Lee
2010-01-28r300g: Clean up blend masks, change caps.Corbin Simpson
progs/tests/drawbuffers should work, except I can't test it. GG new shader parser. GG.
2010-01-28Merge commit 'origin/perrtblend'Roland Scheidegger
Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
2010-01-28softpipe: Report some sane values for constant buffer CAP queries.Michal Krol
2010-01-28gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol
2010-01-28gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol
2010-01-28gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol
2010-01-28r300g: Fix bizarre half-flushes with immd mode.Corbin Simpson