Commit Graph

74545 Commits

Author SHA1 Message Date
Oliver McFadden 252fc61e48 r300: Vertex program position end bits are known.
Possibly performance may improve by setting it to the last instruction that
writes result.position, rather than the last instruction in the vertex program.
2007-06-24 14:01:19 +00:00
Oliver McFadden 27c8488526 r300: Removed unused vap_param structure. 2007-06-24 14:01:19 +00:00
Oliver McFadden 804d3a8f6e r300: Cleaned up long lines in the vertex functions. 2007-06-24 14:01:19 +00:00
Oliver McFadden 909091b7dc r300: Setup the default state for polygon offset point/line.
I believe there are still bugs with all polygon offset types. The point and line
types may need to be handled specially, too.

This shouldn't break anything because it just enabled the occlusion control bits
for polygon offset.
2007-06-24 14:01:19 +00:00
Oliver McFadden bf334d852d r300: Cleaned up the r300SetupVertexShader function. 2007-06-24 14:01:19 +00:00
Oliver McFadden 204f9e3fdb r300: Cleaned up the r300SetupPixelShader function. 2007-06-24 14:01:19 +00:00
Oliver McFadden 381b86329e r300: Trivial clean up in radeon_lock.h. 2007-06-24 14:01:19 +00:00
Keith Whitwell c2577bb1a0 Restructure z test code slightly.
Make the logic slightly closer to an eventual SSE or SPE implementation.
2007-06-24 10:32:48 +01:00
Dave Airlie 5eb2015a96 r300: 2288 is a tcl only reg 2007-06-24 17:21:26 +10:00
Brian 5d69aeb002 initial texture object, texture format code 2007-06-22 13:37:47 -06:00
Brian 13682d959d more texture sampler work 2007-06-22 13:08:49 -06:00
Brian 8754b59667 added blend comments 2007-06-22 12:49:23 -06:00
Brian f79c225d9e Assorted token renaming/removal, minor state changes, etc. 2007-06-22 12:47:04 -06:00
Brian 1d52b6aaf4 fix bug rendering points with fragment program (see #11330) 2007-06-22 09:47:30 -06:00
Brian 1bf5076569 Fix feedback color bug #11332. In feedback mode, produce float colors. 2007-06-22 08:02:46 -06:00
Dave Airlie 0f7f6e4e95 clean up cache flush emission into one place
makes gears work with swtcl
2007-06-22 19:18:04 +10:00
Brian 493ed9fc11 alpha test and misc changes 2007-06-21 20:08:10 -06:00
Brian 578559822e Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2007-06-21 16:06:06 -06:00
Brian 93becd8a18 fix rgba pointer bug hit on zoomed+fogged glDrawPixels 2007-06-21 16:06:27 -06:00
Brian 4d528e5454 Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2007-06-21 16:04:04 -06:00
Eric Anholt 4fe48b4e85 Merge branch 'origin' into i915-unification 2007-06-21 14:14:24 -07:00
Eric Anholt 5d9dc02cbe Reset saved state for disasm when we've lost the context. 2007-06-21 12:57:15 -07:00
Eric Anholt f3f29d632e Add decoding of inline primitives in debug output. 2007-06-21 12:53:07 -07:00
Eric Anholt f972f58d80 Improve fake bufmgr debugging, and don't try to migrate static buffers. 2007-06-21 11:44:48 -07:00
Eric Anholt 1a49cd7f5b Add missing i915_disasm.h header and adjust copyright formatting on the .c 2007-06-21 10:01:34 -07:00
Oliver McFadden ed5ed6fe2f r300: Corrected a bug in r300LineWidth.
Thanks to Panagiotis Papadakos for reporting it.
2007-06-21 15:53:26 +00:00
Brian 171dcdfa27 Another round of fixing attribute interpolation for glDraw/CopyPixels.
Need to turn off FRAG_BIT_COL0 in swrast->_ActiveAttribMask when doing
glRead/CopyPixels to prevent the user's colors from getting overwritten
when a fragment program is active.
This was happening in the DRI drivers when MaintainTexEnv program was
used (the texenv fragment program was enabled when _swrast_DrawPixels was
called).
This still isn't an ideal solution, but fixes things for now.
2007-06-21 09:15:32 -06:00
Brian fe11b2c04b rename _swrast_update_fragment_attribs() 2007-06-21 09:11:43 -06:00
Dave Airlie 41d28d97f5 clean up color0 code 2007-06-21 18:35:25 +10:00
Dave Airlie 36235e5ff1 add a mem use for current dma buffer 2007-06-21 18:35:00 +10:00
Dave Airlie faab84cfa6 fix unfilled tris/quads 2007-06-21 15:07:31 +10:00
Dave Airlie d3ef71166d ensure cmd buffer space 2007-06-21 14:43:53 +10:00
Dave Airlie d1be4ab80f fix up vertex emission before state change 2007-06-21 14:20:33 +10:00
Zou Nan hai d19d0596da support branch and loop in pixel shader
most of the sample working with some small modification
2007-06-21 10:22:28 +08:00
Dave Airlie 025efae411 fix secondary color, fog is off for now 2007-06-21 10:59:11 +10:00
Dave Airlie 6d8a4312ed fix projtex 2007-06-21 10:50:27 +10:00
Dave Airlie ad8abf7147 fix quad-clip 2007-06-21 10:32:39 +10:00
Dave Airlie 08fb0bad72 bring over vertex engine setup code from r300_Render and fix up
now have gears going.. + a few other trivial textured demoes
2007-06-21 10:19:00 +10:00
Brian ecfa794037 checkpoint: implement z/depth testing 2007-06-20 17:20:02 -06:00
Keith Whitwell 24a989c5d1 Add state tracker create/destroy calls to i915 driver. 2007-06-20 23:17:12 +01:00
Keith Whitwell 78cc48f70a Rename static variable in temporary tnl code 2007-06-20 23:17:12 +01:00
Keith Whitwell b8657e44dc Remove dependency on vf.h in public headers 2007-06-20 23:17:12 +01:00
Brian 2fd7b30bfe update includes (s/tile/quad/) 2007-06-20 16:15:09 -06:00
Brian 47e970b2cc s/tile/quad/ 2007-06-20 16:14:55 -06:00
Brian e0398f43a2 Rename "tile" files to "quad". 2007-06-20 16:12:26 -06:00
Brian acef7c7501 only blend active pixels in the quad 2007-06-20 15:22:39 -06:00
Brian 7658a0208a quad blending works now, but many blend terms need to be added in blend_quad(). 2007-06-20 15:14:47 -06:00
Brian fb5cdbd078 Initial implementation of a software pipeline for quad rasterization (fragment ops).
This is very much like the clipper/setup pipeline for primitives.
2007-06-20 14:29:14 -06:00
Brian 1edb5aafad better comment 2007-06-20 14:27:42 -06:00
Brian b7c646d1bc actually use new glClear code 2007-06-20 13:10:48 -06:00