Age | Commit message (Collapse) | Author |
|
This workaround is similar to the one found in r200_span.c.
It seems like some part of the read hardware doesn't realize that
VRAM has changed. By reading from an arbitrary position, this is fixed.
The piglit test bugs/r300-readcache is a regression test for this bug.
|
|
|
|
|
|
If an app does not use GL_EXT_tex_filter_aniso, this lets driconf set it instead.
|
|
This also fixes a bug with Zfunc set to GL_NEVER in glean/paths.
|
|
This fixes the glean/maskedClear test.
|
|
The glean/readPixSanity test passes now.
|
|
Thanks to Corbin for the initial cut today. Fixed some minor stuff (in
particular, make sure we still use a MIP_LINEAR filtering mode; anisotropy
without MIP_LINEAR filtering is not the truly pleasing anisotropy).
|
|
|
|
Not quite finished, maybe? Not sure.
|
|
To do: Add a slightly more accurate LIT. Will do later.
|
|
|
|
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.
|
|
This commit should not affect the functionality at all, just cleanup
some of the original texture filter guesswork using information from
the register documentation.
|
|
This variable was only ever written to, but nobody used its value.
|
|
|
|
|
|
|
|
|
|
Also, all the old driver-specific rules are now gone.
|
|
yet)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also, some re-org, renaming, and general clean-up.
We're just a few steps away from removing the all the special case rules
for building drivers.
|
|
|
|
|
|
This removes some cruft from src/mesa/Makefile.
Something similar could be done for stand-alone / Xlib-Mesa libGL...
|
|
|
|
|
|
cherry-picked from gallium-0.1
|
|
|
|
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.
|
|
This is only part of the fix. Someone with more autoconf-fu will have
to fix the rest
|
|
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.
|
|
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.
|
|
|
|
Thanks to nh for the r3xx version.
|
|
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.)
|
|
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.
|
|
Why didn't anybody tell me we were missing this one? I thought I committed it ages ago!
|
|
This should also clean up LIT later on.
|
|
SIN/COS.
|
|
I wish I had a snarky commit message, but I'll save that for after I get the
trig working with this.
|
|
|
|
because really we should be able to just fix the driver.
|
|
This fixes transparency issues on r500 by enabling
backwards compatibility with the r300 alpha compare value.
|