summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-16svga, glhd: Remove incorrect assert and add noteJakob Bornecrantz
Stride can be lower then the size of the attribute. But should probably be aligned to component size atleast for floats.
2010-12-16svga: Minor debug text fixJakob Bornecrantz
2010-12-16svga: Remove debug print in winsysJakob Bornecrantz
2010-12-16svga: Correct spelling in swtnl backendJakob Bornecrantz
2010-12-16svga: Fix newline at EOFJakob Bornecrantz
2010-12-16svga: Add Galahad and Softpipe to scons buildJakob Bornecrantz
2010-12-16wrapper: Flush pipe on unmapJakob Bornecrantz
For drivers that does DMA transfers instead of mapping directly
2010-12-16wrapper: Fix width and height given to map and remove uneeded fieldsJakob Bornecrantz
2010-12-27i915g: Ignore color0 writes all cbufs tgsi propertyJakob Bornecrantz
2010-12-26st/egl: Fix eglChooseConfig when configs is NULL.Chia-I Wu
When configs is NULL, the app wants to know the number of matching configs.
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-25nvfx: Remove unused variable.Vinson Lee
Fixes this GCC warning. nvfx_vbo.c: In function 'nvfx_idxbuf_emit': nvfx_vbo.c:410: warning: unused variable 'eng3d'
2010-12-25nvfx: restore BEGIN_RING usageXavier Chantry
Michel Hermier reported libdrm segfault (and kernel crash) on nv40 using gallium : http://www.mail-archive.com/nouveau@lists.freedesktop.org/msg06563.html It turns out these were caused by some missing WAIT_RING (or wrong computation of the WAIT_RING sizes). Unlike all other libdrm_nouveau users, nvfx gallium tried to use a mininum calls of WAIT_RING, one WAIT_RING could apply to many methods for different code paths and spread across several functions. This made it too tricky to find out what the missing or wrong WAIT_RING was. By restoring BEGIN_RING, we force one WAIT_RING per method, and it's much easier to check if the free size required in the pushbuffer is correct. As curro said, "let's keep it simple for the maintainers until the big bottlenecks are gone" Benchmarked on nv35 with openarena, nexuiz and ut2004 and no performance regression. The core of this patch was made with Coccinelle, with minor manual fixes made on top. Tested-by: Michel Hermier <hermier@frugalware.org> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
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-25r300g: simplify buffer_transfer_inline_writeMarek Olšák
2010-12-25r300g: simplify the code for buffer uploadsMarek Olšák
2010-12-25r300g: user index buffers are always alignedMarek Olšák
2010-12-25r300g: increase the size of upload buffersMarek Olšák
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-24r300g/swtcl: re-enable LLVMMarek Olšák
Based on a patch from Drill <drill87@gmail.com>. NOTE: This is a candidate for the 7.10 branch.
2010-12-24r600g: r600_blit_uncompress_depth() can't fail.Henri Verbeet
2010-12-24r600g: Get rid of r600_blit_uncompress_depth_ptr.Henri Verbeet
2010-12-24mapi: Move mapi_func typedef to entry.h.Chia-I Wu
Make it clear that entry.h does not depend on stub.h.
2010-12-24mapi: Define MAPI_TMP_DEFINES only when needed.Chia-I Wu
Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in table.h.
2010-12-24mapi: Add and use entry_get_public.Chia-I Wu
Given a dispatch slot, entry_get_public returns the address of the corresponding public entry point. There may be more than one of them. But since they are all equivalent, it is fine to return any one of them. With entry_get_public, the address of any public entry point can be calculated at runtime when an assembly dispatcher is used. There is no need to have a mapping table in such case. This omits the unnecessary relocations from the binary.
2010-12-24mapi: Make struct mapi_stub opaque.Chia-I Wu
Add accessors for struct mapi_stub and make it opaque.
2010-12-24mapi: Allow blocks to be disabled from the output.Chia-I Wu
For example, a printer may ask not to output noop dispatch table.
2010-12-24mapi: Fix hidden entries.Chia-I Wu
Hidden entries are just like normal entries except that they are not exported. Since it is not always possible to hide them, and two hidden aliases can share the same entry, the name of hidden aliases are mangled to '_dispatch_stub_<slot>'.
2010-12-24mapi: Add "handcode" attribute to the script.Chia-I Wu
Entries with handcode attribute will be handled normally, except no entry point will be generated for them.
2010-12-24mapi: Minor ABIPrinter refactoring.Chia-I Wu
Split out function name generation from _c_decl to _c_function, and use it everywhere. Add an optional 'export' argument to _cdecl. It is prepended to the returned string.
2010-12-24mapi: Store alias entry instead of alias name.Chia-I Wu
An entry can hold more info than plain name.
2010-12-24r600g: hack around property unknown issues.Dave Airlie
should fix https://bugs.freedesktop.org/show_bug.cgi?id=32619 Need to add proper support for properties later. Signed-off-by: Dave Airlie <airlied@redhat.com>