summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-05-02r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)Marek Olšák
These two should be tied together because what's set in VAP or stuffed in GA should be rasterized in RS. Not doing so causes a hardlock. The reason for the merge is that if stuffed texture coordinates (e.g. point sprite texgen) happen to occupy the texcoord slot dedicated to fog or wpos, the two must be relocated to other free slots, which needs remapping the vertex shader outputs. The rasterizer code is now literally a sequence read-rasterize-write.
2010-05-02r300g: inline update_derived_shader_stateMarek Olšák
2010-05-02r300g: fix segfault when resizing a DRI2 framebufferMarek Olšák
Resetting tiling flags might happen after a texture is destroyed... Looking at the kernel sources, we don't actually need to reset the tiling flags.
2010-05-02r300g: cache tiling flags to reduce the number of DRM callsMarek Olšák
2010-05-02mesa: s/sprintf/_mesa_snprintf/Vinson Lee
2010-05-02i965g: s/sprintf/util_snprintf/Vinson Lee
2010-05-01glsl: s/sprintf/_mesa_snprintf/Vinson Lee
2010-05-01glapi: s/strcpy/strncpy/Vinson Lee
2010-05-01llvmpipe: Remove unused variable.Vinson Lee
2010-05-01swrastg: Use traceJakob Bornecrantz
2010-04-30nv50: raise constant buffers size to maximumChristoph Bumiller
Removed the param heaps, haven't been using them for a long time now.
2010-04-30nv50: relax restriction on surface_copy format equality a bitChristoph Bumiller
2010-04-30nv50: don't segfault on OPCODE_END for empty programsChristoph Bumiller
2010-04-30llvmpipe: fix out-of-bounds texture samplingBrian Paul
If we're using a wrap mode in which border color sampling is possible it means that texcoords may be outside of the texture image bounds. Fetching the texel may result in a segfault. Use the 'use_border' variable to catch such texcoords and replace the texel offset with zero (which will be in bounds). Fixes segfault in Lightsmark demo, fd.o bug 27877.
2010-04-30llvmpipe: added lp_build_sample_nop() for debuggingBrian Paul
2010-04-30Merge commit 'origin/master' into gallium-msaaRoland Scheidegger
2010-04-29st/mesa: remove unused/disabled codeBrian Paul
2010-04-29mesa: added _mesa_print_framebuffer() for debuggingBrian Paul
2010-04-29i965: Reject shaders with uninlined function calls instead of hanging.Eric Anholt
Most of the failure from using uninlined function calls ends up being just bad rendering, but nested function calls in the VS currently hang the GPU, so reject them and explain why.
2010-04-29mesa: Don't overwrite a driver's shader infolog with generic failure message.Eric Anholt
2010-04-29util: Update caps after helpfull inputJakob Bornecrantz
In no particular order: * Make list const * Add function comments * Clearly state that demo lists are not complete * Fix whitespace * Use __FUNCTION__ instead of __func__ * Add unimplemented check which always fail Thanks Brian and Keith.
2010-04-29util: Add small caps checker helperJakob Bornecrantz
2010-04-29util: Format error format string as the rest of the pipe formatsJakob Bornecrantz
2010-04-29softpipe & llvmpipe: Enable SM3 capJakob Bornecrantz
2010-04-29draw llvm: stay in bounds even if fetch_count % 4 != 0Zack Rusin
if fetch_count % 4 != 0 then on the last iteration we fetch garbage. this patch makes sure we stay within bounds
2010-04-29cso: remove commented-out code, update function docsBrian Paul
2010-04-29gallivm: add some assertions in special-case sampler codeBrian Paul
2010-04-29i965: Fix cube map layouts on Ironlake.Eric Anholt
We were doubling up the offsets for the mipmap levels for CPU access. Instead of reimplementing i945_miptree_layout_2d with 6 cube images separated by qpitch, share that function and provide the level offsets later. Fixes piglit cubemap and fbo-cubemap.
2010-04-29i965: Implement VS MAX in a more obvious way.Eric Anholt
This should be functionally equivalent, with the possible exception of NaN handling.
2010-04-29i965: Use immediate float operands for some VS instructions.Eric Anholt
We could use this to reduce constant register pressure, but for now it makes the resulting program assembly much more readable.
2010-04-29llvmpipe: fix texture/display target memory leakBrian Paul
2010-04-29st/xorg: Try hard to not touch hardware after dropping the masterJakob Bornecrantz
2010-04-29st/xorg: Remove save and restore hw stateJakob Bornecrantz
2010-04-29st/xorg: Get new connection status from kernelJakob Bornecrantz
2010-05-19egl: Link drivers back to libEGL.Chia-I Wu
Drivers need symbols from libEGL. Without back-linking, the build fails on Cygwin.
2010-05-19gallium/docs: s/milli/nano/Mathias Fröhlich
2010-05-19graw: Disable build of tests/graw.Vinson Lee
The SCons build is failing in src/gallium/tests/graw.
2010-05-19fpclassify is available on C99-compliant Solaris releases tooAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-19util: Remove unused imports from Python scripts.Vinson Lee
2010-05-19util: Remove unnecessary semicolons in Python scripts.Vinson Lee
2010-05-19Merge commit 'origin/graw-tests'Keith Whitwell
2010-05-19softpipe: Calculate slice_stride field in get_transfer().Michal Krol
2010-05-19tgsi: Implement OPCODE_DIV.Michal Krol
2010-05-18dri2_glx: Put the invalidate b/c code back inKristian Høgsberg
The backwards compatibility code calls the DRI driver invalidate hook on swap buffer and flush front buffer. This lets the DRI driver rely on invalidate callbacks and drop the glViewport() hack, even if the server doesn't send invalidate events. This is essentially a revert of 2d00d16da7f5d2255cb37b48edaf4cbb9ca7e930, except that we now also pass the __DRI_USE_INVALIDATE extension even when the server doesn't have DRI2 invalidate events.
2010-05-18dri2_glx: Terminate loader extension list outside #ifdefKristian Høgsberg
2010-05-19r300/compiler: Implement constant foldingNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2010-05-19r300/compiler: Emit 0.5 swizzle when necessary.Tom Stellard
Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-05-18i965: Remove constant or ignored-by-hw args from FF sync message setup.Eric Anholt
2010-05-18i965: Revert accidental debug change in 562e2d114ec0cba8Eric Anholt
2010-05-18st/xorg: Don't advertise DRI2 version we don't actually support yet.Michel Dänzer
Fixes DRI2 initialization with current xserver Git.