summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* softpipe: support all TGSI fragment coord conventions (v4)Luca Barbieri2010-01-294-7/+20
| | | | | | | | | | | | | | | | 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.
* tgsi: add caps for fragment coord conventions (v3)Luca Barbieri2010-01-2913-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* svga: Remove unnecessary headers.Vinson Lee2010-01-282-2/+0
|
* softpipe: Remove unnecessary header.Vinson Lee2010-01-281-1/+0
|
* llvmpipe: Remove unnecessary header.Vinson Lee2010-01-281-1/+0
|
* r300g: Clean up blend masks, change caps.Corbin Simpson2010-01-283-13/+18
| | | | | progs/tests/drawbuffers should work, except I can't test it. GG new shader parser. GG.
* Merge commit 'origin/perrtblend'Roland Scheidegger2010-01-2828-253/+327
|\ | | | | | | | | | | Conflicts: src/gallium/drivers/softpipe/sp_screen.c src/gallium/include/pipe/p_defines.h
| * nv50: supports independent blend enablesChristoph Bumiller2010-01-262-17/+41
| |
| * gallium: add the new PIPE_CAP blend bits to more driversRoland Scheidegger2010-01-267-0/+28
| | | | | | | | some drivers will complain if they don't know the cap bit
| * r300g: Per-MRT blending is not supported.Corbin Simpson2010-01-261-0/+3
| |
| * softpipe: enable new blend functionalityRoland Scheidegger2010-01-252-18/+21
| | | | | | | | works with tests/drawbuffers2
| * trace: adapt to blend changesRoland Scheidegger2010-01-251-11/+21
| |
| * svga: adapt to blend changesRoland Scheidegger2010-01-251-9/+9
| |
| * softpipe: adapt to blend changesRoland Scheidegger2010-01-252-30/+31
| |
| * nouveau: adapt drviers to blend changesRoland Scheidegger2010-01-256-57/+57
| |
| * r300g: adapt to blend changesRoland Scheidegger2010-01-251-11/+11
| |
| * i965g: adapt to blend changesRoland Scheidegger2010-01-251-11/+11
| |
| * i915g: adapt to blend changesRoland Scheidegger2010-01-251-14/+14
| |
| * cell: adapt to blend changesRoland Scheidegger2010-01-252-34/+34
| |
| * llvmpipe: adapt to blend changesRoland Scheidegger2010-01-251-35/+37
| |
| * llvmpipe: adapt to per-rendertarget blend changesRoland Scheidegger2010-01-203-24/+27
| |
* | softpipe: Report some sane values for constant buffer CAP queries.Michal Krol2010-01-281-0/+4
| |
* | gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS.Michal Krol2010-01-285-9/+9
| |
* | gallium: Enable multiple constant buffers for vertex and geometry shaders.Michal Krol2010-01-2810-26/+39
| |
* | gallium: Implement 2D constant buffers for fragment shader in softpipe.Michal Krol2010-01-286-23/+39
| |
* | r300g: Fix bizarre half-flushes with immd mode.Corbin Simpson2010-01-281-1/+2
| |
* | r300g: Atomize framebuffers.Corbin Simpson2010-01-286-32/+43
| | | | | | | | There might be some optimizations possible here...
* | llvmpipe: Remove unnecessary headers.Vinson Lee2010-01-273-3/+0
| |
* | r300g: Remove unnecessary headers.Vinson Lee2010-01-276-12/+0
| |
* | i965g: Remove unnecessary headers.Vinson Lee2010-01-2721-24/+0
| |
* | r300g: Silence GCC "missing braces around initializer" warning.Vinson Lee2010-01-271-1/+1
| |
* | cell: remove commas from structs wrapped in PIPE_ALIGN_TYPE macroBrian Paul2010-01-271-7/+18
| | | | | | | | This avoids the need to make PIPE_ALIGN_TYPE a variadic macro.
* | softpipe: Remove unnecessary header.Vinson Lee2010-01-261-1/+0
| |
* | i915g: Remove unnecessary headers.Vinson Lee2010-01-262-3/+0
| |
* | r300g: Turn the RS block into an atom.Corbin Simpson2010-01-266-32/+27
| | | | | | | | | | At least one extraneous dirty was eliminated, as well as the chance for avoiding dirty on shader change.
* | r300g: Make vertex_format into an atom.Corbin Simpson2010-01-267-35/+41
| | | | | | | | Some delicious hax here.
* | r300g: Kill dead code for hashing custom state.Corbin Simpson2010-01-263-71/+0
| | | | | | | | It just wasn't meant to be.
* | r300g: Add A8_UNORM texture format.Corbin Simpson2010-01-262-0/+2
| | | | | | | | Keeps teeworld happy.
* | i965g: Silence uninitialized variable warning.Vinson Lee2010-01-261-0/+3
| |
* | softpipe: Remove unused variables.Vinson Lee2010-01-261-3/+0
| |
* | r300g: Finish and enable immediate mode.Corbin Simpson2010-01-253-53/+106
| | | | | | | | Based on Marek's immd-mode patch.
* | Revert "r300g,radeong: finish and enable the immediate mode"Corbin Simpson2010-01-253-133/+52
| | | | | | | | This reverts commit 112239e9a66a155d36fe2ad0ab130e6f26eff298.
* | llvmpipe: Remove lp_tex_sample_c.c again.José Fonseca2010-01-251-1712/+0
| | | | | | | | | | Popped back to life in some merge. Not necessary even as a reference, since it is identical to softpipe's sp_tex_sample.c with renamed symbols.
* | r300g,radeong: finish and enable the immediate modeMarek Olšák2010-01-243-52/+133
| | | | | | | | Nearly 100% performance increase in glxgears.
* | r300g: fix zero-area scissorMarek Olšák2010-01-241-0/+16
| |
* | r300g,radeong: set tiling flags in libdrmMarek Olšák2010-01-241-0/+7
| |
* | nv50: fix uninitialized variable in nv50_revdep_reorderMarcin Slusarz2010-01-251-1/+1
| | | | | | | | | | "unsafe" is never initialized, but used (found by valgrind)
* | nv50: fix crash in nv50_pre_pipebuffer_map (nv50_screen->cur_ctx)Marcin Slusarz2010-01-251-0/+4
| | | | | | | | | | | | nv50_pre_pipebuffer_map references screen->cur_ctx which points to freed memory after the context is destroyed. This crash is easily triggerable by progs/xdemos/glxcontexts.
* | nouveau: fix winsys object leakMarcin Slusarz2010-01-251-0/+2
| |
* | nv50: fix handling of FragCoord inputChristoph Bumiller2010-01-241-12/+11
| |