Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium/util: remove bogus return statement | Brian Paul | 2010-04-20 | 1 | -1/+1 |
| | | | | util_surfaces_do_detach() is a void-valued function. | ||||
* | gallium: replace pipe_resource::_usage with pipe_resource::usage | Brian Paul | 2010-04-20 | 19 | -23/+23 |
| | |||||
* | nv50: add missing idxbias param to nv50_push_elements_instanced() | Brian Paul | 2010-04-20 | 2 | -4/+5 |
| | |||||
* | llvmpipe: remove call to llvmpipe_set_texture_image_layout() | Brian Paul | 2010-04-20 | 1 | -3/+0 |
| | | | | | This would seem to be needed but caused some regressions. More investigation will be done. | ||||
* | llvmpipe: Re-enable half float formats. | José Fonseca | 2010-04-20 | 1 | -5/+0 |
| | | | | | | They should be working now, both textures and vertex/index/buffers. This reverts commit efc69ca61cf8fe7d2d44d177e7737999b6a114b5. | ||||
* | gallivm: Universal format support on lp_build_fetch_rgba_aos via ↵ | José Fonseca | 2010-04-20 | 5 | -104/+125 |
| | | | | | | util_format_description::fetch_rgba_float This therefore adds support to half float vertex buffers. | ||||
* | gallivm: Cleanups and bugfixes to aos format translation. | José Fonseca | 2010-04-20 | 3 | -259/+126 |
| | |||||
* | draw: Fallback to gallivm for translation of ↵ | José Fonseca | 2010-04-20 | 1 | -4/+20 |
| | | | | | | A8R8G8B8/B8G8R8A8/R10G10B10X2/R10G10B10X2 and other formats. These need swizzles, and bitshifts. | ||||
* | gallivm: New function to fetch a pixel into a 4xfloat AoS vector. | José Fonseca | 2010-04-20 | 2 | -10/+50 |
| | |||||
* | gallivm: Bring aos format back to life. | José Fonseca | 2010-04-20 | 6 | -1/+698 |
| | | | | | | Useful for fetching vertices for formats that are straight arrays. This reverts commit aa364d091e7e2ef2296fb25f92efc79a8c88f77d. | ||||
* | nvfx: Fix typo. | José Fonseca | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | draw: Remove draw_vs_llvm.c. | José Fonseca | 2010-04-20 | 5 | -142/+3 |
| | | | | | | To silence some warnings. Super-seeded by Zack's new llvm middle end. | ||||
* | llvmpipe: silence warning | Alan Hourihane | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | Merge branch 'gallium-index-bias' | José Fonseca | 2010-04-20 | 40 | -159/+254 |
|\ | |||||
| * | draw: No need to rebase for elt_bias. | José Fonseca | 2010-04-20 | 1 | -7/+5 |
| | | | | | | | | | | | | | | As we are rebasing to min_index + elt_bias, and the vertex buffer has no elt_bias. I still don't know how to exercise this code. I hope this is now right. | ||||
| * | draw: Fix cache elt_bias implementation. | José Fonseca | 2010-04-20 | 1 | -5/+8 |
| | | |||||
| * | gallium/docs: Make it clear that minIndex, maxIndex is exclusively a index ↵ | José Fonseca | 2010-04-20 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | buffer characteristic. Unlike the indexBias which is specific to a draw call. This are the semantics of both D3D and GL ARB_draw_elements_base_vertex extension. | ||||
| * | draw: Fix typo resulting from bad regular expression in index bias addition. | José Fonseca | 2010-04-20 | 1 | -4/+4 |
| | | |||||
| * | r300g: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -19/+32 |
| | | |||||
| * | nvfx: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -16/+24 |
| | | |||||
| * | nv50: Adapt for index bias interface change. | José Fonseca | 2010-04-19 | 3 | -6/+11 |
| | | |||||
| * | retrace: Support index bias. | José Fonseca | 2010-04-19 | 1 | -8/+8 |
| | | |||||
| * | mesa/st: Update for index bias interface change. | José Fonseca | 2010-04-19 | 2 | -7/+7 |
| | | |||||
| * | st/python: Use index bias. | José Fonseca | 2010-04-19 | 1 | -4/+6 |
| | | |||||
| * | trace: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -6/+10 |
| | | |||||
| * | svga: Implement index bias. | José Fonseca | 2010-04-19 | 7 | -23/+32 |
| | | | | | | | | Untested. | ||||
| * | softpipe: Implement index bias. | José Fonseca | 2010-04-19 | 2 | -4/+16 |
| | | |||||
| * | llvmpipe: Implement index bias. | José Fonseca | 2010-04-19 | 2 | -7/+9 |
| | | |||||
| * | identity: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -0/+4 |
| | | |||||
| * | i965g: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -4/+6 |
| | | |||||
| * | i915: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -6/+7 |
| | | |||||
| * | failover: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -1/+4 |
| | | |||||
| * | cell: Implement index bias. | José Fonseca | 2010-04-19 | 1 | -5/+6 |
| | | |||||
| * | draw: Implement index bias. | José Fonseca | 2010-04-19 | 8 | -46/+65 |
| | | |||||
| * | docs: Document indexBias. | José Fonseca | 2010-04-19 | 1 | -0/+3 |
| | | |||||
| * | gallium: Add index bias parameter to draw_elements and friends. | José Fonseca | 2010-04-19 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indexBias corresponds to: - BaseVertexIndex parameter of D3D9's IDirect3DDevice9::DrawIndexedPrimitive method - BaseVertexLocation parameter of ID3D10Device::DrawIndexed Although a positive indexBias can be easily be implemented in Gallium by adding indexBias*stride to each vertex buffer base offset, a negative indexBias cannot, as the final vertex buffer offset could be negative. I'm not aware of this functionality being exposed to GL drivers, so for now all hardware drivers will just assert(indexBias == 0). See also: - http://msdn.microsoft.com/en-us/library/bb174369.aspx (D3D9) - http://msdn.microsoft.com/en-us/library/ff556126.aspx (D3D10 DDI) | ||||
* | | draw llvm: Move dereference of pointer after NULL check. | Vinson Lee | 2010-04-20 | 1 | -1/+3 |
| | | |||||
* | | draw llvm: Remove unnecessary header. | Vinson Lee | 2010-04-19 | 1 | -1/+0 |
| | | |||||
* | | Merge branch '7.8' | Dan Nicholson | 2010-04-19 | 4 | -4/+6 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Conflicts: progs/egl/Makefile progs/egl/Makefile is gone on master with the egl demos split into subdirectories. Will require an additional commit. | ||||
| * | | egl: Pass flags to locate Xlib headers and libraries | Dan Nicholson | 2010-04-19 | 3 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | eglplatform.h pulls in Xlib.h on X11 platforms. Likewise, the egl glx driver and egl programs needs to link to libX11. Make sure we use the locations the user told us about. Signed-off-by: Dan Nicholson <[email protected]> | ||||
| * | | Change libX11 variables to not conflict with AC_PATH_XTRA | Dan Nicholson | 2010-04-19 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The variable X_LIBS from AC_PATH_XTRA contains only the -L searchdir parameter and not the -lX11 to link to Xlib. Use X11 prefixed build vars for linking with Xlib to avoid the conflict. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit e725ef171b5a4d5425461f237d9ccab223806913) | ||||
| * | | gallium: Respect user's CFLAGS for including X headers | Dan Nicholson | 2010-04-19 | 2 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can break on systems that don't have a system X installation. Signed-off-by: Dan Nicholson <[email protected]> (cherry picked from commit de4ee20578a79e024b0de83c40648112f42c994e) Conflicts: src/gallium/winsys/xlib/Makefile | ||||
* | | | glapi: GL 3.x xml file | Brian Paul | 2010-04-19 | 1 | -0/+581 |
| | | | | | | | | | | | | | | | Some of the entrypoints defined in other .xml files will need to be removed in favor of these... | ||||
* | | | llvmpipe: remove dead code | Brian Paul | 2010-04-19 | 1 | -5/+0 |
| | | | |||||
* | | | llvmpipe: use llvmpipe_resource_stride() | Brian Paul | 2010-04-19 | 1 | -2/+3 |
| | | | |||||
* | | | gallivm: pass 3D texture stride as an array | Brian Paul | 2010-04-19 | 2 | -9/+18 |
| | | | | | | | | | | | | This should have been included with the previous commit. | ||||
* | | | llvmpipe: get 3D texture image stride from an array rather than computing it | Brian Paul | 2010-04-19 | 7 | -17/+34 |
| | | | | | | | | | | | | | | | | | | This fixes broken 3D texture indexing when the height of the 3D texture was less than 64 (the tile size). It's simpler to pass this as an array (as we do with the row stride) than to compute it on the fly. | ||||
* | | | llvmpipe: consolidate some code in llvmpipe_set_texture_image_layout() | Brian Paul | 2010-04-19 | 1 | -16/+22 |
| | | | |||||
* | | | llvmpipe: fix rendering to 3D textures | Brian Paul | 2010-04-19 | 4 | -76/+114 |
| | | | | | | | | | | | | | | | | | | Treat cube faces and 3D texture slices in the same manner (they're layed out out continuously in memory). Additional clean-ups and improvements coming. | ||||
* | | | llvmpipe: checkpoint: fixes for render to 3D texture | Brian Paul | 2010-04-19 | 2 | -60/+70 |
| | | |