| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The in kernel texture check fails because of both
bit11 flags being set on 16x16 textures. It tuns out
that these bits are still set and not cleared in the
pp_txpitch field of the texture. The attached patch
at least helps for this case on my machine. It clears
the bit 11 from the pitch field if the texture is smaller
and masks out that hight bits on the conventional width
and height field.
Fixes bug 24584
|
|
|
|
|
|
|
|
| |
size was being calculated based on 3 bytes per pixel with 24 bit depth
instead of 4 bytes. This caused corruption in the bottom 25% of objects.
This finishes fixing the menu/text corruption in compiz/kde4.
Signed-off-by: Robert Noland <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
| |
_mesa_strtod() is used for shader/program parsing where the decimal
point character is always '.' Use strtod_l() with a "C" locale to
ensure correct string->double conversion when the actual locale uses
another character such as ',' for the decimal point.
Fixes bug 24531.
|
|
|
|
|
| |
We need to get the pitch from the texture level we are rendering to,
rather than just using the base texel width.
|
|
|
|
|
|
| |
Report unsupported attributes while I'm here.
Signed-off-by: Robert Noland <[email protected]>
|
|
|
|
| |
Signed-off-by: Robert Noland <[email protected]>
|
|
|
|
| |
Signed-off-by: Robert Noland <[email protected]>
|
|
|
|
|
|
|
|
| |
Setting the wrong bo size resulting in an incomplete
read cache flush when reading the texture. This fixes the
compiz text corruption.
[agd5f: take hw pitch alignment into account]
|
|
|
|
|
| |
need this to properly test with piglit/glean vert/fragprog tests
copied mostly from r300, many thanks to osiris, nha, airlied, others...
|
|
|
|
|
| |
seems I overlooked this when removing hardcoded swizzles for this
one previously
|
| |
|
|
|
|
|
|
|
| |
- KILLGT takes 2 arguments
- arb KIL has no dst register
- add TODO about clause ending but currently piglit fp-kil passes and
does not hang the card
|
|
|
|
|
|
| |
makes blend functions work better
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
| |
Signed-off-by: Dave Airlie <[email protected]>
|
|
|
|
| |
Makes doom3 alot nicer..
|
| |
|
|
|
|
| |
See bug 24531.
|
|
|
|
|
|
| |
Again, last valid address, not first invalid address. Fixes regression
in 255e5be265133280293bbfd8b2f9b74b2dec50bb that the kernel now catches
and caused piglit draw_elements_base_vertex to fail.
|
|
|
|
|
|
|
|
| |
It's the address of the last valid byte, not the address of the first
invalid byte.
This should also fix problems with rendering with the new sanity checks in
the kernel.
|
|
|
|
|
|
|
|
|
|
| |
This change silenced valgrind warnings but broke progs/tests/drawbuffers.
The problem is we don't know the surface's state when we start caching it
(it may or may not be initialized/cleared/etc). So "clearing" it here was
presumptuous. Leaving the code in place (but disabled) for reference and
when using valgrind.
Fixes bug 24401
|
|
|
|
| |
fixes fdo bug 24248
|
|
|
|
| |
Fixes bug 24426 for gallium.
|
|
|
|
| |
Fixes bug 24426.
|
|
|
|
| |
See bug 24321.
|
|
|
|
| |
See bug 24321.
|
|
|
|
|
| |
They're freed by the normal context deallocation code.
Fixes Blender crash, bug 24185.
|
|
|
|
|
| |
Signed-off-by: Nicolai Hähnle <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
|
|
|
|
| |
Signed-off-by: Nicolai Hähnle <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
A little better than leaving the values undefined, I think.
See bug 24321.
|
|
|
|
|
| |
A little better than leaving the values undefined, I think.
See bug 24321.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Before, if we called glXMakeCurrent() to change a context's window binding
while an FBO was bound, we weren't updating the intel->driDrawable and
intel->driReadDrawable fields. This could cause us to dereference a null
pointer elsewhere.
|
|
|
|
|
|
| |
Signed-off-by: Ben Skeggs <[email protected]>
(cherry picked from master, commit 7aeaca33c331f70d507fc83583b13b8d9fc3e847)
|
|
|
|
|
|
|
|
| |
Fixes crash loading a map in sauerbraten with
hwmipmap 1
in ~/.sauerbraten/config.cfg.
|
|
|
|
| |
Fixes bug fdo 20340 for r200.
|
|
|
|
|
|
|
|
| |
The non-KMS interface is to blame here. In theory, a proper fix
could be produced that works for the KMS interface only, but it
require cleaning a lot of mess. Easier to just do it right in r300g.
Signed-off-by: Nicolai Hähnle <[email protected]>
|
|
|
|
|
| |
If we deleted a currently bound texture, we were always reverting the texture
binding to the default 1D texture rather than the proper default texture.
|
|
|
|
| |
The parameter is a bitmask.
|
|
|
|
| |
The parameter is a bitmask.
|
|
|
|
| |
This reverts part of commit a6b84aef4ad3a7bac40704146a98977c62bfb6e8
|
| |
|
| |
|
| |
|
| |
|