Commit graph

231 commits

Author SHA1 Message Date
Zack Rusin
653da2d069 plug a memleak, destroy setup context 2008-04-30 15:04:58 -04:00
Brian Paul
62a29412b9 gallium: test for new PIPE_ARCH_X86 2008-04-29 18:35:30 -06:00
Michal Krol
58d3dff0d3 gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.
Change SSE_SWIZZLES #define to 0 to disable it.
2008-04-28 18:50:58 +02:00
Brian Paul
9816531862 gallium: plug in softpipe_set_edgeflags() function 2008-04-24 15:59:08 -06:00
Jakob Bornecrantz
cefa367b5d i915: Fix for wrong texture in texobj with VBUF 2008-04-24 17:10:11 +02:00
Brian Paul
809bc8f9ad gallium: move logicop test outside of loop 2008-04-23 11:38:40 -06:00
Brian Paul
2221cb9f74 gallium: fix broken PIPE_BLENDFACTOR_SRC_ALPHA_SATURATE 2008-04-23 11:38:40 -06:00
Brian Paul
76d39f0c19 gallium: more vertex debug code 2008-04-23 11:38:40 -06:00
Brian Paul
465bc9473a gallium: move the vertex print/debug code 2008-04-22 16:15:49 -06:00
Keith Whitwell
4ebede8c7f Revert "softpipe: squash warning"
This reverts commit 1f0f029ba6.

Which broke the debug build.
2008-04-22 21:17:21 +01:00
Keith Whitwell
1f0f029ba6 softpipe: squash warning 2008-04-22 20:32:22 +01:00
Keith Whitwell
f9b1d47d65 softpipe: do something sensible on an error path, squash warning 2008-04-22 15:15:57 +01:00
Keith Whitwell
a5b87f249e softpipe: implement SP_NO_RAST env var 2008-04-22 11:02:24 +01:00
Keith Whitwell
09b6686158 softpipe: make NUM_ENTRIES 32 so that div/mods are easier 2008-04-22 11:02:24 +01:00
Keith Whitwell
507fbe2d32 draw: move some pipeline-specific code & state to draw_pipe.[ch] 2008-04-19 15:29:27 +01:00
Keith Whitwell
43452886e2 cell: don't need to trim prims 2008-04-19 00:44:09 +01:00
Keith Whitwell
c717f1fbe2 softpipe: don't need to trim prims 2008-04-19 00:43:58 +01:00
Keith Whitwell
f631bebe1a softpipe: fix const-related compiler warnings 2008-04-18 18:32:37 +01:00
Brian Paul
ce454d2192 gallium: assert that we're not deleting the currently bound shader 2008-04-17 11:13:49 -06:00
Keith Whitwell
8b607f42d0 softpipe: call setup_prepare earlier so that vertex info is correct when queried 2008-04-16 12:22:20 +01:00
José Fonseca
50bbbbe581 gallium: Remove middle of scope declarations. 2008-04-15 14:58:32 +09:00
Brian
d3878b070b gallium: enable new quad output code, remove old code 2008-04-14 21:01:40 -06:00
Brian
fdd794dcfa gallium: fix PIPE_CAP_MAX_RENDER_TARGETS query 2008-04-14 20:55:14 -06:00
José Fonseca
5b8fa51847 gallium: Don't assume snprintf are always available. 2008-04-15 10:13:52 +09:00
Brian Paul
f58ab8e75c gallium: take reduced prim, fill modes into account when culling 2008-04-14 10:57:40 -06:00
Keith Whitwell
871d39ec8c softpipe: calculate determinant for all triangles, don't rely on draw module to do it 2008-04-14 16:18:00 +01:00
Keith Whitwell
8e7326832a softpipe: do our own culling, don't rely on the draw module.
May not always happen due to passthrough modes, etc.
2008-04-14 11:32:50 +01:00
Brian Paul
593cf5a6b5 gallium: merge the tgsi_emit_sse2() and tgsi_emit_sse2_fs() functions.
The two functions were mostly the same.  We can look at the shader header
info to determine if it's a vertex or fragment shader.
2008-04-11 15:27:00 -06:00
Brian Paul
e3cf0cd6a9 gallium: implement immediates (aka literals) for SSE fragment shaders 2008-04-11 14:19:32 -06:00
Keith Whitwell
c95dcc4962 remove usage of vertex_header 2008-04-10 14:35:47 -04:00
Brian Paul
f7e475280a gallium: fix bug in PIPE_BLENDFACTOR_INV_DST_ALPHA case 2008-04-09 14:20:43 -06:00
Brian
7e57a9e8bb cell: keep track of num_vertex_attribs/buffers for shorter loops 2008-04-08 21:20:10 -06:00
Brian
1f888abf16 i915: keep track of num_vertex_attribs/buffers for shorter loops 2008-04-08 21:20:10 -06:00
Brian
28cf8c8fdc gallium: keep track of num_vertex_attribs/buffers for shorter loops 2008-04-08 21:20:10 -06:00
Brian
17f6409903 gallium: get rid of bufloop quad stage 2008-04-07 22:00:41 -06:00
Brian
c7daa68ca3 gallium: begin reworking quad stages for multiple color outputs 2008-04-07 21:59:12 -06:00
Brian
a7504ad587 cell: added some comments/ideas about better texture sampling 2008-04-03 19:43:10 -06:00
Brian
217d379407 cell: minor texture improvements
Precompute tiles_per_row.  Use ushort multiplies in a few places.  New comments.
2008-04-03 19:43:10 -06:00
Brian
bccd3f138c cell: more multi-texture fixes (mostly working now) 2008-04-01 15:42:42 -06:00
Brian
9d1444092f cell: turn off some debug output 2008-04-01 14:55:31 -06:00
Brian
9e7b730eb2 cell: pass tex unit to get_texel() 2008-04-01 14:52:25 -06:00
Brian
2d02ee8509 cell: fix bug in texture tiling function (non-square textures work now) 2008-04-01 14:52:04 -06:00
Brian
e7b23d36df cell: checkpoint: more multi-texture work 2008-04-01 11:35:53 -06:00
Brian
c14da8f524 cell: assert num samplers/textures <= CELL_MAX_SAMPLERS 2008-04-01 11:30:17 -06:00
Brian
6ddd2df1ae cell: return CELL_MAX_SAMPLERS to indicate number of texture units 2008-04-01 11:28:27 -06:00
Brian
f8c09464f8 cell: enable #define CACHE_STATS to print a cache report upon exit 2008-04-01 11:05:32 -06:00
Brian
d83e0c45be cell: update some of the CAP, texformat queries 2008-03-31 21:16:48 -06:00
Brian
e6c981f22c cell: more work for multi-texture support 2008-03-31 21:16:48 -06:00
Brian
5553a3b675 cell: set cell->num_textures in cell_set_sampler_textures() 2008-03-31 21:16:48 -06:00
Brian
14452aee73 cell: initial work to support multi-texture 2008-03-31 17:38:21 -06:00