summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-12-28Revert "i965: upload multisample state for fragment program change"Zhenyu Wang
This reverts commit de6fd527a545f8344e074312544517d05573fb72. Revert this workaround as it seems the real trouble is caused by lineloop, which doesn't require GS convert on sandybridge actually.
2010-12-27i965: Internally enable GL_NV_blend_square on ES2.Kenneth Graunke
Hopefully should fix bug #32520.
2010-12-27i965: don't spawn GS thread for LINELOOP on SandybridgeXiang, Haihao
LINELOOP is converted to LINESTRIP at the beginning of the 3D pipeline. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32596
2010-12-27i965: Flatten if-statements beyond depth 16 on pre-gen6.Kenneth Graunke
Gen4 and Gen5 hardware can have a maximum supported nesting depth of 16. Previously, shaders with control flow nested 17 levels deep would cause a driver assertion or segmentation fault. Gen6 (Sandybridge) hardware no longer has this restriction. Fixes fd.o bug #31967.
2010-12-27glsl: Support if-flattening beyond a given maximum nesting depth.Kenneth Graunke
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.
2010-12-25swrast: Clean up header file inclusion in ss_vb.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in ss_triangle.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in s_texfilter.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in s_texcombine.h.Vinson Lee
2010-12-25swrast: Clean up header file inclusion in s_masking.h.Vinson Lee
2010-12-25intel: Only do frame throttling at glFlush time when using frontbuffer.Eric Anholt
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)
2010-12-24swrast: Clean up header file inclusion in s_logic.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_fragprog.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_span.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_fog.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_depth.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_blend.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_atifragshader.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_alpha.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_accum.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_aatriangle.h.Vinson Lee
2010-12-24swrast: Clean up header file inclusion in s_aaline.h.Vinson Lee
2010-12-24st/mesa: Clean up header file inclusion in st_mesa_to_tgsi.h.Vinson Lee
2010-12-24st/mesa: Clean up header file inclusion in st_gen_mipmap.h.Vinson Lee
2010-12-23mesa: Assert format is not MESA_FORMAT_COUNT in _mesa_format_to_type_and_comps.Vinson Lee
The case of format being MESA_FORMAT_COUNT should never occur.
2010-12-24i965: use align1 access mode for instructions with execSize=1 in VSXiang, Haihao
All operands must be 16-bytes aligned in aligh16 mode. This fixes l_xxx.c in oglconform.
2010-12-24i965: fix register region descriptionXiang, Haihao
This fixes brw_eu_emit.c:179: validate_reg: Assertion `width == 1' failed.
2010-12-23mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader.Vinson Lee
2010-12-23intel: Remove unnecessary headers.Vinson Lee
2010-12-24mesa/st: set the color write cbuf property for fragColor writesDave Airlie
2010-12-23i965: Remove unnecessary headers.Vinson Lee
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(!)