aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
Commit message (Collapse)AuthorAgeFilesLines
* Initial pass at vertex shader on SPU using TGSI VMIan Romanick2008-01-309-1/+3540
| | | | | | All of the code is wired in on the SPU side, but it is not called from the PPU yet. Instruction / declaration fetch still needs to be implemented in spu_exec.c.
* Cell: prototype SIMD code for z testingBrian2008-01-302-34/+123
|
* Cell: start to SIMD-ize triangle attribute interpolationBrian2008-01-304-62/+79
| | | | | Using the spu_add(), etc intrinsics. About a 15% speed-up with some tests.
* Cell: fold setup_tri() into tri_draw()Brian2008-01-301-43/+19
|
* Cell: make 'setup' a regular var instead of passing around a pointer everywhereBrian2008-01-301-210/+209
| | | | | We'll never have more than one of these objects. Avoiding pointer deref improves performance a bit.
* Cell: minor code refactoring, movementBrian2008-01-301-30/+55
|
* Cell: check tile status before wait_on_mask()Brian2008-01-301-2/+2
|
* Cell: make wait_on_mask() static/inlinedBrian2008-01-302-21/+21
|
* Cell: move CELL_MAX_SPUSBrian2008-01-302-3/+2
|
* gallium: Teach draw_vf about draw vertices.José Fonseca2008-01-303-174/+161
| | | | | This reduces the emit overhead, which is significant since we're emiting one vertex at a time.
* gallium: Remove draw_vertex_fetch::lookup.José Fonseca2008-01-302-7/+0
| | | | It is not being used, and would be dangerous to use given the possibility of constants.
* gallium: Fix build on WinXP.Michal Krol2008-01-306-19/+19
|
* Cell: use _pack_rgba8() from pack_rgba8.h to do float[4]->uint color conversionBrian2008-01-291-11/+4
| | | | texcyl.c is twice as fast now in non-texture mode
* gallium: weaken assert slightlyKeith Whitwell2008-01-291-1/+1
|
* gallium: streamline various unfilled & stippled pathsKeith Whitwell2008-01-291-45/+113
|
* gallium: Emit point size as a constant.José Fonseca2008-01-291-4/+81
|
* gallium: Emit constants.José Fonseca2008-01-294-16/+62
|
* gallium: Allow draw_vf usage to be controlled at runtime.José Fonseca2008-01-291-78/+71
|
* gallium: Add extern keyword to global.José Fonseca2008-01-291-1/+2
|
* Cell: move cmd_render() into new spu_render.c fileBrian2008-01-285-203/+283
|
* Cell: add a few null texture testsBrian2008-01-282-4/+12
|
* Cell: compute min index referenced in draw command, use it to reduce size of ↵Brian2008-01-283-6/+29
| | | | vertex data payload
* Cell: minor optimization for flat shadingBrian2008-01-281-9/+28
|
* Cell: basic texture mappingBrian2008-01-2810-28/+183
| | | | | | Texture images are tiled in PPU code. SPUs use a texture cache for getting texels from textures. This is very rough code, but demos/texcyl.c works.
* Cell: initial texture cache/sampling codeBrian2008-01-282-0/+182
|
* Cell: emit state in cell_clear_surface() if dirty.Brian2008-01-281-0/+4
| | | | | Without this a program that does nothing but glClear() doesn't work. We need the framebuffer state.
* Cell: re-enable bounding boxesBrian2008-01-283-12/+24
| | | | | | | | The geometry bounding box is used to restrict rasterization to just those tiles that are relevant. Note another dummy field had to be added to the cell_command_render struct. Apparently, every 4th word in a struct is susceptible to corruption in some circumstances. Might be a compiler bug.
* gallium: Use GALLIUM_ prefix for env vars.José Fonseca2008-01-291-1/+1
|
* gallium: Use CALLOC for pb_buffer to ensure that all fields of pipe_buffer ↵José Fonseca2008-01-293-3/+4
| | | | are initiallized.
* gallium: Remove direct dependencies to mesa internals.José Fonseca2008-01-294-64/+31
| | | _mesa_exec_free is still being called. More invasive refactoring is necessary to clean it out.
* gallium: remove dead vars, codeKeith Whitwell2008-01-281-3/+0
|
* gallium: fix typos in hardwired fetch pathKeith Whitwell2008-01-281-2/+2
|
* Cell: additional assertionsBrian2008-01-281-1/+4
|
* Cell: make sure state commands aren't split across batchesBrian2008-01-281-11/+18
|
* Cell: remove unneeded flush(), dead codeBrian2008-01-281-29/+1
|
* Cell: clean-up of render pathBrian2008-01-284-148/+38
| | | | | | Finally removed a number of unneeded flush commands. Vertex buffers are allocated from the general buffer pool, freed by SPUs when done. Still an occasional failed assertion (invalid batch buffer command)...
* Cell: checkpoint commit: always inline prim indexes into batch bufferBrian2008-01-284-66/+171
| | | | | Also, explicit release-vertex-buffer command. Lots of debug/stale code still in place...
* Cell: If flushing for swapbuffers, wait for frame completionBrian2008-01-281-0/+3
|
* Cell: additional debug code, misc clean-upBrian2008-01-282-12/+42
|
* Cell: generalize the batch buffer code for vertex buffers...Brian2008-01-287-57/+79
|
* gallium: handle flatshading explicitly in clipper stageKeith Whitwell2008-01-282-47/+99
| | | | | | | | | We can do a better job in the clip stage than just relying on the brute-force approach of copying colors to all incoming vertices applied in the flatshade stage. At very least, it is only necessary to do this in the clipper when a primitive is actually being clipped.
* gallium: add a couple of hardwired vertex fetch functionsKeith Whitwell2008-01-283-30/+141
|
* gallium: only call vertex/prim queue flush when there is something to flushKeith Whitwell2008-01-283-4/+17
|
* gallium: explictly cast double to float in vertex fetchKeith Whitwell2008-01-281-1/+1
|
* gallium: fill in missing formats for vertex_fetchKeith Whitwell2008-01-281-17/+203
|
* gallium: remove dead code from draw_vf*Keith Whitwell2008-01-286-574/+9
|
* First stab at hooking draw_vbuf & vf.José Fonseca2008-01-285-46/+241
| | | Emit disabled for now. Tested with softpipe. Only one vertex at a time for now (slow).
* Clone vf module.José Fonseca2008-01-284-0/+2270
|
* Simplify prototypes of draw_vbuf's internal functions.José Fonseca2008-01-281-28/+29
|
* Cache the vinfo in vbuf_stage.José Fonseca2008-01-281-9/+13
|