summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-12-23mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.Vinson Lee
According to the comment, the warning should be for debug builds.
2010-12-23mesa: fix texel store functions for some float formatsMarek Olšák
These are copy-paste errors obviously.
2010-12-23st/mesa: do not require all texture formats to be renderableMarek Olšák
This is a bandaid on the problem that if some formats were not renderable (like luminance_alpha), st/mesa fell back to some RGBA format, so basically some non-renderable formats were actually not used at all. This is only a problem with hardware drivers, softpipe can render to anything. Instead, require only RGB8/RGBA8 to be renderable.
2010-12-23st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16Marek Olšák
2010-12-23mesa: implement new texture format I16Marek Olšák
2010-12-23mesa: implement new texture format L16Marek Olšák
2010-12-23mesa: implement new texture format A16Marek Olšák
2010-12-23mesa: implement new texture format AL44Marek Olšák
Radeon GPUs can do this. R600 can even do render-to-texture. Packing and extracting aren't implemented, but we shouldn't hit them (I think). Tested with swrast, softpipe, and r300g.
2010-12-23mesa: implement new texture format ARGB2101010Marek Olšák
Radeon GPUs do support GL_RGB10_A2.
2010-12-23st/mesa: if Z32 is unsupported, prefer Z24 to Z16Marek Olšák
2010-12-23st/mesa: use RGBA16 for RGB12 and RGB16Marek Olšák
To provide enough precision if a user wants it.
2010-12-23st/mesa: use DXT SRGB formats for COMPRESSED_SRGBMarek Olšák
And also check if the formats are supported to return something meaningful if compression cannot be used.
2010-12-23i965: Keep around a copy of the VS constant surface dumping code.Eric Anholt
Just like everywhere else, I never trust my constant uploads to correctly put constants in the right places, even though that's so rarely where the issue is.
2010-12-23i965: Correct the dp_read message descriptor setup on g4x.Eric Anholt
It's mostly like gen4 message descriptor setup, except that the sizes of type/control changed to be like gen5. Fixes 21 piglit cases on gm45, including the regressions in bug #32311 from increased VS constant buffer usage.
2010-12-23i965: upload multisample state for fragment program changeZhenyu Wang
This makes conformance tests stable on sandybridge D0 to track multisample state before SF/WM state.
2010-12-23i965: Use MI_FLUSH_DW for blt ring flush on sandybridgeZhenyu Wang
Old MI_FLUSH command is deprecated on sandybridge blt.
2010-12-23st/mesa: Remove unnecessary header.Vinson Lee
2010-12-22i965: explicit tell header present for fb write on sandybridgeZhenyu Wang
Determine header present for fb write by msg length is not right for SIMD16 dispatch, and if there're more output attributes, header present is not easy to tell from msg length. This explicitly adds new param for fb write to say header present or not. Fixes many cases' hang and failure in GL conformance test.
2010-12-21i965: Avoid using float type for raw moves, to work around SNB issue.Eric Anholt
The SNB alt-mode math does the denorm and inf reduction even for a "raw MOV" like we do for g0 message header setup, where we are moving values that aren't actually floats. Just use UD type, where raw MOVs really are raw MOVs. Fixes glxgears since c52adfc2e1d130effea940e75690897eb5d3ceaa, but no piglit tests had regressed(!)
2010-12-21intel: Check for unsupported texture when finishing using as a render targetChris Wilson
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32541 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-12-21st/mesa: Clean up header file inclusion in st_format.h.Vinson Lee
2010-12-21st/mesa: Clean up header file inclusion in st_draw.h.Vinson Lee
2010-12-21nouveau: fix includes for latest libdrmBen Skeggs
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2010-12-20gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák
2010-12-20st/mesa: Remove comment cruft from st_context.h.Vinson Lee
This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
2010-12-20st/mesa: Clean up header file inclusion in st_cb_texture.h.Vinson Lee
2010-12-20st/mesa: Clean up header file inclusion in st_cb_readpixels.h.Vinson Lee
2010-12-18st/mesa: Clean up header file inclusion in st_cb_program.h.Vinson Lee
2010-12-18st/mesa: Clean up header file inclusion in st_cb_accum.h.Vinson Lee
2010-12-18mesa: Clean up header file inclusion in prog_statevars.h.Vinson Lee
2010-12-18mesa: fix queryobj whitespace.Dave Airlie
Had done this before pushing but forgot to amend, doh.
2010-12-18mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie
This gets my vote for most pointless extension of all time, I'm guessing some driver could possibly optimise for this instead of counting it might just get a true/false, but I'm not really sure. need this to eventually advertise 3.3 despite its total uselessness. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-12-16Remove OES_compressed_paletted_texture from the ES2 extension list.Kenneth Graunke
We don't support it.
2010-12-16r600c : inline vertex format is not updated in an app, switch to use vfetch ↵richard
constants. For the 7.9 and 7.10 branches as well.
2010-12-16intel: Support glCopyTexImage() from XRGB8888 to ARGB8888.Eric Anholt
The only mismatch between the two is that we have to clear the destination's alpha to 1.0. Fixes WOW performance on my Ironlake, from a few frames a second to almost playable.
2010-12-16intel: Try to sanely check that formats match for CopyTexImage.Eric Anholt
Before, we were going off of a couple of known (hopeful) matches between internalFormats and the cpp of the read buffer. Instead, we can now just look at the gl_format of the two to see if they match. We should avoid bad blits that might have been possible before, but also allow different internalFormats to work without having to enumerate each one.
2010-12-16intel: Drop commented intel_flush from copy_teximage.Eric Anholt
The blit that follows appears in the command stream so it's serialized with previous rendering. Any queued vertices in the tnl layer were already flushed up in mesa/main/.
2010-12-16intel: Update renderbuffers before looking up CopyTexImage's read buffer.Eric Anholt
Not fixing a particular bug, just noticed by code inspection.
2010-12-16st/mesa: s/varient/variantBrian Paul
2010-12-16i965: Set the alternative floating point mode on gen6 VS and WM.Eric Anholt
This matches how we did the math instructions pre-gen6, though it applies to non-math as well. Fixes vp1-LIT test 2 (degenerate case: 0 ^ 0 -> 1)
2010-12-16i915: Fix INTEL_DEBUG=wm segmentation faultShuang He
The program should be disassembled after it's uploaded
2010-12-14st/mesa: fix incorrect prev pointer in destroy_program_variants()Brian Paul
2010-12-14mesa: more program debug codeBrian Paul
2010-12-14st/mesa: rename the varient release functionsBrian Paul
2010-12-14mesa: Clean up header file inclusion in prog_optimize.h.Vinson Lee
2010-12-14mesa: Clean up header file inclusion in prog_cache.h.Vinson Lee
2010-12-14mesa: Clean up header file inclusion in nvvertparse.h.Vinson Lee
2010-12-13i965: Add support for using the BLT ring on gen6.Eric Anholt
2010-12-13i965: Improve the hacks for ARB_fp scalar^scalar POW on gen6.Eric Anholt
This is still awful, but my ability to care about reworking the old backend so we can just get a temporary value into a POW is awfully low since the new backend does this all sensibly. Fixes: fp1-LIT test 1 fp1-LIT test 3 (case x < 0) fp1-POW test (exponentiation) fp-lit-mask
2010-12-13st/mesa: 80-columns wrapping, whitespace fixes in st_cb_bitmap.cBrian Paul