summaryrefslogtreecommitdiff
path: root/src/mesa/pipe
AgeCommit message (Collapse)Author
2008-01-25gallium: optimizations to flatshade, two-side prim stagesBrian
2008-01-24Cell: insert dummy field into cell_command_render struct to work around ↵Brian
apparent compiler bug Without this dummy field, it seems the SPU code in cmd_render() gets a bogus value when dereferencing render->num_indices, sometimes. This showed up as missing tries in gears.c in the first frame rendered. Using spu-gcc version 4.1.1, Cell SDK 2.1
2008-01-24Cell: send actual vertex size in the render commandBrian
2008-01-24Cell: rewrite compute_vertex_layout()Brian
2008-01-24Cell: fix asst. warningsBrian
2008-01-24i915: add case for TGSI_FILE_IMMEDIATE to avoid error, but still needs ↵Brian
proper handling...
2008-01-24Cell: use Cell driver by default if linux-cell is builtBrian
To disable the Cell driver and use softpipe instead, export GALLIUM_NOCELL=1
2008-01-24disable usage of llvm in fragment shadersZack Rusin
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
2008-01-24change the name of the shaders to reflect what they do.Zack Rusin
remove stale code and do some general cleanups.
2008-01-23Cell: s/FORMAT/EMIT/Brian
2008-01-23gallium: rename FORMAT_x to EMIT_x and use EMIT_ALL to emit whole vertex ↵Brian
as-is in vbuf code
2008-01-23gallium: improved vertex layout and interpolant setup in softpipeBrian
2008-01-23Cell: remove old test codeBrian
2008-01-23Cell: asst. updates to sync up with today's earlier gallium changesBrian
2008-01-23gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian
now.
2008-01-23gallium: in sp_tile_cache_clear() mark all cache slots as empty/free. Fixes ↵Brian
progs/redbook/stencil.c
2008-01-23gallium: rework compute_vertex_layout() to intelligently map vs outputs to ↵Brian
fs inputs Some follow-on simplification in prim setup is possible...
2008-01-23gallium: restore/rewrite vbuf code for softpipeBrian
Now based on the draw_vbuf code, instead being a custom one-off. Disabled by default, enable with SP_VBUF env var.
2008-01-23gallium: overhaul usage of vertex_info in draw module.Brian
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.
2008-01-23gallium: multiply vertex point size by 0.5Brian
2008-01-22gallium: Don't allocate a vertex buffer until after setting the prim type.Brian
The vertex size may depend on whether we're drawing points, lines or triangles.
2008-01-22added stipple_destroy()José Fonseca
2008-01-22gallium: Added FORMAT_1F_PSIZE to insert constant point size into verticesBrian
Also, added draw_convert_wide_points/lines() so a driver can tell the draw module whether to convert wide points/lines into triangles, or just pass them through.
2008-01-21Cell: initial support for sampler stateBrian
2008-01-21Cell: s/cell_init_surface_funcs/cell_init_surface_functions/Brian
2008-01-21Cell: Added cell_surface.[ch] filesBrian
2008-01-21gallium: remove unneeded protos, #includes, etcBrian
2008-01-21gallium: include sp_headers.hBrian
2008-01-21Cell: renamed cell_surface.[ch] to cell_clear.[ch]Brian
2008-01-21Cell: rename cell_surface.[ch] cell_clear.[ch]Brian
2008-01-21Cell: Add initial texture functionsBrian
2008-01-21Cell: add cell_set_sampler_texture()Brian
2008-01-21gallium: move softpipe_get_tex_surface() prototypeBrian
2008-01-21gallium: add license commentBrian
2008-01-21gallium: move softpipe_get_tex_surface() into sp_texture.cBrian
2008-01-21Cell: added asmfiles ruleBrian
2008-01-21gallium: prototype draw_linestipple.c replaced by draw_stipple.cBrian
2008-01-21gallium: remove per-fragment line stipple codeBrian
2008-01-21gallium: new 'draw' stage for line stippleBrian
Stippled lines are converted into a series of shorter line segments
2008-01-21fix broken point rendering in sp_vbuf_render()Brian
2008-01-21gallium: add a src_index[] array to draw's vertex_info for mapping ↵Brian
post-xform vertex attribs to hw vertex attribs
2008-01-20Cell: use tile_t for color tileBrian
2008-01-20Cell: clean-up/re-org tile codeBrian
Also, support 16 or 32-bit Z buffer at runtime.
2008-01-20Cell: use depth/stencil state to enable ztestBrian
Move z-test code into do_depth_test(). Add ZSIZE symbol to support 2 or 4-byte Z values.
2008-01-20enable call to cell_emit_state()Brian
2008-01-19Cell: improve "finished copying batch buffer" signalling.Brian
When the SPU is done copying a batch buffer to local store, use an mfc_put() to write a "done" message back to the buffer status array in main memory. We were previously using a mailbox message for synchronization.
2008-01-18Unify copy_rect helpers.Michel Dänzer
Some of the copies were buggy.
2008-01-17Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca
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
2008-01-17gallium: Handle TGSI_OPCODE_END on sse2.José Fonseca
2008-01-17gallium: Fix cut-n-paste error.José Fonseca