Commit Graph

30028 Commits

Author SHA1 Message Date
Ben Skeggs bdfcce4792 nv40: use vb/ve counts rather than shader inputs for related loops 2008-04-09 14:02:55 +10:00
Ben Skeggs 2a8de8ff94 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-09 13:42:55 +10: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
Ben Skeggs 2655f69012 nv40: implement user clip planes
It turns out the user planes handed to the driver are already in clip space.
Hence, we no longer need to transform incoming vertices before computing the
clip distance, and no longer need to change the interface provided by
gallium.  Yay :)

The clip state change handling could be better, but this works.
2008-04-07 21:43:29 +10:00
Ben Skeggs 2946a5a012 nv40: kill some warnings 2008-04-04 20:32:06 +10:00
Ben Skeggs e902d9091c Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-04 20:30:29 +10:00
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
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
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 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 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
Ben Skeggs ea990867a8 Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 2008-04-02 00:37:12 +10: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
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 baab98a637 gallium: Eliminate p_winsys::printf
Not convenient and almost not used at all. Better replacements in p_debug.h
2008-03-31 17:28:33 +09:00
Ben Skeggs e616d3f3e2 nv40: fix slight thinko 2008-03-31 09:37:57 +10:00
Ben Skeggs 4ad9dd6179 nouveau: update object header 2008-03-31 09:29:22 +10:00
Ben Skeggs 169faae6db nv40: support vp clip distance regs, unused currently. 2008-03-31 09:26:07 +10:00
Ben Skeggs 6806519a0b nv40: track current scissor enable/disable state
Not sure how this was forgotten :)  Anyhow, fixes gearbox/bzflag/xmoto,
probably other things that use scissored clears / hit the nasty
clear-with-quad path.
2008-03-31 06:39:03 +10:00
Patrice Mandin 7b389f8d2f nv30: use FREE macro 2008-03-30 21:53:31 +02:00
Ben Skeggs 833b1fb152 nv40: mark fp dirty even when only consts updated
Fixes arbfplight "sticking".
2008-03-31 05:13:06 +10:00