Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Support if-flattening beyond a given maximum nesting depth. | Kenneth Graunke | 2010-12-27 | 1 | -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 Lee | 2010-12-25 | 1 | -1/+1 |
| | |||||
* | swrast: Clean up header file inclusion in ss_triangle.h. | Vinson Lee | 2010-12-25 | 1 | -1/+1 |
| | |||||
* | swrast: Clean up header file inclusion in s_texfilter.h. | Vinson Lee | 2010-12-25 | 1 | -1/+3 |
| | |||||
* | swrast: Clean up header file inclusion in s_texcombine.h. | Vinson Lee | 2010-12-25 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_masking.h. | Vinson Lee | 2010-12-25 | 1 | -1/+4 |
| | |||||
* | intel: Only do frame throttling at glFlush time when using frontbuffer. | Eric Anholt | 2010-12-25 | 1 | -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 Lee | 2010-12-24 | 1 | -1/+3 |
| | |||||
* | swrast: Clean up header file inclusion in s_fragprog.h. | Vinson Lee | 2010-12-24 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_span.h. | Vinson Lee | 2010-12-24 | 1 | -1/+6 |
| | |||||
* | swrast: Clean up header file inclusion in s_fog.h. | Vinson Lee | 2010-12-24 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_depth.h. | Vinson Lee | 2010-12-24 | 1 | -1/+4 |
| | |||||
* | swrast: Clean up header file inclusion in s_blend.h. | Vinson Lee | 2010-12-24 | 1 | -1/+4 |
| | |||||
* | swrast: Clean up header file inclusion in s_atifragshader.h. | Vinson Lee | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | swrast: Clean up header file inclusion in s_alpha.h. | Vinson Lee | 2010-12-24 | 1 | -2/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_accum.h. | Vinson Lee | 2010-12-24 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_aatriangle.h. | Vinson Lee | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | swrast: Clean up header file inclusion in s_aaline.h. | Vinson Lee | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h. | Vinson Lee | 2010-12-24 | 1 | -7/+9 |
| | |||||
* | st/mesa: Clean up header file inclusion in st_gen_mipmap.h. | Vinson Lee | 2010-12-24 | 1 | -1/+3 |
| | |||||
* | mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps. | Vinson Lee | 2010-12-23 | 1 | -1/+4 |
| | | | | The case of format being MESA_FORMAT_COUNT should never occur. | ||||
* | i965: use align1 access mode for instructions with execSize=1 in VS | Xiang, Haihao | 2010-12-24 | 1 | -0/+2 |
| | | | | | All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c in oglconform. | ||||
* | i965: fix register region description | Xiang, Haihao | 2010-12-24 | 1 | -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 Lee | 2010-12-23 | 1 | -0/+1 |
| | |||||
* | intel: Remove unnecessary headers. | Vinson Lee | 2010-12-23 | 2 | -2/+0 |
| | |||||
* | mesa/st: set the color write cbuf property for fragColor writes | Dave Airlie | 2010-12-24 | 1 | -0/+5 |
| | |||||
* | i965: Remove unnecessary headers. | Vinson Lee | 2010-12-23 | 1 | -2/+0 |
| | |||||
* | mesa: Fix #ifdef typo in _mesa_format_to_type_and_comps. | Vinson Lee | 2010-12-23 | 1 | -1/+1 |
| | | | | According to the comment, the warning should be for debug builds. | ||||
* | mesa: fix texel store functions for some float formats | Marek Olšák | 2010-12-23 | 1 | -10/+17 |
| | | | | These are copy-paste errors obviously. | ||||
* | st/mesa: do not require all texture formats to be renderable | Marek Olšák | 2010-12-23 | 1 | -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, I16 | Marek Olšák | 2010-12-23 | 1 | -17/+78 |
| | |||||
* | mesa: implement new texture format I16 | Marek Olšák | 2010-12-23 | 6 | -4/+50 |
| | |||||
* | mesa: implement new texture format L16 | Marek Olšák | 2010-12-23 | 7 | -4/+55 |
| | |||||
* | mesa: implement new texture format A16 | Marek Olšák | 2010-12-23 | 7 | -8/+58 |
| | |||||
* | mesa: implement new texture format AL44 | Marek Olšák | 2010-12-23 | 7 | -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 ARGB2101010 | Marek Olšák | 2010-12-23 | 7 | -0/+128 |
| | | | | Radeon GPUs do support GL_RGB10_A2. | ||||
* | st/mesa: if Z32 is unsupported, prefer Z24 to Z16 | Marek Olšák | 2010-12-23 | 1 | -2/+2 |
| | |||||
* | st/mesa: use RGBA16 for RGB12 and RGB16 | Marek Olšák | 2010-12-23 | 1 | -2/+2 |
| | | | | To provide enough precision if a user wants it. | ||||
* | st/mesa: use DXT SRGB formats for COMPRESSED_SRGB | Marek Olšák | 2010-12-23 | 1 | -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 Anholt | 2010-12-23 | 1 | -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 Anholt | 2010-12-23 | 3 | -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 change | Zhenyu Wang | 2010-12-23 | 3 | -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 sandybridge | Zhenyu Wang | 2010-12-23 | 2 | -2/+7 |
| | | | | Old MI_FLUSH command is deprecated on sandybridge blt. | ||||
* | st/mesa: Remove unnecessary header. | Vinson Lee | 2010-12-23 | 1 | -1/+0 |
| | |||||
* | i965: explicit tell header present for fb write on sandybridge | Zhenyu Wang | 2010-12-22 | 4 | -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 Anholt | 2010-12-21 | 2 | -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 target | Chris Wilson | 2010-12-21 | 1 | -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 Lee | 2010-12-21 | 1 | -1/+2 |
| | |||||
* | st/mesa: Clean up header file inclusion in st_draw.h. | Vinson Lee | 2010-12-21 | 1 | -1/+2 |
| | |||||
* | nouveau: fix includes for latest libdrm | Ben Skeggs | 2010-12-21 | 1 | -1/+1 |
| | | | | Signed-off-by: Ben Skeggs <[email protected]> |