Commit Graph

14508 Commits

Author SHA1 Message Date
Ben Skeggs a45a12e757 nv40: have test for hw idxbuf in single place 2008-04-04 13:02:37 +10:00
Ben Skeggs fbb6cc7842 nouveau: in some cases don't create the buffer in local mem initially. 2008-04-04 12:55:57 +10:00
Ben Skeggs 0b57662fa6 nv40: remove redundant state_emit() calls 2008-04-04 11:17:28 +10:00
Ben Skeggs 6fbc50e013 nv40: static attribs -> stateobj 2008-04-04 11:17:28 +10:00
Ben Skeggs 7e9b83ac0a nv40: convert the inline idxbuf paths also 2008-04-04 11:17:27 +10:00
Ben Skeggs 73322bba5c nv40: need to resubmit buffers if pushbuf gets flushed during draw 2008-04-04 11:17:27 +10:00
Stephane Marchesin 8ed894bd17 nv10: emit dummy zeta size when no zbuffer is used. 2008-04-03 04:20:22 +02:00
Stephane Marchesin 7f21b63a98 nv10: fix more vertex stuff 2008-04-03 04:07:16 +02:00
Stephane Marchesin d3340cda9c don't push "pouets" 2008-04-02 18:28:44 +02:00
Stephane Marchesin fb19b3393f nv10: fix some more state, work on the vertex emission code. 2008-04-02 18:26:49 +02:00
Stephane Marchesin 8f26e975ca nv10: set rasterizer state. 2008-04-02 15:09:32 +02:00
Ben Skeggs 81f34e222a Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-02 13:29:17 +10:00
Stephane Marchesin 901700888e Merge branch 'gallium-0.1' of git+ssh://marcheu@git.freedesktop.org/git/nouveau/mesa into gallium-0.1 2008-04-02 05:10:52 +02:00
Stephane Marchesin b1a361ba7a nv10: fix stuff and things. 2008-04-02 05:10:18 +02:00
Ben Skeggs ae87909d0d nv40: only update draw module state when using swtnl 2008-04-02 13:04:06 +10:00
Ben Skeggs bdf5b23bfd nv40: shorten zsa state lines 2008-04-02 12:54:37 +10:00
Brian 7f40115a52 mesa: added a cast to avoid int overflow, plus rename texels->pixels 2008-04-01 16:20:29 -06:00
Brian 792d524aed mesa: measure fill rate for drawing a large quad with basic shading/texture modes 2008-04-01 16:07:09 -06:00
Brian bccd3f138c cell: more multi-texture fixes (mostly working now) 2008-04-01 15:42:42 -06:00
Brian 8bef18f47b mesa: destroy window upon exit 2008-04-01 14:56:10 -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 9d287a1841 gallium: init ctx->Const.MaxTextureUnits 2008-04-01 11:28:01 -06:00
Brian f8c09464f8 cell: enable #define CACHE_STATS to print a cache report upon exit 2008-04-01 11:05:32 -06:00
Ben Skeggs f3a62372bf handle IsPositionInvariant flag 2008-04-01 08:59:41 -06:00
Ben Skeggs 71d7aec2b3 nouveau: winsys printf disappeared :) 2008-04-02 00:40:18 +10:00
Ben Skeggs ea990867a8 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-02 00:37:12 +10:00
Keith Whitwell 8f8b95ae58 draw: remove dead code 2008-04-01 15:19:30 +01:00
Keith Whitwell edfa8201a5 draw: more flatshade_first changes
- Reduce the number of changes to the normal vertex ordering
- Assume that the hardware knows how to do this in the standard case.
- Add support to the passthrough vcache path.
2008-04-01 14:51:25 +01:00
Keith Whitwell caa44763f7 draw: respect flatshade_first in flatshade stage 2008-04-01 14:51:25 +01:00
Keith Whitwell 52f40dcc46 draw: associate rhw divide with clipping not viewport flag 2008-04-01 14:51:24 +01:00
Keith Whitwell 4b1377b240 draw: flush between pt/non-pt modes 2008-04-01 14:51:24 +01:00
Michel Dänzer cc85573a9f gallium: Fencing fix.
Make sure the struct pipe_fence_handle* we point st_flush() to is initialized
to NULL, so winsys->fence_reference() doesn't try to unreference a random
struct pipe_fence_handle* pointer.
2008-04-01 13:05:24 +01:00
Michel Dänzer 2df9941368 scons: Fix test for building dri/intel winsys. 2008-04-01 13:05:09 +01: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
José Fonseca 686a6c7468 gallium: Do not assume that buffers are freed in the same order they are fenced.
Also free buffers as soon as possible.

This short term fix corrects the fenced list behavior but it will impact on performance.
The long term fix is probably replace the linked list (legacy from the bufpool code) by
a binary tree.
2008-04-01 10:46:04 +09:00
Brian 14452aee73 cell: initial work to support multi-texture 2008-03-31 17:38:21 -06:00
Brian 84c2821d2a cell: added const qualifier 2008-03-31 16:54:31 -06:00
Brian 58b6690cf8 cell: updated comments: s/test/SPE/ 2008-03-31 16:44:56 -06:00
Brian ab8bcc4ec6 cell: implement logicop/output for PIPE_FORMAT_B8G8R8A8_UNORM
Remote display to my usual terminal shows the right colors again.
Not 100% sure about the shuffle control words, but they seem to work.
2008-03-31 16:36:25 -06:00
José Fonseca 8a81429fa8 gallium: Compute YCBCR bit depth. 2008-04-01 07:22:10 +09:00
Brian 6b0be38a6c gallium: used inverted bitmap texture to simplify the fragment shader.
"Off" bits get stored as texel=0xff and "on" bits get stored as texel=0x0.
Then use KIL -tmp to kill the off bits and keep the on bits.
This shortens the fragment program by two instructions.
2008-03-31 15:12:14 -06:00
Brian 23b03c536d gallium: updated comment for bypass_vs 2008-03-31 15:12:01 -06:00
Markus Amsler 9136747a2b fix parsing bug involving comments at the end of ARB v/f programs 2008-03-31 14:58:11 -06:00