Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util: add a way to store translated indices to a user memory in u_index_modify | Marek Olšák | 2010-12-29 | 2 | -34/+101 |
| | | | | I am about to use the upload buffer in r300g instead. | ||||
* | r300g: support user buffers as constant buffers | Marek Olšák | 2010-12-29 | 1 | -3/+9 |
| | |||||
* | i965: Do lowering of array indexing of a vector in the FS. | Eric Anholt | 2010-12-28 | 1 | -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 Anholt | 2010-12-28 | 2 | -4/+32 |
| | | | | Fixes 26 piglit cases on my GM965. | ||||
* | i965: Factor out the ir comparision to BRW_CONDITIONAL_* code. | Eric Anholt | 2010-12-28 | 1 | -80/+34 |
| | |||||
* | glcpp: Add negative tests for redefintions with valueless macros. | Vinson Lee | 2010-12-27 | 2 | -0/+15 |
| | |||||
* | tgsi_dump: fix assert due to missing property name. | Dave Airlie | 2010-12-28 | 1 | -1/+2 |
| | |||||
* | r300g: rename aos to vertex arrays | Marek Olšák | 2010-12-28 | 6 | -45/+45 |
| | |||||
* | r300g: mark vertex arrays as dirty after a buffer_offset change | Marek Olšák | 2010-12-28 | 1 | -0/+1 |
| | | | | | | We shouldn't hit this bug in theory. NOTE: This is a candidate for the 7.10 branch. | ||||
* | i965: Fix occlusion query on sandybridge | Zhenyu Wang | 2010-12-28 | 1 | -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 Wang | 2010-12-28 | 3 | -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 Graunke | 2010-12-27 | 1 | -0/+1 |
| | | | | Hopefully should fix bug #32520. | ||||
* | i965: don't spawn GS thread for LINELOOP on Sandybridge | Xiang, Haihao | 2010-12-27 | 1 | -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 Graunke | 2010-12-27 | 1 | -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 Graunke | 2010-12-27 | 3 | -7/+39 |
| | | | | | | | | | | | 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. | ||||
* | svga, glhd: Remove incorrect assert and add note | Jakob Bornecrantz | 2010-12-16 | 2 | -1/+2 |
| | | | | | Stride can be lower then the size of the attribute. But should probably be aligned to component size atleast for floats. | ||||
* | svga: Minor debug text fix | Jakob Bornecrantz | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | svga: Remove debug print in winsys | Jakob Bornecrantz | 2010-12-16 | 1 | -2/+0 |
| | |||||
* | svga: Correct spelling in swtnl backend | Jakob Bornecrantz | 2010-12-16 | 1 | -4/+4 |
| | |||||
* | svga: Fix newline at EOF | Jakob Bornecrantz | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | svga: Add Galahad and Softpipe to scons build | Jakob Bornecrantz | 2010-12-16 | 2 | -3/+6 |
| | |||||
* | wrapper: Flush pipe on unmap | Jakob Bornecrantz | 2010-12-16 | 1 | -0/+1 |
| | | | | For drivers that does DMA transfers instead of mapping directly | ||||
* | wrapper: Fix width and height given to map and remove uneeded fields | Jakob Bornecrantz | 2010-12-16 | 1 | -5/+3 |
| | |||||
* | i915g: Ignore color0 writes all cbufs tgsi property | Jakob Bornecrantz | 2010-12-27 | 1 | -0/+8 |
| | |||||
* | st/egl: Fix eglChooseConfig when configs is NULL. | Chia-I Wu | 2010-12-26 | 1 | -4/+4 |
| | | | | | When configs is NULL, the app wants to know the number of matching configs. | ||||
* | 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 |
| | |||||
* | nvfx: Remove unused variable. | Vinson Lee | 2010-12-25 | 1 | -1/+0 |
| | | | | | | Fixes this GCC warning. nvfx_vbo.c: In function 'nvfx_idxbuf_emit': nvfx_vbo.c:410: warning: unused variable 'eng3d' | ||||
* | nvfx: restore BEGIN_RING usage | Xavier Chantry | 2010-12-25 | 15 | -164/+184 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Michel Hermier reported libdrm segfault (and kernel crash) on nv40 using gallium : http://www.mail-archive.com/[email protected]/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 <[email protected]> Signed-off-by: Francisco Jerez <[email protected]> | ||||
* | 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) | ||||
* | r300g: simplify buffer_transfer_inline_write | Marek Olšák | 2010-12-25 | 1 | -8/+8 |
| | |||||
* | r300g: simplify the code for buffer uploads | Marek Olšák | 2010-12-25 | 3 | -62/+32 |
| | |||||
* | r300g: user index buffers are always aligned | Marek Olšák | 2010-12-25 | 1 | -1/+2 |
| | |||||
* | r300g: increase the size of upload buffers | Marek Olšák | 2010-12-25 | 2 | -4/+3 |
| | |||||
* | 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 |
| |