summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dri/nouveau: nv10: Use rules-ng-ng headersViktor Novotný2010-11-159-231/+228
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: nv04: Use rules-ng-ng headersViktor Novotný2010-11-158-17/+23
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Import headers from rules-ng-ngViktor Novotný2010-11-156-0/+6200
| | | | Signed-off-by: Francisco Jerez <[email protected]>
* evergreen: set gl_texture_image::TexFormat field in evergreenSetTexBuffer()Brian Paul2010-11-151-0/+4
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
* r300: set gl_texture_image::TexFormat field in r300SetTexBuffer2()Brian Paul2010-11-151-2/+8
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
* r200: set gl_texture_image::TexFormat field in r200SetTexBuffer2()Brian Paul2010-11-151-2/+8
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
* r600: set gl_texture_image::TexFormat field in r600SetTexBuffer2()Brian Paul2010-11-151-0/+4
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch.
* radeon: set gl_texture_image::TexFormat field in radeonSetTexBuffer2()Brian Paul2010-11-151-2/+8
| | | | | | See https://bugs.freedesktop.org/show_bug.cgi?id=31544 Note: this is a candidate for the 7.9 branch
* Makefile: don't include the same files twice in the tarballJulien Cristau2010-11-151-5/+1
| | | | | | | | | | | src/mesa/drivers/dri/*/*/*.[chS] is a superset of src/mesa/drivers/dri/*/server/*.[ch] and src/mesa/drivers/dri/common/xmlpool/*.[ch]. include/GL/internal/glcore.h is already in MAIN_FILES, no need for it in DRI_FILES too. src/glx/Makefile was listed twice. Signed-off-by: Julien Cristau <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* radeon: fix potential segfault in renderbuffer updateDaniel Lichtenberger2010-11-151-2/+1
| | | | | | | Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31617 Signed-off-by: Alex Deucher <[email protected]>
* r300g: return shader caps from Draw for SWTCL vertex shadersMarek Olšák2010-11-141-0/+6
|
* r300g: clean up redundancy in draw functionsMarek Olšák2010-11-141-57/+45
|
* i965: Fix gl_FragCoord inversion when drawing to an FBO.Eric Anholt2010-11-143-3/+6
| | | | | | This showed up as cairo-gl gradients being inverted on everyone but Intel, where I'd apparently tweaked the transformation to work around the bug. Fixes piglit fbo-fragcoord.
* i965: Silence uninitialized variable warning.Vinson Lee2010-11-131-0/+1
| | | | | | Silences this GCC warning. brw_fs.cpp: In member function 'void fs_visitor::split_virtual_grfs()': brw_fs.cpp:2516: warning: unused variable 'reg'
* r300g: fix texture border color for all texture formatsMarek Olšák2010-11-131-33/+31
| | | | | | | This fixes 8 texwrap format tests. The code should handle arbitrary formats now and is cleaner. NOTE: This is a candidate for the 7.9 branch.
* mesa: Clean up header file inclusion in points.h.Vinson Lee2010-11-131-1/+3
|
* mesa: consolidate assertions in teximage codeBrian Paul2010-11-121-10/+1
|
* svga: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+13
| | | | | As per the ps_3_0 and vs_3_0 documentation. The aL register in D3D9 is quite tricky to use, though.
* r600g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* r300g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+11
| | | | | To match shader model 2.0 (it's impossible to fully implement ARL with shader model 3.0 relative addressing).
* nvfx: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+11
| | | | To match shader model 2.0.
* nv50: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* i965g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* i915g: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* tgsi: fill out CAPs for indirect addressingMarek Olšák2010-11-121-0/+5
|
* gallium: add CAPs for indirect addressing and lower it in st/mesa when neededMarek Olšák2010-11-122-0/+14
| | | | | | | | | | Required because ATI and NVIDIA DX9 GPUs do not support indirect addressing of temps, inputs, outputs, and consts (FS-only) or the hw support is so limited that we cannot use it. This should make r300g and possibly nvfx more feature complete. Signed-off-by: Marek Olšák <[email protected]>
* tdfx: s/Format/_BaseFormat/Brian Paul2010-11-111-2/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560
* glsl: Free the loop state context when we free the loop state.Eric Anholt2010-11-111-0/+1
| | | | | | | | Since this was talloced off of NULL instead of the compile state, it was a real leak over the course of the program. Noticed with valgrind --leak-check=full --show-reachable=yes. We should really change these passes to generally get the compile context as an argument so simple mistakes like this stop mattering.
* mesa: fix glDeleteBuffers() regressionBrian Paul2010-11-111-2/+2
| | | | | | | | This fixes a regression (failed assertion) from commit c552f273f559968dfd770367e25329baccbcd0c4 which was hit if glDeleteBuffers() was called on a buffer that was never bound. NOTE: this is a candidate for the 7.9 branch.
* mesa: make glIsBuffer() return false for never bound buffersBrian Paul2010-11-111-14/+18
| | | | | | | Use a dummy buffer object as we do for frame/renderbuffer objects. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31514 Note: this is a candidate for the 7.9 branch.
* glsl: fix crash in loop analysis when some controls can't be determinedAras Pranckevicius2010-11-111-0/+3
| | | | Fixes loop-07.frag.
* r600g: enforce minimum stride on render target texture imagesKeith Whitwell2010-11-111-0/+4
| | | | Fixes piglit/fbo_readpixels since staging upload changes.
* r600g: do not try to use staging resource for depth texturesKeith Whitwell2010-11-111-0/+9
| | | | | | Currently r600_resource_copy_region() will turn these copies into transfers + memcpys, so to avoid recursion we must not turn those transfers back into blits.
* mesa: handle more pixel types in mipmap generation codeBrian Paul2010-11-111-0/+166
| | | | NOTE: This is a candidate for the 7.9 branch.
* mesa: add missing formats in _mesa_format_to_type_and_comps()Brian Paul2010-11-111-1/+26
| | | | NOTE: this is a candidate for the 7.9 branch
* mesa: improve error messageBrian Paul2010-11-111-1/+2
|
* mesa: #include mfeatures.h in enums.hBrian Paul2010-11-111-0/+1
|
* r600g: guard experimental s3tc code with R600_ENABLE_S3TCKeith Whitwell2010-11-111-0/+9
|
* nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORTLucas Stach2010-11-111-0/+4
| | | | | Signed-off-by: Lucas Stach <[email protected]> Signed-off-by: Francisco Jerez <[email protected]>
* dri/nouveau: Split hardware/software TNL instantiation more cleanly.Francisco Jerez2010-11-119-66/+84
|
* mesa: Fix printf format warnings.Vinson Lee2010-11-101-1/+1
|
* mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisampleIan Romanick2010-11-101-2/+2
| | | | | | | | | | | | | Previously queries of MAX_SAMPLES were only allowed with ARB_framebuffer_object, but EXT_framebuffer_multisample also enables this query. This seems to only effect the i915. All other drivers support both extensions or neither extension. This patch is based on a patch that Kenneth sent along with the report. NOTE: this is a candidate for the 7.9 branch. Reported-by: Kenneth Waters <[email protected]>
* libgl-xlib: Use sw helper instead of roll your ownJakob Bornecrantz2010-11-101-78/+12
|
* graw: Use inline sw helper instead of roll your own loaderJakob Bornecrantz2010-11-102-42/+4
|
* galahad: Correct the name of the scons libraryJakob Bornecrantz2010-11-101-1/+1
|
* r600g: allow driver to work without submitting cmd to GPUJerome Glisse2010-11-101-0/+2
| | | | | | | | For driver performance analysis it usefull to be able to disable as much as possible the GPU interaction so that one can profile the userspace only. Signed-off-by: Jerome Glisse <[email protected]>
* intel: Add a new B43 pci id.Robert Hooker2010-11-102-1/+4
| | | | Signed-off-by: Robert Hooker <[email protected]>
* i965: re-enable gen6 IF statements in the fragment shader.Eric Anholt2010-11-102-6/+1
| | | | | | | | | | | | | | | | | | IF statements were getting flattened while they were broken. With Zhenyu's last fix for ENDIF's type, everything appears to have lined up to actually work. This regresses two tests: glsl1-! (not) operator (1, fail) glsl1-! (not) operator (1, pass) but fixes tests that couldn't work before because the IFs couldn't be flattened: glsl-fs-discard-01 occlusion-query-discard (and, naturally, this should be a performance improvement for apps that actually use IF statements to avoid executing a bunch of code).
* i965: Work around strangeness in swizzling/masking of gen6 math.Eric Anholt2010-11-101-11/+58
| | | | | | | | | | | | | | | | | | | | Sometimes we swizzled in a different channel it looked like, and sometimes we swizzled in zero. Or something. Having looked at the output of another code generator for this chip, this is approximately what they do, too: use align1 math on temporaries, and then move the results into place. Fixes: glean/vp1-EX2 test glean/vp1-EXP test glean/vp1-LG2 test glean/vp1-RCP test (reciprocal) glean/vp1-RSQ test 1 (reciprocal square root) shaders/glsl-cos shaders/glsl-sin shaders/glsl-vs-masked-cos shaders/vpfp-generic/vp-exp-alias
* meta: Handle bitmaps with alpha test enabled.Francisco Jerez2010-11-101-6/+35
| | | | Acked-by: Brian Paul <[email protected]>