summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa/drm/ttm: allow build against non-TTM aware libdrmDave Airlie2008-06-047-1/+102
| | | | | | | I'll release a libdrm 2.3.1 without TTM apis included from a special drm branch that should allow mesa 7.1 to build against it. I've had to turn off DRI2 stuff.
* bug #16503: use INSTALL macro instead of hard-coding to bin/minstallIan Romanick2008-06-021-3/+3
| | | | | This is only part of the fix. Someone with more autoconf-fu will have to fix the rest
* [t_vp_build] Fix refcounting-related memory leakNicolai Haehnle2008-06-021-3/+3
| | | | | | | This memory leak is identical to the earlier one in texenvprogram. Fixed by not creating an additional reference to new programs in cache_item. On top of that, remove some duplicated state setting.
* [texenvprogram] Fix refcounting-related memory leak.Nicolai Haehnle2008-06-021-1/+2
| | | | | | | | All newly created programs have RefCount == 1, but the fragment program cache added an additional reference in cache_item, with the result being that none of the programs were ever freed. Solve the problem by not creating the additional reference in cache_item.
* r500: add missing brackets around depth testingDave Airlie2008-06-021-1/+2
|
* r5xx: Enable depth write emission.Corbin Simpson2008-06-013-2/+11
| | | | Thanks to nh for the r3xx version.
* r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)Nicolai Haehnle2008-06-013-30/+54
| | | | | | | | | | | Setup fg_depth_src for depth writing programs and change early Z (ztop) semantics. Piglit's version of glean/fragprog test passes now (unlike Glean, its dependency on EXT_fog_coord, which we don't support, is optional). R3xx only at the moment, but should be straightforward to adapt to R5xx (I don't own an R5xx, and I don't want to break anything.)
* [r300] Fix KIL instruction and swizzling of texture coordinatesNicolai Haehnle2008-06-012-57/+72
| | | | | | | | | | | The KIL instruction only works if at least one texture unit is enabled in hardware. Texture instructions do not support swizzles, negations etc. natively, so we now emit an explicit swizzling etc. operation when the texture coordinate requires it. This fixes the Piglit fp-kil test.
* r5xx: Add OPCODE_FLR.Corbin Simpson2008-06-011-0/+32
| | | | Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
* r5xx: Last emit_sop() for now.Corbin Simpson2008-05-311-41/+5
| | | | This should also clean up LIT later on.
* r5xx: More emit_sop(), stage 2.Corbin Simpson2008-05-311-24/+14
| | | | SIN/COS.
* r5xx: Cleanup SOP with emit_sop().Corbin Simpson2008-05-311-49/+43
| | | | | I wish I had a snarky commit message, but I'll save that for after I get the trig working with this.
* r5xx: Dump shader constants when dumping program assembly.Corbin Simpson2008-05-311-0/+13
|
* r300: disable the lowimpact fallbacks by default.Dave Airlie2008-06-011-1/+1
| | | | because really we should be able to just fix the driver.
* r500: Use 8bit fog alpha compare value.Markus Amsler2008-05-311-0/+1
| | | | | This fixes transparency issues on r500 by enabling backwards compatibility with the r300 alpha compare value.
* Fix segfault on exit in unichrome driver (bug 16150)Luc Verhaegen2008-05-291-27/+29
|
* undo prev change to this VC7 project fileBrian Paul2008-05-291-956/+422
| | | | Meant to update the VC8 project file.
* added prog_uniform.[ch]Karl Schultz2008-05-291-0/+8
|
* Assorted Windows fixes (Karl Schultz)Brian Paul2008-05-295-438/+976
|
* Use the GLuint64EXT type defined by GL_EXT_timer_queryBrian Paul2008-05-291-11/+6
| | | | Removes some compiler #ifdef stuff.
* R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.Dennis Kasprzyk2008-05-293-12/+18
|
* Report correct damage rectangle in CopySubBuffer.Dennis Kasprzyk2008-05-291-2/+2
|
* r300: fix R300_FG_ALPHA_FUNC_VAL_MASKMarkus Amsler2008-05-291-1/+1
|
* updated function listBrian Paul2008-05-281-27/+4
|
* replace make with $(MAKE) (bug 16133)Brian Paul2008-05-281-1/+1
|
* r300: disable cmdbuf debug againDave Airlie2008-05-281-1/+1
|
* Merge branch 'r500-support'Dave Airlie2008-05-2821-1337/+4571
|\ | | | | | | | | | | | | | | | | | | | | Bring in all the r500 3D code into master should be as stable as the r300 code it is landing on top off. Conflicts: src/mesa/drivers/dri/r300/r300_reg.h src/mesa/drivers/dri/r300/r300_state.c src/mesa/drivers/dri/radeon/radeon_screen.c
| * r500: remove warnings and only start on newer drms.Dave Airlie2008-05-281-8/+5
| | | | | | | | | | This removes lots of warnings to the user, and only allows the driver to run on > .29 drms for r500 cards.
| * R3/4/5xx: update to use drm get_param for num gb pipesAlex Deucher2008-05-283-28/+42
| |
| * r500: cleanup warnings and include filesDave Airlie2008-05-284-37/+4
| |
| * r5xx: Add OPCODE_XPD. In working condition, I might add.Corbin Simpson2008-05-271-0/+60
| | | | | | | | | | | | | | And we're officially finished with the ARB_fragment_program instruction set. It's worth noting that LIT is still not reliable. SIN and COS were fixed a few commits ago. We're finished with stage 1! Whoohoo!
| * r5xx: Just a few small LIT fixes.Corbin Simpson2008-05-271-5/+5
| | | | | | | | Still broken; will fix tomorrow.
| * r5xx: Fix emit_mov() regression.Corbin Simpson2008-05-271-0/+15
| | | | | | | | Specifically, fix improper swizzling.
| * r500: the cs is shared per context - doh so don't use for program upload.Dave Airlie2008-05-273-20/+2
| | | | | | | | Also remove some unused bits of the r500 fragprog struct
| * r500: need to re-setup inst offset/end for translated programsDave Airlie2008-05-271-0/+3
| | | | | | | | this fixes texenv
| * r500: reset fp/fp_const countsDave Airlie2008-05-271-0/+3
| |
| * r300/r500: emit flush inside vap_cntl state atomDave Airlie2008-05-274-13/+22
| | | | | | | | Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
| * r500: hopefully fix 4096 texture harderDave Airlie2008-05-271-11/+15
| |
| * r5xx: Fix FP temp counting.Corbin Simpson2008-05-261-5/+8
| | | | | | | | | | One of the ref counters wasn't being added to the temp counter. Yet another product of late-night coding...
| * r500: remove debuggingDave Airlie2008-05-271-1/+0
| |
| * r300/r500: fix r500 fragment program texture unit referencesDave Airlie2008-05-271-1/+4
| |
| * r500: initial support for tmu mappingsDave Airlie2008-05-271-35/+83
| |
| * r5xx: Enhance emit_mov().Corbin Simpson2008-05-261-16/+11
| | | | | | | | Now we can add arbitrary sources and swizzles. Will make many things smoother.
| * r5xx: Moar LIT.Corbin Simpson2008-05-261-55/+57
| | | | | | | | Still not working, but getting closer.
| * r5xx: First stab at LIT.Corbin Simpson2008-05-261-0/+106
| |
| * Replace copyright on r500_fragprog.cCorbin Simpson2008-05-251-0/+3
| | | | | | | | | | Huh, could have sworn I already did this once before... Maybe I forgot to commit it?
| * r5xx: Unbreak texture swizzling.Corbin Simpson2008-05-251-7/+6
| |
| * r5xx: Massive MAD cleanup.Corbin Simpson2008-05-251-88/+18
| | | | | | | | | | Common uses of MAD now use emit_mad(), the two common negation masks work, and fixed a few off-by-one errors.
| * r5xx: Negation masks for every inst except SWZ.Corbin Simpson2008-05-251-1/+7
| | | | | | | | Yay?
| * r5xx: More emit_alu().Corbin Simpson2008-05-251-3/+21
| | | | | | | | Converted ADD.