summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2009-07-27r300: Add radeon_compiler as a base for compilation-related tasksNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove some unnecessary includesNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/compiler: Compile the compiler seperately into an archiveNicolai Hähnle
This is all part of untangling the compiler from the classic driver, so that it may be used in Gallium without depending on Mesa stuff if possible Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Further reduce dependency between compiler and classic driverNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove some dependencies on additional fragment program copiesNicolai Hähnle
The copy is still needed because some program transforms add state variables or constants. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove GLcontext from r300_fragment_program_compilerNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove GLcontext requirement from radeonLocalTransformNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove unused enumsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove GLcontext requirement from radeon_nqssadceNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove GLcontext requirement from radeon_program_pairNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/program_pair: Introduce driver-specific texture instruction structureNicolai Hähnle
This is to prepare more experimentation and possible internal changes in the compiler. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/program_pair: Dynamically allocate instructions temporarilyNicolai Hähnle
In preparation of using TGSI, where we cannot easily predict the number of instructions. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Detangle fragment program compiler from driver-specific structureNicolai Hähnle
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 <nhaehnle@gmail.com>
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-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-23r600: fix segfault in morph3dAlex Deucher
These attributes still need work, but it shouldn't hurt to enable them.
2009-07-23r600: Remove CRLF line endings.José Fonseca
2009-07-22r300: fix address register handling in NQSSADCEMaciej Cencora
For address register we always use X component
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-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
2009-07-20r600: add blending supportAlex Deucher
2009-07-20r600: add user clip plane supportAlex Deucher
2009-07-20r600: add logicop supportAlex Deucher
2009-07-20Merge branch 'mesa_7_5_branch'Michel Dänzer
2009-07-20radeon: With DRI1, if we have HW stencil, only expose fbconfigs with stencil.Michel Dänzer
Otherwise simple apps like glxgears pick up a DirectColor visual since the X server mixes the depth 32 visual in with the other GLX visuals, and this seems to result in a (mostly) black screen due to a bad ColorMap for a lot of people. The bad ColorMap may be a bug in the apps, the X server or X driver, and regardless of that I think the X server should ideally make the depth 32 GLX visual separate from the rest again, but in the meantime this makes us cope. (depth_bits is either 16 or 24, never 0)
2009-07-20r600: Fix compilationKevin DeKorte
2009-07-20R6xx/r7xx: Fix line stipple and width issueCooper Yuan
2009-07-20Add common_ppc.c to MESA_GALLIUM_SOURCES.Michel Dänzer
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-17R6xx/R7xx: add fine grained syncing supportAlex Deucher
2009-07-17R6xx/r7xx: send depth state in it's own functionAlex Deucher