summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-02r300g: always set the pitch of the first miplevel in the tiling flagsMarek Olšák
This further reduces the number of DRM calls and flushes.
2010-05-02Revert "r300g: disable point sprites (again)"Marek Olšák
This reverts commit 3e0f1719d411b34f77fd2a053ecf83b43bb836ca.
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-01progs/tests: Remove meaningless const qualifiers.Vinson Lee
2010-05-01swrastg: Use traceJakob Bornecrantz
2010-05-01progs/demos: Remove meaningless const qualifier in vao_demo.c.Vinson Lee
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-21svga: Fix index offsetJakob Bornecrantz
2010-04-30st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium texturesBrian Paul
Previously, when we created a gallium texture for a corresponding Mesa texture we'd only allocate space for mipmap levels >= BaseLevel. This patch undoes that mechanism. This fixes a render-to-texture bug when rendering to level 0 when BaseLevel=1. Also, it makes sense to allocate the whole texture object memory when BaseLevel > 0 since a common use of GL_TEXTURE_BASE_LEVEL is to progressively load/render mipmaps. Eventually, the app almost always fills in the level=0 mipmap image. Finally, the texture image code is bit easier to understand now.
2010-04-30draw: Fix memory leaks in llvm code.José Fonseca
2010-04-30x86-64: Make assembly routines .hidden like on x86Adam Jackson
2010-04-20svga: Init surface functionsJakob Bornecrantz
2010-04-30util: Add missing break statement in u_caps.cJakob Bornecrantz
Thanks Vinson.
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-29gallium/draw: Fix PPC compiler warning.Michel Dänzer
2010-04-29gallium/draw: Fix PPC build failure.Michel Dänzer
2010-04-29r300g: fix compiler errorMarek Olšák
Ouch.
2010-04-29r300g: use the enum for color swizzles in the rasterizerMarek Olšák
2010-04-29r300g: rasterizer debug loggingMarek Olšák
2010-04-29r300g: fix tests/yuvrect and possibly even rendering to YUV texturesMarek Olšák
2010-04-29r300g: enable the RGBA16F renderbuffer tooMarek Olšák
2010-04-29r300g: enable float texturesMarek Olšák
We still need to wait for state tracker support.
2010-04-29r300g: compose swizzles from texture formats and sampler viewsMarek Olšák
2010-04-29r300g: init s3tc fetching functionsMarek Olšák