summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300g: always set the pitch of the first miplevel in the tiling flagsMarek Olšák2010-05-021-2/+2
| | | | This further reduces the number of DRM calls and flushes.
* Revert "r300g: disable point sprites (again)"Marek Olšák2010-05-021-4/+1
| | | | This reverts commit 3e0f1719d411b34f77fd2a053ecf83b43bb836ca.
* r300g: merge VS output mapping state (VAP) to rasterizer block state (RS)Marek Olšák2010-05-028-207/+96
| | | | | | | | | | | | 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.
* r300g: inline update_derived_shader_stateMarek Olšák2010-05-021-12/+5
|
* r300g: fix segfault when resizing a DRI2 framebufferMarek Olšák2010-05-021-37/+4
| | | | | | 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.
* r300g: cache tiling flags to reduce the number of DRM callsMarek Olšák2010-05-021-6/+9
|
* mesa: s/sprintf/_mesa_snprintf/Vinson Lee2010-05-026-12/+12
|
* i965g: s/sprintf/util_snprintf/Vinson Lee2010-05-021-5/+6
|
* glsl: s/sprintf/_mesa_snprintf/Vinson Lee2010-05-017-29/+29
|
* glapi: s/strcpy/strncpy/Vinson Lee2010-05-011-1/+2
|
* llvmpipe: Remove unused variable.Vinson Lee2010-05-011-2/+0
|
* progs/tests: Remove meaningless const qualifiers.Vinson Lee2010-05-0112-12/+12
|
* swrastg: Use traceJakob Bornecrantz2010-05-012-2/+4
|
* progs/demos: Remove meaningless const qualifier in vao_demo.c.Vinson Lee2010-05-011-1/+1
|
* nv50: raise constant buffers size to maximumChristoph Bumiller2010-04-303-15/+10
| | | | | Removed the param heaps, haven't been using them for a long time now.
* nv50: relax restriction on surface_copy format equality a bitChristoph Bumiller2010-04-301-1/+27
|
* nv50: don't segfault on OPCODE_END for empty programsChristoph Bumiller2010-04-301-5/+6
|
* llvmpipe: fix out-of-bounds texture samplingBrian Paul2010-04-301-0/+12
| | | | | | | | | | | 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.
* llvmpipe: added lp_build_sample_nop() for debuggingBrian Paul2010-04-301-7/+29
|
* svga: Fix index offsetJakob Bornecrantz2010-04-211-2/+3
|
* st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium texturesBrian Paul2010-04-307-81/+122
| | | | | | | | | | | | | | | 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.
* draw: Fix memory leaks in llvm code.José Fonseca2010-04-302-0/+26
|
* x86-64: Make assembly routines .hidden like on x86Adam Jackson2010-04-301-0/+8
|
* svga: Init surface functionsJakob Bornecrantz2010-04-201-0/+1
|
* util: Add missing break statement in u_caps.cJakob Bornecrantz2010-04-301-0/+1
| | | | Thanks Vinson.
* st/mesa: remove unused/disabled codeBrian Paul2010-04-292-48/+0
|
* mesa: added _mesa_print_framebuffer() for debuggingBrian Paul2010-04-292-0/+44
|
* i965: Reject shaders with uninlined function calls instead of hanging.Eric Anholt2010-04-291-1/+33
| | | | | | 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.
* mesa: Don't overwrite a driver's shader infolog with generic failure message.Eric Anholt2010-04-291-1/+4
|
* util: Update caps after helpfull inputJakob Bornecrantz2010-04-292-19/+61
| | | | | | | | | | | | 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.
* util: Add small caps checker helperJakob Bornecrantz2010-04-294-0/+271
|
* util: Format error format string as the rest of the pipe formatsJakob Bornecrantz2010-04-291-1/+1
|
* softpipe & llvmpipe: Enable SM3 capJakob Bornecrantz2010-04-292-0/+4
|
* draw llvm: stay in bounds even if fetch_count % 4 != 0Zack Rusin2010-04-291-2/+16
| | | | | if fetch_count % 4 != 0 then on the last iteration we fetch garbage. this patch makes sure we stay within bounds
* cso: remove commented-out code, update function docsBrian Paul2010-04-291-1/+4
|
* gallivm: add some assertions in special-case sampler codeBrian Paul2010-04-291-0/+5
|
* i965: Fix cube map layouts on Ironlake.Eric Anholt2010-04-294-68/+24
| | | | | | | | | 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.
* i965: Implement VS MAX in a more obvious way.Eric Anholt2010-04-291-3/+3
| | | | | This should be functionally equivalent, with the possible exception of NaN handling.
* i965: Use immediate float operands for some VS instructions.Eric Anholt2010-04-291-0/+86
| | | | | We could use this to reduce constant register pressure, but for now it makes the resulting program assembly much more readable.
* llvmpipe: fix texture/display target memory leakBrian Paul2010-04-291-0/+5
|
* gallium/draw: Fix PPC compiler warning.Michel Dänzer2010-04-291-1/+1
|
* gallium/draw: Fix PPC build failure.Michel Dänzer2010-04-291-1/+1
|
* r300g: fix compiler errorMarek Olšák2010-04-291-2/+1
| | | | Ouch.
* r300g: use the enum for color swizzles in the rasterizerMarek Olšák2010-04-291-8/+10
|
* r300g: rasterizer debug loggingMarek Olšák2010-04-293-2/+34
|
* r300g: fix tests/yuvrect and possibly even rendering to YUV texturesMarek Olšák2010-04-292-3/+9
|
* r300g: enable the RGBA16F renderbuffer tooMarek Olšák2010-04-291-1/+1
|
* r300g: enable float texturesMarek Olšák2010-04-291-9/+0
| | | | We still need to wait for state tracker support.
* r300g: compose swizzles from texture formats and sampler viewsMarek Olšák2010-04-293-22/+14
|
* r300g: init s3tc fetching functionsMarek Olšák2010-04-291-0/+3
|