summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: added gl_program_constants::MaxAddressOffsetBrian Paul2011-03-024-2/+7
| | | | See https://bugs.freedesktop.org/show_bug.cgi?id=29418
* mesa: increase INST_INDEX_BITS to 12Brian Paul2011-03-021-1/+1
| | | | For more info see fd.o bug 29418.
* Revert "mesa: reduce calls to _mesa_test_framebuffer_completeness()"Brian Paul2011-03-021-1/+1
| | | | | | | This reverts commit 1f9a0a4e6e5566c36c781add5f1e62af3efdfb58. This caused trouble with Lightsmark w/ i965 driver and fbo/fbo-blit-d24s8 (see bug 34894). It's probably something simple but no time to debug now.
* vbo: fix error parameterBrian Paul2011-03-021-1/+1
| | | | Spotted by Ian.
* r300g: Silence 'control reaches end of non-void function' warning.Vinson Lee2011-03-021-0/+4
| | | | | | Fixes this GCC warning. r300_hyperz.c: In function 'r300_get_hiz_func': r300_hyperz.c:65: warning: control reaches end of non-void function
* gallium: Add u_format_rgtc.c to SConscript.Vinson Lee2011-03-011-0/+1
|
* i965: Maxinum the usage of urb space on SNB.Zou Nan hai2011-03-021-10/+6
| | | | | | | | | SNB has 64k urb space, we only use piece of them. The more urb space we alloc, the more concurrent vs threads we can run. push the urb space usage to the limit. Signed-off-by: Zou Nan hai <[email protected]>
* mesa/st: fix softpipe npot compressed mipmaps.Dave Airlie2011-03-021-2/+2
| | | | | | | | | | this fixes fbo-generatemipmap-formats rgtc and s3tc in NPOT mode with softpipe. r600g fails to even get level 0 correct so have to look into that a bit further. Signed-off-by: Dave Airlie <[email protected]>
* softpipe: enable RGTC now that we have u_format support.Dave Airlie2011-03-021-5/+0
|
* mesa/st: fix generate mipmap for signed compressed formats.Dave Airlie2011-03-021-32/+63
| | | | | | | | This was always converting to 8-bit per channel unsigned formats, which isn't suitable for RGTC signed formats, this special cases those two formats and converts to floats for those. Signed-off-by: Dave Airlie <[email protected]>
* gallium: add RGTC UNORM support to u_format.Dave Airlie2011-03-026-2/+575
| | | | | | | | SNORM needs a bit of work in the state tracker in order for mipmap generation to work I believe. I'm also not sure that having unorm fetches for an snorm format is sane.
* rgtc: remove GL types from this file.Dave Airlie2011-03-021-10/+10
| | | | | | I'd like to share this file with gallium u_format stuff. Signed-off-by: Dave Airlie <[email protected]>
* rgtc: move the texel fetch into common unsigned/signed code.Dave Airlie2011-03-022-65/+41
| | | | | | This function can be done in the include file also. Signed-off-by: Dave Airlie <[email protected]>
* rgtc: fix issues with compressor and signed types.Dave Airlie2011-03-022-10/+23
| | | | | | | | | | With signed types we weren't hitting this test however the comment stating this doesn't happen often doesn't apply when using signed types since an all 0 block is quite common which isn't abs min or max. this fixes the limits correctly again also. Signed-off-by: Dave Airlie <[email protected]>
* rgtc: don't try to access off the end of the block.Dave Airlie2011-03-021-2/+2
| | | | | | | | if the values are all in the last dword, the high bits can be 0, This fixes a valgrind warning I saw when playing with mipmaps. Signed-off-by: Dave Airlie <[email protected]>
* rgtc: move to using ubyte for fetch instead of chan + fix limitDave Airlie2011-03-021-13/+13
| | | | | | My previous fix to the byte max was incorrect. Signed-off-by: Dave Airlie <[email protected]>
* st/mesa: use RGTC for GL_COMPRESSED_RED/RG if possibleMarek Olšák2011-03-021-2/+8
| | | | With proper fallback formats.
* svga: reduce MAX_DMA_SIZE to 4MBBrian Paul2011-03-011-1/+1
|
* vbo: add vbo_always_unmap_buffers()Brian Paul2011-03-013-1/+22
| | | | | | Drivers can call this function as needed. It tells the VBO module to always unmap the current glBegin/glEnd VBO when we flush. Otherwise it's possible to be in a flushed state but still have the VBO mapped.
* vbo: generate GL_INVALID_VALUE for bad glVertexAttrib indexBrian Paul2011-03-013-26/+26
|
* i915g: remove extra semicolonBrian Paul2011-03-011-1/+1
|
* mesa: Revert most of 3158cc7d because it causes other breakageIan Romanick2011-03-011-9/+4
|
* r300g: accelerate resoure_copy_region for rgtcMarek Olšák2011-03-021-1/+2
|
* scons: Use Flex and Bison to generate lexer/parser files.Kenneth Graunke2011-03-012-6/+21
| | | | | This gets it building again here; I'll leave it up to the SCons maintainers to make further improvements.
* glsl: Rename .lpp to .ll and .ypp to .yy.Kenneth Graunke2011-03-013-2/+2
| | | | | SCons has built-in support for .ll and .yy, but not .lpp and .ypp. Since there's no real benefit to using the old names, change them.
* rgtc: fix fetch function limits for signed typesDave Airlie2011-03-021-2/+2
|
* rgtc: fixup mipmap generationDave Airlie2011-03-021-2/+7
| | | | this allows swrast to pass mipmap generation for these formats.
* swrast/rgtc: fix rendering issues introduced when fix constantsDave Airlie2011-03-021-1/+1
| | | | The max value was wrong and this showed up in the piglit tests.
* r600g: change the cross over point for 2d->1dDave Airlie2011-03-021-1/+1
| | | | | | | this fixes some rendering in the fbo-generatemipmap-formats test on my rv610. Signed-off-by: Dave Airlie <[email protected]>
* mesa: Fix build breakage caused by c73e6ceIan Romanick2011-03-013-11/+16
|
* egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-0124-24/+729
|
* Generate lexer and parser files for tarball creation processIan Romanick2011-03-011-4/+10
|
* Add generated parser / lexer files to gitignore listsIan Romanick2011-03-013-0/+9
|
* mesa: Fix some quirkiness of make tarballsIan Romanick2011-03-011-29/+26
| | | | | | | Among other benefits, parallel makes now work. Since many people have parallel builds by default (via MAKEFLAGS environment variable), this sames some irritation at release time...when there's usually not any other irritation already.
* mesa: Remove nonexistent files from distribution listIan Romanick2011-03-011-3/+1
|
* mesa: Remove files generated by flex and bison from GITIan Romanick2011-03-013-9620/+0
| | | | These files were for the ARB_vertex_program / ARB_fragement_program assembler.
* glcpp: Remove files generated by flex and bison from GITIan Romanick2011-03-013-7003/+0
|
* glsl: Remove files generated by flex and bison from GITIan Romanick2011-03-013-9482/+0
|
* i915g: kill relocs accoutingDaniel Vetter2011-03-0110-36/+20
| | | | | | | No one ever cared. libdrm does dynamic resizing of its reloc-table, anyway. Signed-off-by: Daniel Vetter <[email protected]>
* i915g: switch to the exact batch space reservation codeDaniel Vetter2011-03-011-18/+5
| | | | Signed-off-by: Daniel Vetter <[email protected]>
* i915g: split up hw state emission into small atomsDaniel Vetter2011-03-012-275/+309
| | | | Signed-off-by: Daniel Vetter <[email protected]>
* st/mesa: probably handle instanced drawingChristian König2011-03-011-12/+23
| | | | Remove the previous workaround for instanced drawing and implement it correctly.
* i915g: fix i915_winsys_batchbuffer_writeDaniel Vetter2011-03-011-1/+1
| | | | Signed-off-by: Daniel Vetter <[email protected]>
* intel: Support glCopyTexImage() from ARGB8888 to XRGB8888.Kenneth Graunke2011-03-011-2/+11
| | | | Nexuiz was hitting a software fallback.
* configure: Bump libdrm requirementsChris Wilson2011-03-011-4/+4
| | | | | | | | | In my last commit I introduced a build dependency upon a new libdrm. Add the associated autoconf checks. As the headers are part of the core libdrm, we need to bump that version and so may as well bump the chipset specific versions simultaneously. Signed-off-by: Chris Wilson <[email protected]>
* r300g: initialize some r500 PS3 regsMarek Olšák2011-03-013-5/+18
|
* r300g: document some more DRM 2.8.0 featuresMarek Olšák2011-03-011-1/+1
|
* i965: Use negative relocation deltas to minimse vertex uploadsChris Wilson2011-03-014-8/+27
| | | | | | | | | | | | With relaxed relocation checking in the kernel, we can specify a negative delta (i.e. pointing outside of the target bo) in order to fake a range in a large buffer. We only then need to upload the elements used and adjust the buffer offset such that they correspond with the indices used in the DrawArrays. (Depends on libdrm 0209428b3918c4336018da9293cdcbf7f8fedfb6) Signed-off-by: Chris Wilson <[email protected]>
* i965: Undo 'continuation of vb packets'Chris Wilson2011-03-011-1/+1
| | | | | This breaks nexuiz for unknown reason; disable until a true fix can be found.
* i965: Fix uploading of shortened vertex packetsChris Wilson2011-03-011-12/+13
| | | | | | ... handle all cases and not just the interleaved upload. Signed-off-by: Chris Wilson <[email protected]>