summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use HOST_CC for programs that will run on the build hostIan Romanick2008-01-233-1/+3
|
* Use EXTRA_LIB_PATH with *_LIB_DEPSIan Romanick2008-01-231-6/+6
| | | | | | | Make sure EXTRA_LIB_PATH is used with all the LIB_DEPS. Re-order some of the options and tweak the whitespace to make the various LIB_DEPS more readable. This makes building for Cell on x86 a bit easier and doesn't seem to effect other builds.
* Remove unnecessary pathsIan Romanick2008-01-231-6/+6
| | | | | | Removing the paths on certain commands (e.g., ppu32-gcc) and removing -I/usr/include makes it possible to build for Cell on both PowerPC and x86 hosts.
* Cell: remove old test codeBrian2008-01-233-83/+0
|
* Cell: asst. updates to sync up with today's earlier gallium changesBrian2008-01-235-21/+11
|
* gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian2008-01-2314-68/+46
| | | | 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-2310-413/+206
| | | | | 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-2320-170/+117
| | | | | | | | 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: s/INTERP_NONE/INTERP_LINEAR/ to fix assertion with ↵Brian2008-01-231-1/+1
| | | | progs/samples/select.c
* gallium: fix computation of raster.point_size_per_vertex flagBrian2008-01-231-1/+14
|
* gallium: multiply vertex point size by 0.5Brian2008-01-231-1/+1
|
* gallium: use temp reg for storing color to avoid reading 'result.color'Brian2008-01-221-28/+37
|
* gallium: Don't allocate a vertex buffer until after setting the prim type.Brian2008-01-221-25/+39
| | | | The vertex size may depend on whether we're drawing points, lines or triangles.
* added stipple_destroy()José Fonseca2008-01-221-3/+11
|
* gallium: Added FORMAT_1F_PSIZE to insert constant point size into verticesBrian2008-01-227-8/+46
| | | | | | 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.
* gallium: silence warningsBrian2008-01-212-3/+3
|
* Cell: initial support for sampler stateBrian2008-01-214-0/+24
|
* Cell: s/cell_init_surface_funcs/cell_init_surface_functions/Brian2008-01-211-1/+1
|
* Cell: Added cell_surface.[ch] filesBrian2008-01-214-1/+228
|
* gallium: remove unneeded protos, #includes, etcBrian2008-01-211-25/+0
|
* gallium: include sp_headers.hBrian2008-01-211-0/+1
|
* Cell: renamed cell_surface.[ch] to cell_clear.[ch]Brian2008-01-212-142/+0
|
* Cell: rename cell_surface.[ch] cell_clear.[ch]Brian2008-01-214-2/+144
|
* Cell: Add initial texture functionsBrian2008-01-215-5/+251
|
* Cell: add cell_set_sampler_texture()Brian2008-01-212-0/+19
|
* 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
|
* Cell: added asmfiles ruleBrian2008-01-211-1/+9
|
* gallium: prototype draw_linestipple.c replaced by draw_stipple.cBrian2008-01-211-272/+0
|
* gallium: remove per-fragment line stipple codeBrian2008-01-211-35/+5
|
* gallium: new 'draw' stage for line stippleBrian2008-01-215-0/+252
| | | | Stippled lines are converted into a series of shorter line segments
* 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-215-39/+48
| | | | post-xform vertex attribs to hw vertex attribs
* Cell: use tile_t for color tileBrian2008-01-204-25/+27
|
* Cell: clean-up/re-org tile codeBrian2008-01-205-116/+136
| | | | Also, support 16 or 32-bit Z buffer at runtime.
* Cell: use depth/stencil state to enable ztestBrian2008-01-205-62/+113
| | | | | Move z-test code into do_depth_test(). Add ZSIZE symbol to support 2 or 4-byte Z values.
* enable call to cell_emit_state()Brian2008-01-201-1/+1
|
* Cell: improve "finished copying batch buffer" signalling.Brian2008-01-197-22/+103
| | | | | | 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.
* s/varible/variable/Brian2008-01-181-6/+6
|
* set param type to PROGRAM_CONSTANT when parsing immediatesBrian2008-01-181-0/+2
|
* use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian2008-01-182-2/+2
| | | | immediates/literals
* Unify copy_rect helpers.Michel Dänzer2008-01-186-143/+118
| | | | Some of the copies were buggy.
* Revert "temporarily don't emit TGSI immediates, use the constant buffer"José Fonseca2008-01-171-9/+2
| | | | This reverts commit 310e7ca44b33558a9aa22f43024d1bfb63642128.
* Back-port miscellaneous fixes from internal branch (mostly portability fixes).José Fonseca2008-01-1718-49/+98
| | | | | | 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: Pass PIPE_BUFFER_USAGE_PIXEL to buffer_data.José Fonseca2008-01-171-1/+1
|
* gallium: Handle TGSI_OPCODE_END on sse2.José Fonseca2008-01-171-0/+1
|
* temporarily don't emit TGSI immediates, use the constant bufferBrian2008-01-171-2/+9
| | | | | This allows a few more programs to run and not crash. Need to get constant buffer uploads working...