aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle2009-07-2727-577/+669
| | | | | | | | This is in preparation of sharing the fragment program compiler with Gallium: Compiler code is moved into its own directory and modified so that it no longer depends on driver structures. Signed-off-by: Nicolai Hähnle <[email protected]>
* radeon: Add r6xx/r7xx chip family to get_chip_family_namePauli Nieminen2009-07-271-0/+11
| | | | | | This fixes problem that glxinfo was reporting r600+ cards as unknown. Signed-off-by: Pauli Nieminen <[email protected]>
* nouveau: swizzle a single row or column, doing it one pixel at a timePatrice Mandin2009-07-271-28/+80
|
* r600: fix texturesAlex Deucher2009-07-271-1/+1
| | | | | | We weren't allocating enough gprs for the fragment shader in some cases. There are likely other issues that still need to be sorted out for textures, but at least they now work.
* r600: don't draw when num indices is 0Alex Deucher2009-07-271-0/+3
| | | | fixes engine demo
* r600: set VGT NUM_INSTANCES as part of the draw commandAlex Deucher2009-07-274-17/+18
| | | | | | set VGT NUM_INSTANCES as part of the draw command rather than as state as recommended by the pm4 guide. Also, use the NUM_INSTANCES packet.
* r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSETAlex Deucher2009-07-271-1/+1
| | | | noticed by vehemens on IRC.
* r600: switch vtx resource setup to use SETfield macrosAlex Deucher2009-07-271-9/+13
| | | | For consistency
* r600: switch tex code to use SETfield macrosAlex Deucher2009-07-272-210/+332
| | | | for consistency with the rest of the code.
* r300g: Fix two trivial texture size issues.Corbin Simpson2009-07-261-2/+2
| | | | Next thing to fix: progs/tests/mipgen.
* radeon-gallium: If BO allocation fails, return NULL.Corbin Simpson2009-07-261-0/+1
|
* r300g: Add some debugging, correct little bits of math in texture setup.Corbin Simpson2009-07-261-3/+12
| | | | Simple stuff still works, but not sure about some of the more complex things.
* nouveau: only swizzle square textures for copyPatrice Mandin2009-07-261-4/+11
|
* nouveau: Take into account destination position for copy_swizzle, need to ↵Patrice Mandin2009-07-261-2/+12
| | | | split copy a bit more
* nouveau: Recursively swizzle an NPOT sized copyPatrice Mandin2009-07-261-5/+21
|
* nouveau: use nv04_surface_copy_swizzle only for POT sizesPatrice Mandin2009-07-241-1/+4
|
* radeon-gallium: remove old getparam ioctlJoakim Sindholt2009-07-241-13/+3
|
* r600: fix segfault in morph3dAlex Deucher2009-07-231-17/+17
| | | | | These attributes still need work, but it shouldn't hurt to enable them.
* draw: correct address for machine struct in llvm pathKeith Whitwell2009-07-231-1/+1
| | | | This changed after a recent commit.
* gallivm: updates for TGSI changesKeith Whitwell2009-07-232-22/+18
| | | | | make linux-llvm succeeds, but doesn't seem to be working, at least with llvm 2.5
* r300g, radeon-gallium: Fix API, cleanup.Corbin Simpson2009-07-236-26/+24
| | | | Something called "validate" should return FALSE on failure, not TRUE.
* radeon-gallium: Build fixes wrt changed libdrm_radeon space check APINicolai Hähnle2009-07-234-52/+16
| | | | Had to be hacked up a bit to apply to master. Sorry 'bout that. :3
* r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.Corbin Simpson2009-07-231-0/+2
|
* gallium: clean up opcode definitionsKeith Whitwell2009-07-231-145/+11
| | | | | | Remove commented-out opcodes. Remove information about API mappings to opcodes, but add a reference to tgsi-instruction-set.txt where that information is better presented.
* gallium: remove deprecated TGSI opcodesKeith Whitwell2009-07-236-80/+7
| | | | | | Various opcodes which can be implemented trivially with other TGSI opcodes, such as matrix multiplication and negation. These were not used by any state tracker or implemented by any of the drivers.
* r600: Remove CRLF line endings.José Fonseca2009-07-231-1/+1
|
* util: Add support for Mac OS.Vinson Lee2009-07-232-9/+9
|
* r300g: Actually mark shaders as translated/untranslated.Corbin Simpson2009-07-233-2/+8
| | | | | | Also trust that Gallium will not give us TGSI that miscounts shader consts. This creates a 20x speedup on glxgears, from 8 FPS to 160 FPS.
* cell: update TGSI_OPCODE_ casesBrian Paul2009-07-221-18/+8
|
* gallium: Fix PPC build.Michel Dänzer2009-07-231-8/+8
|
* nouveau: nv30: wrong variable for formatPatrice Mandin2009-07-221-1/+1
|
* r300: fix address register handling in NQSSADCEMaciej Cencora2009-07-221-5/+7
| | | | For address register we always use X component
* nouveau: Take into account sx,sy parameters to read from source surfacePatrice Mandin2009-07-221-2/+2
|
* gallium: remove multiple aliases for TGSI opcodesKeith Whitwell2009-07-227-210/+194
| | | | | | | | | | | | | | | | | This is a source of ongoing confusion. TGSI has multiple names for opcodes where the same semantics originate in multiple shader APIs. For instance, TGSI includes both Mesa/GLSL and DX/SM30 names for opcodes with the same semantics, but aliases those names to the same underlying opcode number. This makes it very difficult to visually inspect two sets of opcodes (eg in state tracker & driver) and check if they implement the same functionality. This patch arbitarily rips out the versions of the opcodes not currently favoured by the mesa state tracker and leaves us with a single name for each distinct operation.
* gallium: simplify tgsi_full_immediate structKeith Whitwell2009-07-2226-77/+84
| | | | | | | | | | | | | 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.
* r600: fix dst reg indexing for realRichard Li2009-07-211-5/+5
| | | | This fixes segfaults in apps like teapot and tunnel
* Revert "r600: fix dst reg indexing"Alex Deucher2009-07-211-9/+2
| | | | | | This reverts commit cc893d9a98255d3c26df7123ba5cc02e478c9328. Richard has the proper fix.
* r600: add stencil supportAlex Deucher2009-07-211-15/+146
|
* r600: use state functions to set default stateAlex Deucher2009-07-211-33/+59
|
* r600: fill in point functionsAlex Deucher2009-07-211-8/+45
|
* r600: set provoking vertex to last vertex for OGLAlex Deucher2009-07-211-0/+3
|
* r600: fill in r700UpdateViewportOffsetAlex Deucher2009-07-211-3/+14
|
* r600: first pass at polyoffset supportAlex Deucher2009-07-211-13/+106
| | | | not working yet
* radeon: fix colorbuffer pitch emission regarding tiling in KMS/CS caseJerome Glisse2009-07-211-2/+2
| | | | | We need to emit a relocation for pitch register so that kernel can check and properly setup tiling on the color buffer.
* R600: fix up some build problemsAlex Deucher2009-07-212-89/+1
|
* r600: add alpha test supportAlex Deucher2009-07-213-5/+54
|
* Track Radeon driver symlinks in Git.Michel Dänzer2009-07-2198-167/+96
|
* Add missing X11_INCLUDES to egl/drivers/demo and egl/main.Peter Hutterer2009-07-212-2/+2
| | | | | | | | | Compiling mesa on a system with no X headers installed in the default include paths fails due to missing X11 includes. The header includes are picked up by configure but not applied. Signed-off-by: Peter Hutterer <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* i965: Don't clip everything if FRONT_AND_BACK culling while culling disabled.Eric Anholt2009-07-201-1/+2
| | | | | | Fixes everything-black with meta_clear_tris on quake4-mpdemo and doom3-demo. Bug #18844, 22077.
* r600: fix typo in blend codeAlex Deucher2009-07-201-1/+1
|