Commit Graph

30028 Commits

Author SHA1 Message Date
Brian Paul 54f94a790e gallium: use the newer PIPE_FORMAT_x_UNORM format names 2008-04-30 16:51:53 -06:00
Brian Paul 18f4d96265 gallium: replace old PIPE_FORMAT_U_S8 with PIPE_FORMAT_S8_UNORM 2008-04-30 16:51:52 -06:00
Zack Rusin 653da2d069 plug a memleak, destroy setup context 2008-04-30 15:04:58 -04:00
Ben Skeggs 1e6191e0af Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-30 21:42:23 +10:00
Brian Paul 62a29412b9 gallium: test for new PIPE_ARCH_X86 2008-04-29 18:35:30 -06:00
Ben Skeggs 95295081a8 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-29 09:00:48 +10:00
Ben Skeggs 480ab1b789 nv40: enable DXTn formats
GL state tracker capable enough for progs/tests/texcompress2 at least.
2008-04-29 08:56:41 +10: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
Ben Skeggs 58b1bcaa09 nv40: do full swtnl fallback when edge flags present.
This isn't necessary, with some effort we can do this on the hw.  However,
until I encounter something "real" that uses them there's not a lot of
point.
2008-04-28 19:25:40 +10:00
Ben Skeggs 2193578851 nouveau: stub set_edgeflags for all nv pipe drivers 2008-04-27 18:12:14 +10:00
Ben Skeggs 0cca90cea1 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-27 18:04:50 +10: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
Patrice Mandin 7342688286 nv30: add stuff to init swtnl 2008-04-23 22:38:49 +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
Ben Skeggs a326595899 nouveau: fix build 2008-04-23 12:41:42 +10:00
Ben Skeggs 104ff59585 Merge branch 'upstream-gallium-0.1' into nouveau-gallium-0.1 2008-04-23 12:39:38 +10: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
Peter Winters b20acef906 nv10: enable viewport clipping 2008-04-20 22:48:50 +02:00
Peter Winters e7bdf047f2 nv10: fix random stuff 2008-04-20 16:07:04 +02: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
Ben Skeggs 7d2085bd7d nouveau: PIPE_ATTRIB_MAX -> PIPE_MAX_ATTRIBS 2008-04-15 13:25:28 +10:00
Ben Skeggs 276e177dfb Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-15 13:23:23 +10: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
Patrice Mandin 7f811f2c42 nv30: Update miptree stuff 2008-04-12 22:16:42 +02:00
Patrice Mandin 186277ee92 nv30: Move some structures and functions from context to screen 2008-04-11 23:39:29 +02: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
Patrice Mandin 4c498c1b0c nv30: Do flip 2008-04-11 21:37:41 +02:00
Patrice Mandin b1de9c948f nv30: Set pipe status on clear 2008-04-11 21:37:28 +02: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