summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-07-27radeon: Add r6xx/r7xx chip family to get_chip_family_namePauli Nieminen
This fixes problem that glxinfo was reporting r600+ cards as unknown. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-07-27nouveau: swizzle a single row or column, doing it one pixel at a timePatrice Mandin
2009-07-27r600: fix texturesAlex Deucher
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.
2009-07-27r600: don't draw when num indices is 0Alex Deucher
fixes engine demo
2009-07-27r600: set VGT NUM_INSTANCES as part of the draw commandAlex Deucher
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.
2009-07-27r600: Use R600_SCRATCH_REG_OFFSET rather than RADEON_SCRATCH_REG_OFFSETAlex Deucher
noticed by vehemens on IRC.
2009-07-27r600: switch vtx resource setup to use SETfield macrosAlex Deucher
For consistency
2009-07-27r600: switch tex code to use SETfield macrosAlex Deucher
for consistency with the rest of the code.
2009-07-26r300g: Fix two trivial texture size issues.Corbin Simpson
Next thing to fix: progs/tests/mipgen.
2009-07-26radeon-gallium: If BO allocation fails, return NULL.Corbin Simpson
2009-07-26r300g: Add some debugging, correct little bits of math in texture setup.Corbin Simpson
Simple stuff still works, but not sure about some of the more complex things.
2009-07-26nouveau: only swizzle square textures for copyPatrice Mandin
2009-07-26nouveau: Take into account destination position for copy_swizzle, need to ↵Patrice Mandin
split copy a bit more
2009-07-26nouveau: Recursively swizzle an NPOT sized copyPatrice Mandin
2009-07-24nouveau: use nv04_surface_copy_swizzle only for POT sizesPatrice Mandin
2009-07-24radeon-gallium: remove old getparam ioctlJoakim Sindholt
2009-07-23r600: fix segfault in morph3dAlex Deucher
These attributes still need work, but it shouldn't hurt to enable them.
2009-07-23draw: correct address for machine struct in llvm pathKeith Whitwell
This changed after a recent commit.
2009-07-23gallivm: updates for TGSI changesKeith Whitwell
make linux-llvm succeeds, but doesn't seem to be working, at least with llvm 2.5
2009-07-23r300g, radeon-gallium: Fix API, cleanup.Corbin Simpson
Something called "validate" should return FALSE on failure, not TRUE.
2009-07-23radeon-gallium: Build fixes wrt changed libdrm_radeon space check APINicolai Hähnle
Had to be hacked up a bit to apply to master. Sorry 'bout that. :3
2009-07-23r300g: PIPE_CAP_BLEND_EQUATION_SEPARATE.Corbin Simpson
2009-07-23gallium: clean up opcode definitionsKeith Whitwell
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.
2009-07-23gallium: remove deprecated TGSI opcodesKeith Whitwell
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.
2009-07-23r600: Remove CRLF line endings.José Fonseca
2009-07-23util: Add support for Mac OS.Vinson Lee
2009-07-23r300g: Actually mark shaders as translated/untranslated.Corbin Simpson
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.
2009-07-22cell: update TGSI_OPCODE_ casesBrian Paul
2009-07-23gallium: Fix PPC build.Michel Dänzer
2009-07-22nouveau: nv30: wrong variable for formatPatrice Mandin
2009-07-22r300: fix address register handling in NQSSADCEMaciej Cencora
For address register we always use X component
2009-07-22nouveau: Take into account sx,sy parameters to read from source surfacePatrice Mandin
2009-07-22gallium: remove multiple aliases for TGSI opcodesKeith Whitwell
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.
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-21r600: fix dst reg indexing for realRichard Li
This fixes segfaults in apps like teapot and tunnel
2009-07-21Revert "r600: fix dst reg indexing"Alex Deucher
This reverts commit cc893d9a98255d3c26df7123ba5cc02e478c9328. Richard has the proper fix.
2009-07-21r600: add stencil supportAlex Deucher
2009-07-21r600: use state functions to set default stateAlex Deucher
2009-07-21r600: fill in point functionsAlex Deucher
2009-07-21r600: set provoking vertex to last vertex for OGLAlex Deucher
2009-07-21r600: fill in r700UpdateViewportOffsetAlex Deucher
2009-07-21r600: first pass at polyoffset supportAlex Deucher
not working yet
2009-07-21radeon: fix colorbuffer pitch emission regarding tiling in KMS/CS caseJerome Glisse
We need to emit a relocation for pitch register so that kernel can check and properly setup tiling on the color buffer.
2009-07-21R600: fix up some build problemsAlex Deucher
2009-07-21r600: add alpha test supportAlex Deucher
2009-07-21Track Radeon driver symlinks in Git.Michel Dänzer
2009-07-21Add missing X11_INCLUDES to egl/drivers/demo and egl/main.Peter Hutterer
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 <peter.hutterer@who-t.net> Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-07-20i965: Don't clip everything if FRONT_AND_BACK culling while culling disabled.Eric Anholt
Fixes everything-black with meta_clear_tris on quake4-mpdemo and doom3-demo. Bug #18844, 22077.
2009-07-20r600: fix typo in blend codeAlex Deucher
2009-07-20r600: fix dst reg indexingKevin DeKorte
This fixes segfaults in apps like teapot and tunnel