summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/softpipe
Commit message (Collapse)AuthorAgeFilesLines
* disable llvm for fragment shaders for nowZack Rusin2008-02-101-0/+4
|
* rewrite the way we handle ir in llvm codeZack Rusin2008-02-101-1/+1
| | | | | introduce intermediate step gallivm_ir before compiling it down to the final llvm ir.
* gallium: added draw_flush() call in softpipe_bind_sampler_state()Brian2008-02-081-0/+2
|
* gallium: use mem_dup()Brian2008-02-063-15/+6
|
* gallium: change pipe->texture_create() to operate like the CSO functionsBrian2008-02-062-19/+19
| | | | Now, pass in a template object and return a new object.
* gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.José Fonseca2008-02-063-19/+19
|
* gallium: comments about fragment Z computationBrian2008-01-311-0/+9
|
* gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0Brian2008-01-311-0/+2
|
* gallium: fix get/put typo regressionBrian2008-01-311-5/+5
| | | | | This came from commit f3aa4de034b0d791ce2e38e8aeb3b3abdb4e3b50 on 1/22/08. Fixes strange Z buffer glitches seen in progs/glsl/texdemo1.c
* gallium: Add SCons as alternative build system for Gallium.José Fonseca2008-01-311-0/+42
|
* gallium: Fix build on Windows.Michal Krol2008-01-261-3/+3
|
* gallium: minor cleanups to pipe interfaceKeith Whitwell2008-01-262-29/+4
| | | | | - Remove put/get tile, just have users call put_tile_raw, etc directly. - Remove surface_data call, just map it locally.
* gallium: replace prim pipeline begin/end() functions with flush()Brian2008-01-253-15/+41
| | | | | | | | | | | | | This is basically half of Keith's draw/flush patch. The stage->point/line/tri() functions are now self-validating, the validator functions are installed by the flush() function. There were excessive calls to validate_pipeline(), however. This was caused by draw_prim_queue_flush() keeping a local 'first' variable that always pointed to the validate functions. Replaced 'first' with 'draw->pipeline.first'. Performance in gears is up just slightly with this patch.
* gallium: rename pipe_buffer_handle to pipe_buffer, rework pipebuffer/ codeKeith Whitwell2008-01-256-9/+10
| | | | | | | | | | | Provide an actual definition of the pipe_buffer struct, containing the parameters used to create the buffer, and its refcount. Shift refcounting buffers out of the winsys interface, similar to surfaces & textures. Rework pipebuffer/ to reflect the fact these changes, and also Michel's reworking of the buffer interface.
* gallium: Simplify winsys buffer interface.Michel Dänzer2008-01-252-9/+6
| | | | | | The properties of a buffer represented by struct pipe_buffer_handle are now basically constant over its lifetime. The state tracker gets to deal with any more complex buffer semantics it may need to provide.
* disable usage of llvm in fragment shadersZack Rusin2008-01-241-0/+5
| | | | | | it produces wrong results because it hasn't been adjusted to some new changes and it will just be in the way while changing llvm code to a different vector layout
* gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵Brian2008-01-231-12/+10
| | | | as-is in vbuf code
* gallium: improved vertex layout and interpolant setup in softpipeBrian2008-01-234-159/+121
|
* gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian2008-01-238-42/+23
| | | | now.
* gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes ↵Brian2008-01-231-0/+6
| | | | progs/redbook/stencil.c
* gallium: rework compute_vertex_layout() to intelligently map vs outputs to ↵Brian2008-01-233-27/+60
| | | | | | fs inputs Some follow-on simplification in prim setup is possible...
* gallium: restore/rewrite vbuf code for softpipeBrian2008-01-236-405/+197
| | | | | Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var.
* gallium: overhaul usage of vertex_info in draw module.Brian2008-01-235-5/+13
| | | | | | | | Remove all dependencies on vertex_info, except for draw_vbuf. Drawing stages now strictly operate on post-transformed vertices and don't know anything about hw vertices. Use vertex program output info for two-side/flat/etc stages. Temporarily disable vbuf module in softpipe driver.
* gallium: remove unneeded protos, #includes, etcBrian2008-01-211-25/+0
|
* gallium: include sp_headers.hBrian2008-01-211-0/+1
|
* gallium: move softpipe_get_tex_surface() prototypeBrian2008-01-212-9/+5
|
* gallium: add license commentBrian2008-01-211-0/+27
|
* gallium: move softpipe_get_tex_surface() into sp_texture.cBrian2008-01-212-38/+36
|
* gallium: remove per-fragment line stipple codeBrian2008-01-211-35/+5
|
* fix broken point rendering in sp_vbuf_render()Brian2008-01-211-2/+2
|
* gallium: add a src_index[] array to draw's vertex_info for mapping ↵Brian2008-01-211-8/+9
| | | | post-xform vertex attribs to hw vertex attribs
* Unify copy_rect helpers.Michel Dänzer2008-01-181-51/+12
| | | | Some of the copies were buggy.
* Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca2008-01-176-8/+11
| | | | | | These are changes that are in our internal branch, but somehow were skipped so far. It was done using visual comparison of the branches -- it is likely that changes are being carried on the wrong way
* gallium: fix warningKeith Whitwell2008-01-171-0/+1
|
* Fix broken fog.Brian2008-01-161-7/+11
| | | | | Note that fogcoord and front-facing attribs are in the same register, in the X and Y channels, respectively.
* Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.Brian2008-01-152-4/+4
|
* disable debug printfBrian2008-01-141-0/+2
|
* Remove pipe->get/put_tile_rgba.Michel Dänzer2008-01-142-14/+13
| | | | | | | pipe_get/put_tile_rgba() now use pipe->get/put_tile internally. Also simplify the <format>_get/put_tile_rgba() helper functions and clean up some inconsitencies in them.
* Remove mapping fields from struct pipe_surface.Michel Dänzer2008-01-145-71/+64
| | | | It's now the responsibility of surface users to keep track of their mappings.
* comment about vertex data in emit_vertex()Brian2008-01-101-0/+6
|
* clean-up comments, codeBrian2008-01-103-54/+63
|
* softpipe: Simplify texture memory layout.Michel Dänzer2008-01-103-346/+30
|
* softpipe: map only once in softpipe_map_surfacesJerome Glisse2008-01-101-3/+3
| | | | | | | softpipe_map_surfaces get call several time but softpipe_unmap_surfaces get call only once. So to make sure stuff are properly unmap when softpipe_unmap_surfaces get call we map surfaces only one time in softpipe_map_surfaces.
* llvm: we need custom rules so had to redo the build a little bitZack Rusin2008-01-041-7/+5
| | | | also don't use sse when llvm is enabled
* rename vars, clean-up formattingBrian2008-01-031-13/+20
|
* replace void * with struct draw_vertex_shader opaque typeBrian2008-01-031-1/+1
|
* Clean-up, re-org some vertex/fragment shader state code.Brian2008-01-014-29/+27
|
* move SP_NEW_ #defines into sp_state.hBrian2008-01-012-16/+21
|
* fix single-sided stencil test bugBrian2008-01-011-7/+13
|
* fix leak, fix refcount errorBrian2008-01-011-6/+11
|