Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300g: always set the pitch of the first miplevel in the tiling flags | Marek Olšák | 2010-05-02 | 1 | -2/+2 |
| | | | | This further reduces the number of DRM calls and flushes. | ||||
* | Revert "r300g: disable point sprites (again)" | Marek Olšák | 2010-05-02 | 1 | -4/+1 |
| | | | | This reverts commit 3e0f1719d411b34f77fd2a053ecf83b43bb836ca. | ||||
* | r300g: merge VS output mapping state (VAP) to rasterizer block state (RS) | Marek Olšák | 2010-05-02 | 8 | -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_state | Marek Olšák | 2010-05-02 | 1 | -12/+5 |
| | |||||
* | r300g: fix segfault when resizing a DRI2 framebuffer | Marek Olšák | 2010-05-02 | 1 | -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 calls | Marek Olšák | 2010-05-02 | 1 | -6/+9 |
| | |||||
* | mesa: s/sprintf/_mesa_snprintf/ | Vinson Lee | 2010-05-02 | 6 | -12/+12 |
| | |||||
* | i965g: s/sprintf/util_snprintf/ | Vinson Lee | 2010-05-02 | 1 | -5/+6 |
| | |||||
* | glsl: s/sprintf/_mesa_snprintf/ | Vinson Lee | 2010-05-01 | 7 | -29/+29 |
| | |||||
* | glapi: s/strcpy/strncpy/ | Vinson Lee | 2010-05-01 | 1 | -1/+2 |
| | |||||
* | llvmpipe: Remove unused variable. | Vinson Lee | 2010-05-01 | 1 | -2/+0 |
| | |||||
* | progs/tests: Remove meaningless const qualifiers. | Vinson Lee | 2010-05-01 | 12 | -12/+12 |
| | |||||
* | swrastg: Use trace | Jakob Bornecrantz | 2010-05-01 | 2 | -2/+4 |
| | |||||
* | progs/demos: Remove meaningless const qualifier in vao_demo.c. | Vinson Lee | 2010-05-01 | 1 | -1/+1 |
| | |||||
* | nv50: raise constant buffers size to maximum | Christoph Bumiller | 2010-04-30 | 3 | -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 bit | Christoph Bumiller | 2010-04-30 | 1 | -1/+27 |
| | |||||
* | nv50: don't segfault on OPCODE_END for empty programs | Christoph Bumiller | 2010-04-30 | 1 | -5/+6 |
| | |||||
* | llvmpipe: fix out-of-bounds texture sampling | Brian Paul | 2010-04-30 | 1 | -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 debugging | Brian Paul | 2010-04-30 | 1 | -7/+29 |
| | |||||
* | svga: Fix index offset | Jakob Bornecrantz | 2010-04-21 | 1 | -2/+3 |
| | |||||
* | st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium textures | Brian Paul | 2010-04-30 | 7 | -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é Fonseca | 2010-04-30 | 2 | -0/+26 |
| | |||||
* | x86-64: Make assembly routines .hidden like on x86 | Adam Jackson | 2010-04-30 | 1 | -0/+8 |
| | |||||
* | svga: Init surface functions | Jakob Bornecrantz | 2010-04-20 | 1 | -0/+1 |
| | |||||
* | util: Add missing break statement in u_caps.c | Jakob Bornecrantz | 2010-04-30 | 1 | -0/+1 |
| | | | | Thanks Vinson. | ||||
* | st/mesa: remove unused/disabled code | Brian Paul | 2010-04-29 | 2 | -48/+0 |
| | |||||
* | mesa: added _mesa_print_framebuffer() for debugging | Brian Paul | 2010-04-29 | 2 | -0/+44 |
| | |||||
* | i965: Reject shaders with uninlined function calls instead of hanging. | Eric Anholt | 2010-04-29 | 1 | -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 Anholt | 2010-04-29 | 1 | -1/+4 |
| | |||||
* | util: Update caps after helpfull input | Jakob Bornecrantz | 2010-04-29 | 2 | -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 helper | Jakob Bornecrantz | 2010-04-29 | 4 | -0/+271 |
| | |||||
* | util: Format error format string as the rest of the pipe formats | Jakob Bornecrantz | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | softpipe & llvmpipe: Enable SM3 cap | Jakob Bornecrantz | 2010-04-29 | 2 | -0/+4 |
| | |||||
* | draw llvm: stay in bounds even if fetch_count % 4 != 0 | Zack Rusin | 2010-04-29 | 1 | -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 docs | Brian Paul | 2010-04-29 | 1 | -1/+4 |
| | |||||
* | gallivm: add some assertions in special-case sampler code | Brian Paul | 2010-04-29 | 1 | -0/+5 |
| | |||||
* | i965: Fix cube map layouts on Ironlake. | Eric Anholt | 2010-04-29 | 4 | -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 Anholt | 2010-04-29 | 1 | -3/+3 |
| | | | | | This should be functionally equivalent, with the possible exception of NaN handling. | ||||
* | i965: Use immediate float operands for some VS instructions. | Eric Anholt | 2010-04-29 | 1 | -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 leak | Brian Paul | 2010-04-29 | 1 | -0/+5 |
| | |||||
* | gallium/draw: Fix PPC compiler warning. | Michel Dänzer | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | gallium/draw: Fix PPC build failure. | Michel Dänzer | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | r300g: fix compiler error | Marek Olšák | 2010-04-29 | 1 | -2/+1 |
| | | | | Ouch. | ||||
* | r300g: use the enum for color swizzles in the rasterizer | Marek Olšák | 2010-04-29 | 1 | -8/+10 |
| | |||||
* | r300g: rasterizer debug logging | Marek Olšák | 2010-04-29 | 3 | -2/+34 |
| | |||||
* | r300g: fix tests/yuvrect and possibly even rendering to YUV textures | Marek Olšák | 2010-04-29 | 2 | -3/+9 |
| | |||||
* | r300g: enable the RGBA16F renderbuffer too | Marek Olšák | 2010-04-29 | 1 | -1/+1 |
| | |||||
* | r300g: enable float textures | Marek Olšák | 2010-04-29 | 1 | -9/+0 |
| | | | | We still need to wait for state tracker support. | ||||
* | r300g: compose swizzles from texture formats and sampler views | Marek Olšák | 2010-04-29 | 3 | -22/+14 |
| | |||||
* | r300g: init s3tc fetching functions | Marek Olšák | 2010-04-29 | 1 | -0/+3 |
| |