summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Support if-flattening beyond a given maximum nesting depth.Kenneth Graunke2010-12-271-1/+1
| | | | | | | | | | | This adds a new optional max_depth parameter (defaulting to 0) to lower_if_to_cond_assign, and makes the pass only flatten if-statements nested deeper than that. By default, all if-statements will be flattened, just like before. This patch also renames do_if_to_cond_assign to lower_if_to_cond_assign, to match the new naming conventions.
* swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee2010-12-251-1/+1
|
* swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee2010-12-251-1/+1
|
* swrast: Clean up header file inclusion in s_texfilter.h.Vinson Lee2010-12-251-1/+3
|
* swrast: Clean up header file inclusion in s_texcombine.h.Vinson Lee2010-12-251-1/+2
|
* swrast: Clean up header file inclusion in s_masking.h.Vinson Lee2010-12-251-1/+4
|
* intel: Only do frame throttling at glFlush time when using frontbuffer.Eric Anholt2010-12-251-1/+2
| | | | | | | | | | | This is the hack for input interactivity of frontbuffer rendering (like we do for backbuffer at intelDRI2Flush()) by waiting for the n-2 frame to complete before starting a new one. However, for an application doing multiple contexts or regular rebinding of a single context, this would end up lockstepping the CPU to the GPU because every unbind was considered the end of a frame. Improves WOW performance on my Ironlake by 48.8% (+/- 2.3%, n=5)
* swrast: Clean up header file inclusion in s_logic.h.Vinson Lee2010-12-241-1/+3
|
* swrast: Clean up header file inclusion in s_fragprog.h.Vinson Lee2010-12-241-1/+2
|
* swrast: Clean up header file inclusion in s_span.h.Vinson Lee2010-12-241-1/+6
|
* swrast: Clean up header file inclusion in s_fog.h.Vinson Lee2010-12-241-1/+2
|
* swrast: Clean up header file inclusion in s_depth.h.Vinson Lee2010-12-241-1/+4
|
* swrast: Clean up header file inclusion in s_blend.h.Vinson Lee2010-12-241-1/+4
|
* swrast: Clean up header file inclusion in s_atifragshader.h.Vinson Lee2010-12-241-1/+1
|
* swrast: Clean up header file inclusion in s_alpha.h.Vinson Lee2010-12-241-2/+2
|
* swrast: Clean up header file inclusion in s_accum.h.Vinson Lee2010-12-241-1/+2
|
* swrast: Clean up header file inclusion in s_aatriangle.h.Vinson Lee2010-12-241-1/+1
|
* swrast: Clean up header file inclusion in s_aaline.h.Vinson Lee2010-12-241-1/+1
|
* st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.Vinson Lee2010-12-241-7/+9
|
* st/mesa: Clean up header file inclusion in st_gen_mipmap.h.Vinson Lee2010-12-241-1/+3
|
* mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps.Vinson Lee2010-12-231-1/+4
| | | | The case of format being MESA_FORMAT_COUNT should never occur.
* i965: use align1 access mode for instructions with execSize=1 in VSXiang, Haihao2010-12-241-0/+2
| | | | | All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c in oglconform.
* i965: fix register region descriptionXiang, Haihao2010-12-241-1/+1
| | | | | This fixes brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
* mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader.Vinson Lee2010-12-231-0/+1
|
* intel: Remove unnecessary headers.Vinson Lee2010-12-232-2/+0
|
* mesa/st: set the color write cbuf property for fragColor writesDave Airlie2010-12-241-0/+5
|
* i965: Remove unnecessary headers.Vinson Lee2010-12-231-2/+0
|
* mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps.Vinson Lee2010-12-231-1/+1
| | | | According to the comment, the warning should be for debug builds.
* mesa: fix texel store functions for some float formatsMarek Olšák2010-12-231-10/+17
| | | | These are copy-paste errors obviously.
* st/mesa: do not require all texture formats to be renderableMarek Olšák2010-12-231-1/+6
| | | | | | | | | 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.
* st/mesa: use the formats RGB233, ARGB2101010, AL44, AL1616, A16, L16, I16Marek Olšák2010-12-231-17/+78
|
* mesa: implement new texture format I16Marek Olšák2010-12-236-4/+50
|
* 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]>