summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2009-07-31radeon: fix r100/r200 compressed texture strideRoland Scheidegger
This almost fixes compressed mipmapped textures on r200, though some small mip levels are still broken. Leave r300 compressed texture stride as is though afaik it's different to pre-radeon-rewrite too. Also do the fixup for rs600 uncompressed row stride at same place.
2009-07-31radeon: s/r300/radeon in shared code error messageRoland Scheidegger
2009-07-31radeon: Cliprects has to be updated before doing anything with clip rectanglesPauli Nieminen
Reported to fix corruption while dragging an active window by John Bridgman. Signed-off-by: Pauli Nieminen <suokkos@gmail.com> Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-31radeon: Remove unused variable from context.Pauli Nieminen
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-31r600: make sure bos are valid before usign thatAlex Deucher
2009-07-31r600: fix reloc setupAlex Deucher
re-use the same reloc index for bos that are referenced multiple times. Fixes rain demo.
2009-07-31r600: remove unused offset_mod stuffAlex Deucher
this is a step in migrating to the common cs code
2009-07-31r600: ensure we have enough room for full state emitAlex Deucher
full state is roughly 4000 dwords, but will vary depending on the rendering. Also fix some warnings.
2009-07-31r600: unify state emit into one functionAlex Deucher
2009-07-31r600: re-arrange state setup and emit so they are not mixedAlex Deucher
2009-07-31Rename TGSI LOOP instruction to better match theri usage.Michal Krol
The LOOP/ENDLOOP pair is renamed to BGNFOR/ENDFOR as its behaviour is similar to a C language for-loop. The BGNLOOP2/ENDLOOP2 pair is renamed to BGNLOOP/ENDLOOP as now there is no name collision.
2009-07-31r600: get updated pending age from cs ioctlAlex Deucher
REQUIRES AN UPDATED DRM
2009-07-30r600: warning fixesAlex Deucher
2009-07-30r600: split primitive draw into a separate functionAlex Deucher
2009-07-30r300/compiler: Remove inst_offset from r500_fragment_program_codeNicolai Hähnle
The field is not used, and in any case it would be more interesting to manipulate from *outside* the compiler if we ever wanted to load several fragment programs at the same time or something. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-30i965: Postpone ff_sync message in CLIP kernel on IGDNGXiang, Haihao
In addition, it guarantees ff_sync message is issued
2009-07-30r600: fix mipmapsAlex Deucher
redbook mipmap works
2009-07-29i915: Add support for EXT_stencil_two_side and ATI_separate_stencil.Eric Anholt
Passes tests/stencil_twoside and glean/stencil2.
2009-07-29i915: Add ARB_point_sprite since we already expose NV_point_sprite.Eric Anholt
It's all fallbacks anyway due to the DD_POINT_ATTEN fallback.
2009-07-29r600: remove extraneous semicolonAlex Deucher
2009-07-29r600: fix texture pitch alignmentAlex Deucher
fixes texwrap
2009-07-29r600: minor fixesAlex Deucher
- set MAX_LOD properly - min texel pitch is 8 texels - emit old command buffer when re-initing base state
2009-07-29r300: Cleanup r300_fragment_program_codeNicolai Hähnle
Configuration register values are now stored directly in that structure. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-29r300/compiler: Adapt AllocateHwInputs interface to common usage patternNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-29swrast: enable ARB_vertex_array_object.Eric Anholt
It was getting enabled anyway but without the entrypoints installed. Whoops.
2009-07-29r600: emit fog color in PS input map, fix fog related applicationsCooper Yuan
2009-07-29R6xx/r7xx: VS export fog color as parameterCooper Yuan
2009-07-28r600: fix tex clamp modesAlex Deucher
This makes texwrap look better.
2009-07-28r600: implement texture border colorAlex Deucher
2009-07-28r600: fix flat shadingAlex Deucher
Set the flat shading bit on the appropriate PS input depending on the type of attribute it is. The VS output and PS input routing should probably be made more dynamic at some point. We may want to use semantic ids to make it easier.
2009-07-28r600: don't call r700UpdateShaders twice for each renderAlex Deucher
2009-07-28r600: move r700TranslateFragmentShader into r700UpdateShadersAlex Deucher
2009-07-28r600: disable flat shade fix in 506bacb8e40b0a170a4b620113506925d2333735Alex Deucher
This breaks textures. We need to only set this bit for attributes that that need flat shading.
2009-07-28Merge branch 'mesa_7_5_branch'Brian Paul
Conflicts: Makefile configs/default docs/relnotes.html src/mesa/main/version.h
2009-07-28R6xx/r7xx: enable flat shading, this can fix quadric/accanti/accperspCooper Yuan
2009-07-27r600: fix _REV texture format component swizzlesAlex Deucher
2009-07-27mesa: regenerated fileBrian Paul
2009-07-27intel: Fix leak of DRI option info due to using the wrong free routine.Brian Paul
(cherry picked from commit 6d66f23c50ebe8f973757b6fd1b81c9b7920c447)
2009-07-27intel: Clean up leak of driver context structure on context destroy.Brian Paul
(cherry picked from commit ddef7dc87b2001fbe117ee5f24a0c645ee95a03c)
2009-07-27r300/compiler: Make calculate_inputs_outputs available to external usersNicolai Hähnle
In the long run, it's probably better to just get rid of InputsRead and OutputsWritten. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/compiler: Add vertex program code dumper from Gallium driverNicolai Hähnle
2009-07-27r300/compiler: Prepare for hookup to GalliumNicolai Hähnle
2009-07-27r300/fragprog: Move wpos_attr and fog_attr where they belongNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/fragprog: Remove hardcoded FRAG_ATTRIB_xxx constantsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/fragprog: No longer rely on hardcoded FRAG_RESULT_xxx constantsNicolai Hähnle
Also, this makes radeon_program_pair depend on the r300 fragment program compiler. Since we now know that r600+ no longer use the same pairing style in their ALU, we can stop pretending that program_pair is useful for anything but r300-r500 fragment programs. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/fragprog: Move some of the attribute handling out of the compilerNicolai Hähnle
Attribute indices will probably be different in Gallium, so make the compiler independent of magic values. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/fragprog: Finally get rid of the duplicate program copyNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/vertprog: Move Mesa-dependent input/output handling out of compilerNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300: Remove ugly PSIZ hackNicolai Hähnle
Instead of setting Sourced, we simply force writemasks to begin with. Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-07-27r300/vertprog: Refactor wpos rewrite using rc_programNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>