summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2008-06-06r5xx: Fix speedy LIT once and for all.Corbin Simpson
To do: Add a slightly more accurate LIT. Will do later.
2008-06-06r300: Improve texture layout calculationsNicolai Haehnle
The texture layout calculations for mipmapped cubemaps used to be completely wrong, since the GPU expects images to be grouped by miplevel instead of by face number. This has been fixed now, though the memory layout is still slightly incorrect for the smaller miplevels. Unfortunately, the docs are lacking in that area.
2008-06-06r300: Cleanup TX_MIN_FILTER definesNicolai Haehnle
This commit should not affect the functionality at all, just cleanup some of the original texture filter guesswork using information from the register documentation.
2008-06-06r300: Remove unused variable r300_tex_obj::dirty_state and related definesNicolai Haehnle
This variable was only ever written to, but nobody used its value.
2008-06-04i915: Fix GL_DEPTH_TEXTURE_MODE issue. (bug #16221)Xiang, Haihao
2008-06-04mesa/drm/ttm: allow build against non-TTM aware libdrmDave Airlie
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.
2008-06-02bug #16503: use INSTALL macro instead of hard-coding to bin/minstallIan Romanick
This is only part of the fix. Someone with more autoconf-fu will have to fix the rest
2008-06-02r500: add missing brackets around depth testingDave Airlie
2008-06-01r5xx: Enable depth write emission.Corbin Simpson
Thanks to nh for the r3xx version.
2008-06-01r300: Writing to result.depth in fragment programs (R3xx; only stub for R5xx)Nicolai Haehnle
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.)
2008-06-01[r300] Fix KIL instruction and swizzling of texture coordinatesNicolai Haehnle
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.
2008-06-01r5xx: Add OPCODE_FLR.Corbin Simpson
Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
2008-05-31r5xx: Last emit_sop() for now.Corbin Simpson
This should also clean up LIT later on.
2008-05-31r5xx: More emit_sop(), stage 2.Corbin Simpson
SIN/COS.
2008-05-31r5xx: Cleanup SOP with emit_sop().Corbin Simpson
I wish I had a snarky commit message, but I'll save that for after I get the trig working with this.
2008-05-31r5xx: Dump shader constants when dumping program assembly.Corbin Simpson
2008-06-01r300: disable the lowimpact fallbacks by default.Dave Airlie
because really we should be able to just fix the driver.
2008-05-31r500: Use 8bit fog alpha compare value.Markus Amsler
This fixes transparency issues on r500 by enabling backwards compatibility with the r300 alpha compare value.
2008-05-29Fix segfault on exit in unichrome driver (bug 16150)Luc Verhaegen
2008-05-29R1/2/3/4/5xx: fixed calculation of cliprects in CopyBuffer.Dennis Kasprzyk
2008-05-29Report correct damage rectangle in CopySubBuffer.Dennis Kasprzyk
2008-05-29r300: fix R300_FG_ALPHA_FUNC_VAL_MASKMarkus Amsler
2008-05-28r300: disable cmdbuf debug againDave Airlie
2008-05-28Merge branch 'r500-support'Dave Airlie
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
2008-05-28r500: remove warnings and only start on newer drms.Dave Airlie
This removes lots of warnings to the user, and only allows the driver to run on > .29 drms for r500 cards.
2008-05-28R3/4/5xx: update to use drm get_param for num gb pipesAlex Deucher
2008-05-28r500: cleanup warnings and include filesDave Airlie
2008-05-27r5xx: Add OPCODE_XPD. In working condition, I might add.Corbin Simpson
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!
2008-05-27r5xx: Just a few small LIT fixes.Corbin Simpson
Still broken; will fix tomorrow.
2008-05-27r5xx: Fix emit_mov() regression.Corbin Simpson
Specifically, fix improper swizzling.
2008-05-27r500: the cs is shared per context - doh so don't use for program upload.Dave Airlie
Also remove some unused bits of the r500 fragprog struct
2008-05-27r500: need to re-setup inst offset/end for translated programsDave Airlie
this fixes texenv
2008-05-27r500: reset fp/fp_const countsDave Airlie
2008-05-27r300/r500: emit flush inside vap_cntl state atomDave Airlie
Not sure if this is a good or bad plan, it certainly doesn't make things worse here.
2008-05-27r500: hopefully fix 4096 texture harderDave Airlie
2008-05-26r5xx: Fix FP temp counting.Corbin Simpson
One of the ref counters wasn't being added to the temp counter. Yet another product of late-night coding...
2008-05-27r500: remove debuggingDave Airlie
2008-05-27r300/r500: fix r500 fragment program texture unit referencesDave Airlie
2008-05-27r500: initial support for tmu mappingsDave Airlie
2008-05-26r5xx: Enhance emit_mov().Corbin Simpson
Now we can add arbitrary sources and swizzles. Will make many things smoother.
2008-05-26r5xx: Moar LIT.Corbin Simpson
Still not working, but getting closer.
2008-05-26r5xx: First stab at LIT.Corbin Simpson
2008-05-25Replace copyright on r500_fragprog.cCorbin Simpson
Huh, could have sworn I already did this once before... Maybe I forgot to commit it?
2008-05-25r5xx: Unbreak texture swizzling.Corbin Simpson
2008-05-25r5xx: Massive MAD cleanup.Corbin Simpson
Common uses of MAD now use emit_mad(), the two common negation masks work, and fixed a few off-by-one errors.
2008-05-25r5xx: Negation masks for every inst except SWZ.Corbin Simpson
Yay?
2008-05-25r5xx: More emit_alu().Corbin Simpson
Converted ADD.
2008-05-25r5xx: Add emit_mad() for FP.Corbin Simpson
If it uses MAD, emit it with emit_mad()! (Now available at your local grocer's. Multiply and add responsibly.)
2008-05-24r5xx: Consolidate FP tex insts.Corbin Simpson
They're all the same, really.
2008-05-24r5xx: Fix SGE/SLT.Corbin Simpson