summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Really remove unused "instructions" parameter.Kenneth Graunke2011-01-011-2/+1
| | | | | I forgot about this file, and it didn't show up until I tried to do "make builtins" from a clean build.
* glsl: Remove unused "instructions" parameter.Kenneth Graunke2011-01-014-22/+17
| | | | | | I think was used long ago, when we actually read the builtins into the shader's instruction stream directly, rather than creating a separate shader and linking the two. It doesn't seem to serve any purpose now.
* mapi: add missing newline in error messageBrian Paul2010-12-311-1/+1
|
* egl: add missing case in _eglError()Brian Paul2010-12-311-1/+4
|
* st/mesa: Handle wrapped depth buffers in st_copy_texsubimage().Henri Verbeet2010-12-311-0/+3
|
* util: Add forward declarations in u_index_modify.h.Vinson Lee2010-12-301-0/+3
|
* tgsi: Clean up header file inclusion in tgsi_text.h.Vinson Lee2010-12-301-2/+4
|
* graw: Include p_shader_tokens.h for tgsi_token struct.Vinson Lee2010-12-301-0/+1
|
* tgsi: Clean up header file inclusion in tgsi_sanity.h.Vinson Lee2010-12-301-2/+4
|
* x86: Clean up header file inclusion in mmx.h.Vinson Lee2010-12-301-1/+3
|
* tnl: Clean up header file inclusion in t_vertex.h.Vinson Lee2010-12-301-1/+4
|
* vbo: Clean up header file inclusion in vbo.h.Vinson Lee2010-12-301-1/+4
|
* tnl: Clean up header file inclusion in t_vp_build.h.Vinson Lee2010-12-302-2/+2
|
* tnl: Clean up header file inclusion in tnl.h.Vinson Lee2010-12-301-1/+4
|
* util: add a way to store translated indices to a user memory in u_index_modifyMarek Olšák2010-12-292-34/+101
| | | | I am about to use the upload buffer in r300g instead.
* r300g: support user buffers as constant buffersMarek Olšák2010-12-291-3/+9
|
* 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
|
* glcpp: Add negative tests for redefintions with valueless macros.Vinson Lee2010-12-272-0/+15
|
* tgsi_dump: fix assert due to missing property name.Dave Airlie2010-12-281-1/+2
|
* r300g: rename aos to vertex arraysMarek Olšák2010-12-286-45/+45
|
* r300g: mark vertex arrays as dirty after a buffer_offset changeMarek Olšák2010-12-281-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 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-273-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 noteJakob Bornecrantz2010-12-162-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 fixJakob Bornecrantz2010-12-161-1/+1
|
* svga: Remove debug print in winsysJakob Bornecrantz2010-12-161-2/+0
|
* svga: Correct spelling in swtnl backendJakob Bornecrantz2010-12-161-4/+4
|
* svga: Fix newline at EOFJakob Bornecrantz2010-12-161-1/+1
|
* svga: Add Galahad and Softpipe to scons buildJakob Bornecrantz2010-12-162-3/+6
|
* wrapper: Flush pipe on unmapJakob Bornecrantz2010-12-161-0/+1
| | | | For drivers that does DMA transfers instead of mapping directly
* wrapper: Fix width and height given to map and remove uneeded fieldsJakob Bornecrantz2010-12-161-5/+3
|
* i915g: Ignore color0 writes all cbufs tgsi propertyJakob Bornecrantz2010-12-271-0/+8
|
* st/egl: Fix eglChooseConfig when configs is NULL.Chia-I Wu2010-12-261-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 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
|
* nvfx: Remove unused variable.Vinson Lee2010-12-251-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 usageXavier Chantry2010-12-2515-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 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)
* r300g: simplify buffer_transfer_inline_writeMarek Olšák2010-12-251-8/+8
|
* r300g: simplify the code for buffer uploadsMarek Olšák2010-12-253-62/+32
|
* r300g: user index buffers are always alignedMarek Olšák2010-12-251-1/+2
|