Commit graph

8789 commits

Author SHA1 Message Date
Ben Skeggs
17e81bda6e nouveau: NV30_TCL viewport/scissor fixes 2007-06-29 14:28:39 +10:00
Brian
767cac1494 Add a few missing GL 2.0 entrypoints, regenerate related files.
Specifically:
  glVertexAttrib4bv
  glVertexAttrib4iv
  glVertexAttrib4ubv
  glVertexAttrib4uiv
  glVertexAttrib4usv
2007-06-28 16:34:40 -06:00
zhang
37aca21129 a variety of fixes for MingW 2007-06-28 08:12:52 -06:00
Brian
2233d4c1ee remove obsolete t_save_api.c 2007-06-28 07:16:13 -06:00
Brian
1a55e97c9c increase MAX_POINT_SIZE to 60 2007-06-28 07:16:13 -06:00
Brian
3156854c25 XXX comment about point clamping 2007-06-28 07:16:12 -06:00
Brian
369d6654d4 added comment, remove dead code 2007-06-28 07:16:12 -06:00
Oliver McFadden
e92903e24c r300: Initial work on merging the real and generated vertex program functions. 2007-06-24 14:01:19 +00:00
Oliver McFadden
43e601206d r300: Should use inst_count not 0 for R300_PVS_CNTL_3_PROGRAM_UNKNOWN_SHIFT. 2007-06-24 14:01:19 +00:00
Oliver McFadden
62b83638a5 r300: The vpi, vpp, and vps counts are already initialized; don't do it twice. 2007-06-24 14:01:19 +00:00
Oliver McFadden
b41ef55061 r300: Clean up the vertex program state code slightly; still needs lots of work. 2007-06-24 14:01:19 +00:00
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
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
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
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
Brian
f9c17ec58a Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2007-06-20 11:01:09 -06:00
Brian
a4af3e5ab3 Effectively disable _TexEnvProgram before calling _swrast_DrawPixels().
It's OK to use _TexEnvProgram regardless of the texture state, but if fog
is also enabled, the fragment program is lacking the actual fog computation
so fogging doesn't appear.
Fixing this might involve a new _MaintainFogProgram field and related code.
For now, just disable the _TexEnvProgram and let swrast handle everything.
2007-06-20 11:01:04 -06:00
Brian
b9080dd549 fix glDrawPixels + fragment program problem 2007-06-20 10:56:13 -06:00
Brian
c1cb541233 copy wpos attrib info into zoomed span (fixes fog perspective correction problem) 2007-06-20 10:55:31 -06:00
Brian
bd8eeb7ed0 Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa 2007-06-19 18:50:26 -06:00
Michel Dänzer
9cde7fb61d i915tex: Missing piece of SetTexOffset hook implementation for I830 generation. 2007-06-15 15:24:35 +02:00
Stephane Marchesin
f6963f57d9 nouveau: remove useless viewport xform with id matrix. 2007-06-14 00:44:16 +02:00
Brian
144e1e439f fix an error string, refactor _mesa_GetCompressedTexImageARB() to get rid of a goto 2007-06-12 17:17:43 -06:00
Brian
261ed74074 fix make clean commands so missing subdirs don't cause infinite loops 2007-06-12 17:06:27 -06:00
Brian
ef82f004fa fix comment 2007-06-12 15:08:43 -06:00
Brian
edf07417be Fix TEXREL issues when using GLX_USE_TLS (see bug 7459). 2007-06-12 09:47:03 -06:00
Brian
c1ba308e64 fix GLX_USE_TLS breakage, fix a warning 2007-06-12 08:57:12 -06:00
Brian
0fbc4c51a0 Rework _mesa_update_texture_compare_function() to only be called during
state validation/update.

Note that we're still temporarily skipping the test for an active fragment
program.  Need to fix shadow2D() ...
2007-06-11 17:16:18 -06:00
Brian
495e2c8327 rename/clean-up _mesa_validate_texture_wrap_mode 2007-06-11 16:42:35 -06:00
Brian
84e051b6a0 fix typo, added comment 2007-06-11 16:36:06 -06:00
Brian
227315278d Replace texobj->Complete with texobj->_Complete since it's a derived field. 2007-06-11 16:32:57 -06:00
Brian
a28977a4c7 typo: s/derrived/derived/ 2007-06-11 16:27:33 -06:00
Brian
0186f1bc83 Temporarily disable the calls to _mesa_update_texture_compare_function().
This fixes the depth-peel regression reported by Brad King.
2007-06-11 16:04:36 -06:00
Brian
cf239ced0d In generic_nop() call _mesa_warning() instead of _mesa_problem() since it's an app issue, not a mesa bug. 2007-06-11 11:03:08 -06:00
Brian
c56588407c remove dead code 2007-06-11 11:03:08 -06:00
Dave Airlie
b96dbd2a3e r300: i can't see why we fallback for polygon offset line/fill 2007-06-10 12:27:22 +10:00
Brian
86eecc701e In supported_buffer_bitmask(), use framebuffer's visual, not context's visual 2007-06-08 14:13:13 -06:00
Brian
ee170f2955 disable depthBits test in check_compatible(), see bug 11161 2007-06-08 14:12:27 -06:00
Brian
009ddb4e50 remove obsolete comment about max DEFAULT_SOFTWARE_DEPTH_BITS 2007-06-08 12:24:35 -06:00