summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* mesa: implement new texture format L16Marek Olšák2010-12-237-4/+55
|
* mesa: implement new texture format A16Marek Olšák2010-12-237-8/+58
|
* mesa: implement new texture format AL44Marek Olšák2010-12-237-1/+95
| | | | | | 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.
* mesa: implement new texture format ARGB2101010Marek Olšák2010-12-237-0/+128
| | | | Radeon GPUs do support GL_RGB10_A2.
* st/mesa: if Z32 is unsupported, prefer Z24 to Z16Marek Olšák2010-12-231-2/+2
|
* st/mesa: use RGBA16 for RGB12 and RGB16Marek Olšák2010-12-231-2/+2
| | | | To provide enough precision if a user wants it.
* st/mesa: use DXT SRGB formats for COMPRESSED_SRGBMarek Olšák2010-12-231-4/+16
| | | | | And also check if the formats are supported to return something meaningful if compression cannot be used.
* i965: Keep around a copy of the VS constant surface dumping code.Eric Anholt2010-12-231-0/+9
| | | | | | 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.
* i965: Correct the dp_read message descriptor setup on g4x.Eric Anholt2010-12-233-1/+23
| | | | | | | 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.
* i965: upload multisample state for fragment program changeZhenyu Wang2010-12-233-25/+38
| | | | | This makes conformance tests stable on sandybridge D0 to track multisample state before SF/WM state.
* i965: Use MI_FLUSH_DW for blt ring flush on sandybridgeZhenyu Wang2010-12-232-2/+7
| | | | Old MI_FLUSH command is deprecated on sandybridge blt.
* st/mesa: Remove unnecessary header.Vinson Lee2010-12-231-1/+0
|
* i965: explicit tell header present for fb write on sandybridgeZhenyu Wang2010-12-224-8/+8
| | | | | | | | | 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.
* i965: Avoid using float type for raw moves, to work around SNB issue.Eric Anholt2010-12-212-4/+8
| | | | | | | | | | 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(!)
* intel: Check for unsupported texture when finishing using as a render targetChris Wilson2010-12-211-1/+2
| | | | | Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=32541 Signed-off-by: Chris Wilson <[email protected]>
* st/mesa: Clean up header file inclusion in st_format.h.Vinson Lee2010-12-211-1/+2
|
* st/mesa: Clean up header file inclusion in st_draw.h.Vinson Lee2010-12-211-1/+2
|
* nouveau: fix includes for latest libdrmBen Skeggs2010-12-211-1/+1
| | | | Signed-off-by: Ben Skeggs <[email protected]>
* gallium: remove unused 'buf' parameter in pipe_buffer_unmapMarek Olšák2010-12-203-9/+7
|
* st/mesa: Remove comment cruft from st_context.h.Vinson Lee2010-12-201-1/+0
| | | | | This was unintentionally added by commit 1525fb4afec0adc164948b4060ec1c0359441cd3.
* st/mesa: Clean up header file inclusion in st_cb_texture.h.Vinson Lee2010-12-201-1/+2
|
* st/mesa: Clean up header file inclusion in st_cb_readpixels.h.Vinson Lee2010-12-201-1/+3
|
* st/mesa: Clean up header file inclusion in st_cb_program.h.Vinson Lee2010-12-181-2/+0
|
* st/mesa: Clean up header file inclusion in st_cb_accum.h.Vinson Lee2010-12-181-1/+5
|
* mesa: Clean up header file inclusion in prog_statevars.h.Vinson Lee2010-12-181-1/+3
|
* mesa: fix queryobj whitespace.Dave Airlie2010-12-181-26/+26
| | | | Had done this before pushing but forgot to amend, doh.
* mesa/swrast/st: add ARB_occlusion_query2 support.Dave Airlie2010-12-183-12/+33
| | | | | | | | | | 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 <[email protected]>
* Remove OES_compressed_paletted_texture from the ES2 extension list.Kenneth Graunke2010-12-161-2/+0
| | | | We don't support it.
* r600c : inline vertex format is not updated in an app, switch to use vfetch ↵richard2010-12-161-1/+1
| | | | constants. For the 7.9 and 7.10 branches as well.
* intel: Support glCopyTexImage() from XRGB8888 to ARGB8888.Eric Anholt2010-12-163-2/+94
| | | | | | 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.
* intel: Try to sanely check that formats match for CopyTexImage.Eric Anholt2010-12-161-40/+20
| | | | | | | | | 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.
* intel: Drop commented intel_flush from copy_teximage.Eric Anholt2010-12-161-1/+0
| | | | | | 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/.
* intel: Update renderbuffers before looking up CopyTexImage's read buffer.Eric Anholt2010-12-161-3/+4
| | | | Not fixing a particular bug, just noticed by code inspection.
* st/mesa: s/varient/variantBrian Paul2010-12-1610-168/+168
|
* i965: Set the alternative floating point mode on gen6 VS and WM.Eric Anholt2010-12-163-0/+8
| | | | | | | 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)
* i915: Fix INTEL_DEBUG=wm segmentation faultShuang He2010-12-161-5/+5
| | | | The program should be disassembled after it's uploaded
* st/mesa: fix incorrect prev pointer in destroy_program_variants()Brian Paul2010-12-141-9/+9
|
* mesa: more program debug codeBrian Paul2010-12-141-0/+12
|
* st/mesa: rename the varient release functionsBrian Paul2010-12-143-12/+12
|
* mesa: Clean up header file inclusion in prog_optimize.h.Vinson Lee2010-12-141-1/+2
|
* mesa: Clean up header file inclusion in prog_cache.h.Vinson Lee2010-12-141-1/+2
|
* mesa: Clean up header file inclusion in nvvertparse.h.Vinson Lee2010-12-141-1/+4
|
* i965: Add support for using the BLT ring on gen6.Eric Anholt2010-12-138-56/+72
|
* i965: Improve the hacks for ARB_fp scalar^scalar POW on gen6.Eric Anholt2010-12-131-36/+17
| | | | | | | | | | | | 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
* st/mesa: 80-columns wrapping, whitespace fixes in st_cb_bitmap.cBrian Paul2010-12-131-16/+30
|
* st/mesa: add geom program code in destroy_program_variants()Brian Paul2010-12-131-0/+21
|
* st/mesa: program struct commentsBrian Paul2010-12-131-1/+3
|
* st/mesa: use st_fragment_program() instead of castBrian Paul2010-12-131-2/+2
|
* st/mesa: rename variableBrian Paul2010-12-131-2/+2
|
* st/mesa: minor re-indentingBrian Paul2010-12-131-17/+16
|