summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-15Makefile: don't include the same files twice in the tarballJulien Cristau
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 <jcristau@debian.org> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-11-15radeon: fix potential segfault in renderbuffer updateDaniel Lichtenberger
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=31617 Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-11-14r300g: return shader caps from Draw for SWTCL vertex shadersMarek Olšák
2010-11-14r300g: clean up redundancy in draw functionsMarek Olšák
2010-11-14i965: Fix gl_FragCoord inversion when drawing to an FBO.Eric Anholt
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.
2010-11-13i965: Silence uninitialized variable warning.Vinson Lee
Silences this GCC warning. brw_fs.cpp: In member function 'void fs_visitor::split_virtual_grfs()': brw_fs.cpp:2516: warning: unused variable 'reg'
2010-11-13r300g: fix texture border color for all texture formatsMarek Olšák
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.
2010-11-13mesa: Clean up header file inclusion in points.h.Vinson Lee
2010-11-12mesa: consolidate assertions in teximage codeBrian Paul
2010-11-12svga: fill out CAPs for indirect addressingMarek Olšák
As per the ps_3_0 and vs_3_0 documentation. The aL register in D3D9 is quite tricky to use, though.
2010-11-12r600g: fill out CAPs for indirect addressingMarek Olšák
2010-11-12r300g: fill out CAPs for indirect addressingMarek Olšák
To match shader model 2.0 (it's impossible to fully implement ARL with shader model 3.0 relative addressing).
2010-11-12nvfx: fill out CAPs for indirect addressingMarek Olšák
To match shader model 2.0.
2010-11-12nv50: fill out CAPs for indirect addressingMarek Olšák
2010-11-12i965g: fill out CAPs for indirect addressingMarek Olšák
2010-11-12i915g: fill out CAPs for indirect addressingMarek Olšák
2010-11-12tgsi: fill out CAPs for indirect addressingMarek Olšák
2010-11-12gallium: add CAPs for indirect addressing and lower it in st/mesa when neededMarek Olšák
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 <maraeo@gmail.com>
2010-11-11tdfx: s/Format/_BaseFormat/Brian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31560
2010-11-11glsl: Free the loop state context when we free the loop state.Eric Anholt
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.
2010-11-11mesa: fix glDeleteBuffers() regressionBrian Paul
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.
2010-11-11mesa: make glIsBuffer() return false for never bound buffersBrian Paul
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.
2010-11-11glsl: fix crash in loop analysis when some controls can't be determinedAras Pranckevicius
Fixes loop-07.frag.
2010-11-11r600g: enforce minimum stride on render target texture imagesKeith Whitwell
Fixes piglit/fbo_readpixels since staging upload changes.
2010-11-11r600g: do not try to use staging resource for depth texturesKeith Whitwell
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.
2010-11-11mesa: handle more pixel types in mipmap generation codeBrian Paul
NOTE: This is a candidate for the 7.9 branch.
2010-11-11mesa: add missing formats in _mesa_format_to_type_and_comps()Brian Paul
NOTE: this is a candidate for the 7.9 branch
2010-11-11mesa: improve error messageBrian Paul
2010-11-11mesa: #include mfeatures.h in enums.hBrian Paul
2010-11-11r600g: guard experimental s3tc code with R600_ENABLE_S3TCKeith Whitwell
2010-11-11nvfx: fill PIPE_CAP_PRIMITIVE_RESTART and PIPE_CAP_SHADER_STENCIL_EXPORTLucas Stach
Signed-off-by: Lucas Stach <dev@lynxeye.de> Signed-off-by: Francisco Jerez <currojerez@riseup.net>
2010-11-11dri/nouveau: Split hardware/software TNL instantiation more cleanly.Francisco Jerez
2010-11-10mesa: Fix printf format warnings.Vinson Lee
2010-11-10mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisampleIan Romanick
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 <kwaters@chromium.org>
2010-11-10libgl-xlib: Use sw helper instead of roll your ownJakob Bornecrantz
2010-11-10graw: Use inline sw helper instead of roll your own loaderJakob Bornecrantz
2010-11-10galahad: Correct the name of the scons libraryJakob Bornecrantz
2010-11-10r600g: allow driver to work without submitting cmd to GPUJerome Glisse
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 <jglisse@redhat.com>
2010-11-10intel: Add a new B43 pci id.Robert Hooker
Signed-off-by: Robert Hooker <robert.hooker@canonical.com>
2010-11-10i965: re-enable gen6 IF statements in the fragment shader.Eric Anholt
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).
2010-11-10i965: Work around strangeness in swizzling/masking of gen6 math.Eric Anholt
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
2010-11-10meta: Handle bitmaps with alpha test enabled.Francisco Jerez
Acked-by: Brian Paul <brianp@vmware.com>
2010-11-10gallivm: implement indirect addressing over inputsZack Rusin
Instead of messing with the callers simply copy our inputs into a alloca array at the beginning of the function and then use it. Reviewed-by: José Fonseca <jfonseca@vmware.com>
2010-11-10mesa: remove unneeded DD_POINT_SIZE and DD_LINE_WIDTH tricapsRoland Scheidegger
DD_POINT_SIZE was broken for quite some time, and the only driver (r200) relying on this no longer needs it. Both DD_POINT_SIZE and DD_LINE_WIDTH have no users left outside of debugging output, hence instead of fixing DD_POINT_SIZE setting just drop both of them - there was a plan to remove tricaps flags entirely at some point.
2010-11-10r200: fix r200 large pointsRoland Scheidegger
DD_POINT_SIZE got never set for some time now (as it was set only in ifdefed out code), which caused the r200 driver to use the point primitive mistakenly in some cases which can only do size 1 instead of point sprite. Since the logic to use point instead of point sprite prim is flaky at best anyway (can't work correctly for per-vertex point size), just drop this and always emit point sprites (except for AA points) - reasons why the driver tried to use points for size 1.0 are unknown though it is possible they are faster or more conformant. Note that we can't emit point sprites without point sprite cntl as that might result in undefined point sizes, hence need drm version check (which was unnecessary before as it should always have selected points). An alternative would be to rely on the RE point size clamp controls which could clamp the size to 1.0 min/max even if the SE point size is undefined, but currently always use 0 for min clamp. (As a side note, this also means the driver does not honor the gl spec which mandates points, but not point sprites, with zero size to be rendered as size 1.) This should fix recent reports of https://bugs.freedesktop.org/show_bug.cgi?id=702. This is a candidate for the mesa 7.9 branch.
2010-11-10egl_dri2: Fix __DRI_DRI2 version 1 support.Chia-I Wu
Correctly set __DRI_API_OPENGL flag.
2010-11-10r300g: turn magic numbers into names in the hyperz codeMarek Olšák
2010-11-10r300g: rename has_hyperz -> can_hyperzMarek Olšák
2010-11-10r300g: mention ATI in the renderer stringMarek Olšák
2010-11-10ws/r600: match bo_busy shared/fence logic in bo_waitKeith Whitwell
Fixes crash in piglit depthrange-clear.