summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* tnl: Clean up header file inclusion in tnl.h.Vinson Lee2010-12-301-1/+4
|
* i965: Do lowering of array indexing of a vector in the FS.Eric Anholt2010-12-281-0/+1
| | | | | Fixes a regression in ember since switching to the native FS backend, and the new piglit tests glsl-fs-vec4-indexing-{2,3} for catching this.
* i965: Fix regression in FS comparisons on original gen4 due to gen6 changes.Eric Anholt2010-12-282-4/+32
| | | | Fixes 26 piglit cases on my GM965.
* i965: Factor out the ir comparision to BRW_CONDITIONAL_* code.Eric Anholt2010-12-281-80/+34
|
* i965: Fix occlusion query on sandybridgeZhenyu Wang2010-12-281-0/+6
| | | | | | Clear target query buffer fixed occlusion query on sandybridge. https://bugs.freedesktop.org/show_bug.cgi?id=32167
* Revert "i965: upload multisample state for fragment program change"Zhenyu Wang2010-12-283-38/+25
| | | | | | | 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.
* i965: Internally enable GL_NV_blend_square on ES2.Kenneth Graunke2010-12-271-0/+1
| | | | Hopefully should fix bug #32520.
* i965: don't spawn GS thread for LINELOOP on SandybridgeXiang, Haihao2010-12-271-1/+4
| | | | | LINELOOP is converted to LINESTRIP at the beginning of the 3D pipeline. This fixes https://bugs.freedesktop.org/show_bug.cgi?id=32596
* i965: Flatten if-statements beyond depth 16 on pre-gen6.Kenneth Graunke2010-12-271-0/+10
| | | | | | | | | | 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.
* 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.