Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | nv50: Fix m2mf positions. | Marcin Kościelnicki | 2009-09-14 | 1 | -2/+2 |
| | |||||
* | llvmpipe: Make lp_type a regular union. | José Fonseca | 2009-09-14 | 36 | -272/+270 |
| | | | | | Union not worth the hassle of violating C99 or adding a name to the structure. | ||||
* | llvmpipe: Compute derivatives. | José Fonseca | 2009-09-13 | 1 | -4/+87 |
| | |||||
* | llvmpipe: Remove dead references to pipe_winsys. | José Fonseca | 2009-09-13 | 1 | -4/+1 |
| | |||||
* | llvmpipe: Use const keyword for input array arguments. | José Fonseca | 2009-09-13 | 4 | -11/+12 |
| | |||||
* | llvmpipe: Delay storing into the dst register to prevent clobbering the src ↵ | José Fonseca | 2009-09-13 | 1 | -134/+103 |
| | | | | | | | registers. How I'm thankful for regular expressions -- just a couple of them were all that was needed to do this otherwise tiresome and bug prone change. | ||||
* | llvmpipe: Translate more TGSI opcodes. | José Fonseca | 2009-09-13 | 1 | -23/+116 |
| | | | | | Basically cover all low hanging fruit, and mark the still missing opcodes as "fixme" or deprecated. | ||||
* | llvmpipe: Add a few more common arithmetic functions. | José Fonseca | 2009-09-13 | 2 | -0/+111 |
| | | | | | We are relying on SSE4.1 for round/trunc/ceil/floor. We'll need to eventually find alternatives for the rest of the world. | ||||
* | llvmpipe: Rename function to free up lp_build_trunc to the usual arithmetic ↵ | José Fonseca | 2009-09-13 | 1 | -7/+7 |
| | | | | meaning. | ||||
* | r300g: delete unused flag due to commit: 09b566e1610 | Cooper Yuan | 2009-09-13 | 1 | -1/+0 |
| | |||||
* | r300g: There is no such thing as "texture stride" | Nicolai Hähnle | 2009-09-12 | 6 | -24/+47 |
| | | | | | | | | | Individual texture images have a stride, but textures as a whole do not. There are still pieces of code which are confused about this, but the core of the confusion is hopefully gone. Signed-off-by: Nicolai Hähnle <[email protected]> | ||||
* | r300g: only allocate one BO for vertex buffers, default size is 64*1024 | Cooper Yuan | 2009-09-11 | 1 | -35/+33 |
| | | | | it can fix redbook/sceneflat, scene, scenebamb, surface, nurbs and so on | ||||
* | llvmpipe: set dirty_render_cache in llvmpipe_clear() | José Fonseca | 2009-09-11 | 1 | -0/+1 |
| | | | | | | Based on Brian's softpipe change on commit 988db641195819c948249a1bb2d59f13577a482f. We don't use the tile cache for zsbuf though, only for color buffers. | ||||
* | llvmpipe: Update status in README and TODO/FIXME comments throughout the code. | José Fonseca | 2009-09-11 | 9 | -36/+36 |
| | |||||
* | softpipe: remove no-op softpipe_init_texture_funcs() function | Brian Paul | 2009-09-10 | 3 | -10/+0 |
| | |||||
* | softpipe: remove unused #includes, move comment | Brian Paul | 2009-09-10 | 1 | -7/+1 |
| | |||||
* | softpipe: reformatting, clean-ups, comments | Brian Paul | 2009-09-10 | 2 | -15/+30 |
| | |||||
* | softpipe: remove unneeded #includes | Brian Paul | 2009-09-10 | 2 | -3/+0 |
| | |||||
* | Merge branch 'mesa_7_6_branch' | Brian Paul | 2009-09-10 | 1 | -1/+3 |
|\ | |||||
| * | Merge branch 'mesa_7_5_branch' into mesa_7_6_branch | Brian Paul | 2009-09-10 | 1 | -1/+3 |
| |\ | |||||
| | * | softpipe: minor indentation fix | Brian Paul | 2009-09-10 | 1 | -1/+1 |
| | | | |||||
| | * | softpipe: set dirty_render_cache in softpipe_clear() | Brian Paul | 2009-09-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | This fixes a bug seen when doing a glDrawPixels(GL_STENCIL_INDEX) right after a glClear(). The check-for-flush test was failing because we didn't set the dirty_render_cache flag in softpipe_clear(). So we saw stale data when we mapped the stencil buffer. | ||||
* | | | nv50: Fix tiling mode for lower mipmap levels. | Marcin Kościelnicki | 2009-09-10 | 3 | -5/+8 |
| | | | |||||
* | | | llvmpipe: Fix alpha test. | José Fonseca | 2009-09-10 | 1 | -26/+13 |
| | | | |||||
* | | | llvmpipe: Mask out color channels not present in the color buffer. | José Fonseca | 2009-09-10 | 1 | -5/+23 |
| | | | |||||
* | | | llvmpipe: Fix sampling from depth textures. Respect texture compare func. | José Fonseca | 2009-09-10 | 2 | -49/+122 |
| | | | | | | | | | | | | Fixes Mesa shadowtex sample. | ||||
* | | | llvmpipe: Skip blending when mask is zero. | José Fonseca | 2009-09-10 | 2 | -13/+30 |
| | | | | | | | | | | | | This increases quake3 timedemo fps another 10%. | ||||
* | | | llvmpipe: Proper control flow builders. | José Fonseca | 2009-09-10 | 3 | -60/+426 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New control flow helper functions which keep track of all variables and generate the correct Phi functions. This re-enables skipping the fs execution of quads masked out by the rasterizer, early z testing, and kill opcode. This yields a performance improvement of around 20%. | ||||
* | | | llvmpipe: Copy the texture target into the sampler static state. | José Fonseca | 2009-09-10 | 1 | -0/+1 |
| | | | | | | | | | | | | Hunk forgotten in previous commit. | ||||
* | | | llvmpipe: Quick hack for 1D textures. | José Fonseca | 2009-09-09 | 2 | -0/+4 |
| | | | |||||
* | | | llvmpipe: Fix depth mask computation. | José Fonseca | 2009-09-09 | 1 | -4/+5 |
| | | | | | | | | | | | | Fixes depth test for 24bit depth formats. | ||||
* | | | llvmpipe: Include zsbuf's format in the fragment shader key. | José Fonseca | 2009-09-09 | 2 | -14/+17 |
| | | | |||||
* | | | llvmpipe: Debug function to check stack alignment. | José Fonseca | 2009-09-09 | 3 | -4/+28 |
| | | | | | | | | | | | | | | | Doing alignment check in locus is redundant, as gcc alignment assumptions will optimize away the check. | ||||
* | | | i915g: Add buffer write callback | Jakob Bornecrantz | 2009-09-09 | 1 | -0/+11 |
| | | | |||||
* | | | i915g: Reorg vbuf code a bit | Jakob Bornecrantz | 2009-09-09 | 1 | -36/+61 |
| | | | |||||
* | | | i915g: Keep vertex buffers in a fifo | Jakob Bornecrantz | 2009-09-09 | 1 | -5/+36 |
| | | | |||||
* | | | scons: Don't set LLVM_VERSION if one of the llvm-config calls fails. | Vinson Lee | 2009-09-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Ubuntu 8.10 has llvm-config version 2.2, which doesn't have nativecodegen. This triggers an exception. | ||||
* | | | llvmpipe: Silent debug statement. | José Fonseca | 2009-09-07 | 1 | -1/+1 |
| | | | |||||
* | | | llvmpipe: Better abs for floating points. | José Fonseca | 2009-09-07 | 1 | -6/+17 |
| | | | |||||
* | | | llvmpipe: Code generate the texture sampling inside the shader. | José Fonseca | 2009-09-07 | 11 | -6/+306 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Finally a substantial performance improvement: framerates of apps using texturing tripled, and furthermore, enabling/disabling texturing only affects around 15% of the framerate, which means the bottleneck is now somewhere else. Generated texture sampling code is not complete though -- we always sample from the base level -- so final figures will be different. | ||||
* | | | llvmpipe: Texture sampling code generation primitives. | José Fonseca | 2009-09-07 | 4 | -0/+478 |
| | | | | | | | | | | | | | | | Only supports single level 2d textures, with neareast and bilinear filtering for now. | ||||
* | | | llvmpipe: Convenience function to obtain the integer type with same bitdepth ↵ | José Fonseca | 2009-09-07 | 2 | -0/+15 |
| | | | | | | | | | | | | of an arbitrary type. | ||||
* | | | llvmpipe: Utility functions for linear and bilinear interpolation. | José Fonseca | 2009-09-07 | 2 | -0/+45 |
| | | | |||||
* | | | llvmpipe: Correct implementation of floor. | José Fonseca | 2009-09-07 | 2 | -0/+95 |
| | | | |||||
* | | | llvmpipe: Utility function to get the pointer to a structure member. | José Fonseca | 2009-09-07 | 2 | -4/+29 |
| | | | |||||
* | | | llvmpipe: SoA pixel unpacking specialization. | José Fonseca | 2009-09-07 | 6 | -39/+252 |
| | | | |||||
* | | | llvmpipe: Further abstract the texture sampling generation from TGSI ↵ | José Fonseca | 2009-09-07 | 5 | -125/+186 |
| | | | | | | | | | | | | translation. | ||||
* | | | r300g: Fix a number of warnings | Nicolai Hähnle | 2009-09-06 | 10 | -10/+23 |
| | | | | | | | | | | | | Seriously guys.... | ||||
* | | | r300g: Debug flags infrastructure | Nicolai Hähnle | 2009-09-06 | 10 | -21/+152 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that debugging is no longer a full-spam-or-nothing approach, you are now supposed to set the RADEON_DEBUG environment flag just like for classic Mesa. The available debug flags are different, however. Just running an OpenGL application with RADEON_DEBUG set to an arbitrary string will print out helpful information. Everything must be compiled with -DDEBUG for any of this to work | ||||
* | | | r300g: update the value of register VAP_VF_MAX_VTX_INDX | Cooper Yuan | 2009-09-05 | 1 | -1/+2 |
| | | | | | | | | | | | | according to actual vertex index count. |