summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* tgsi: Update assert.José Fonseca2011-03-031-1/+1
| | | | | Elements(mach->Inputs) is wrong now that mach->Inputs is dynamically allocated.
* glcpp: Remove trailing contexts from #if rules.Kenneth Graunke2011-03-031-6/+6
| | | | These are now unnecessary.
* glcpp: Rework lexer to use a SKIP state rather than REJECT.Kenneth Graunke2011-03-031-21/+16
| | | | | | | | | | | | | | | | | | | Previously, the rule deleted by this commit was matched every single time (being the longest match). If not skipping, it used REJECT to continue on to the actual correct rule. The flex manual advises against using REJECT where possible, as it is one of the most expensive lexer features. So using it on every match seems undesirable. Perhaps more importantly, it made it necessary for the #if directive rules to contain a look-ahead pattern to make them as long as the (now deleted) "skip the whole line" rule. This patch introduces an exclusive start state, SKIP, to avoid REJECTs. Each time the lexer is called, the code at the top of the rules section will run, implicitly switching the state to the correct one. Fixes piglit tests 16384-consecutive-chars.frag and 16385-consecutive-chars.frag.
* glcpp/tests: Update 063-comments.c.expected to match output.Kenneth Graunke2011-03-031-0/+7
| | | | | | | The expected result has been out of sync with what glcpp produces for some time; glcpp's actual result seems to be correct and is very close to GCC's cpp. Updating this will make it easier to catch regressions in upcoming commits.
* rbug: Fix depth stencil surface not being sent to the clientJakob Bornecrantz2011-03-031-0/+3
|
* scons: More tweaks to fix MinGW build.José Fonseca2011-03-032-6/+17
|
* scons: Ensure generated headers are in the include path.José Fonseca2011-03-032-0/+7
|
* i965: SNB GT1 has only 32k urb and max 128 urb entries.Zou Nan hai2011-03-032-4/+19
| | | | Signed-off-by: Zou Nan hai <[email protected]>
* glsl: Remove unused glcpp/Makefile.am.Kenneth Graunke2011-03-021-44/+0
| | | | This is a remnant of when glsl2 lived in its own repository.
* glsl: Remove 'tests' subfolder.Kenneth Graunke2011-03-0270-631/+0
| | | | These have long since moved to piglit and aren't useful to have here.
* r600g: correct mega_fetch_count in fetch shaderChristian König2011-03-031-1/+1
|
* tgsi: defer allocation of huge inputs/outputs until we have a gsZack Rusin2011-03-022-6/+45
|
* egl_dri2 x11: Workaround device_name xcb-dri2 bugBenjamin Franzke2011-03-021-5/+13
| | | | | | | | | This commit is basically a copy-over of the fix Chia-I Wu's commited to wayland: http://cgit.freedesktop.org/wayland/wayland-demos/commit/?id=1b6c0ed95 "Workaround an xcb-dri2 bug. xcb_dri2_connect_device_name generated by xcb-proto 1.6 is broken. It only works when the length of the driver name is a multiple of 4."
* egl/wayland: build subdirs (wayland-drm) before dependBenjamin Franzke2011-03-021-1/+1
| | | | Autogenerated files need to be generated first.
* r300g: require DRM 2.3.0 (kernel 2.6.34)Marek Olšák2011-03-0211-109/+66
| | | | Running any older kernel is not recommended anyway.
* r300g: do not use ioctl thread offloading on single-core machinesMarek Olšák2011-03-023-1/+4
|
* 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-0121-23/+622
|
* Add generated parser / lexer files to gitignore listsIan Romanick2011-03-013-0/+9
|
* 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
|