Commit Graph

2839 Commits

Author SHA1 Message Date
Brian Paul e90de7883a Fix generic/conventional vertex array glitches.
Changed _NEW_ARRAY_ATTRIB_0 back to 0x10000 so that the conventional and
generic enable bits do not alias.
In ac_import.c test Array.Normal.Enabled instead of Array._Enabled & _NEW_ARRAY_COLOR0, etc.
In t_array_import.c give priority for generic arrays over conventional
arrays on an individual basis, not all or none.
2003-11-29 19:33:33 +00:00
Brian Paul afb6fe034c more tweaks to error checking and reporting 2003-11-28 21:06:40 +00:00
Brian Paul deb4a63a86 if id==0 in glGetQueryObject, raise GL_INVALID_OPERATION 2003-11-28 20:30:36 +00:00
Brian Paul c99e2dd1d3 fix an error test 2003-11-28 18:18:50 +00:00
Keith Whitwell 326bc7150d Save and restore front colors on backfacing triangles rather than trying to
pull them again from the VB pointers.  Avoids stride issues.
2003-11-28 09:43:18 +00:00
Daniel Borca 854b4a3b54 accomodate vtx-0-2-branch 2003-11-26 08:32:35 +00:00
Brian Paul 0f3cd3f894 current raster color index should be GLfloat 2003-11-25 22:45:59 +00:00
Brian Paul 7939ed0e8e Otto Solares' patch to add radeon 9200 2003-11-25 16:45:33 +00:00
Brian Paul 8236a534b7 fix assorted g++ warnings 2003-11-25 16:39:31 +00:00
Brian Paul 2c9f50dd4a casts for g++ 2003-11-25 16:21:51 +00:00
Brian Paul 3bc7f3f864 fix a lot of warnings found with g++ 2003-11-25 16:18:31 +00:00
Brian Paul 97d8a35fa8 silence a warning 2003-11-25 16:02:39 +00:00
Brian Paul 47b0bc1a36 remove __FUNCTION__ hack 2003-11-25 16:02:24 +00:00
Brian Paul 4ccbe9e666 added a cast 2003-11-25 16:00:25 +00:00
Brian Paul b65bc4f87b Remove unnecessary usage of __FUNCTION__.
#define MESA_FUNCTION to __FUNCTION__ if MESA_DEBUG is defined.
2003-11-25 15:58:22 +00:00
Karl Rasche e749be22b0 - New version of the syntax rules from Michal Krol
+ Handles '1' as a float, just like '1.'
   + Remove switch collision between vp and fp #defines
   + result.color.xyz no longer requires result.color.primary.xyz
2003-11-25 02:08:05 +00:00
Karl Rasche 9bc3753a51 added support for generic vertex attributes (ARB_vp) and their error checking 2003-11-25 00:04:36 +00:00
Brian Paul 18199d3954 updated after APIspec fixes 2003-11-24 23:14:53 +00:00
Brian Paul 2171fadc26 oops, fix glitches in 1.5 functions 2003-11-24 23:03:29 +00:00
Brian Paul e1a107c4e7 minor cast fixes 2003-11-24 22:32:16 +00:00
Brian Paul 62b6eb320e generate the OpenGL 1.5 entrypoints 2003-11-24 22:30:32 +00:00
Brian Paul b52559eb8c set the VB->FogCoordPtr with the other legacy pointers 2003-11-24 17:00:03 +00:00
Brian Paul c515f90ec3 fix YCBCR assertion and disable assertion in auto-mipmap code 2003-11-24 16:51:26 +00:00
Keith Whitwell 7f28ab7d24 remove dead files 2003-11-24 15:42:24 +00:00
Brian Paul 8a299e7888 whitespace and comment changes 2003-11-24 15:41:39 +00:00
Brian Paul 7e86eb991b minor error string improvement 2003-11-24 15:40:52 +00:00
Keith Whitwell ae0eaf93e0 Merge vtx-0-2-branch 2003-11-24 15:23:18 +00:00
Keith Whitwell 57c9814b9e Import vtx-0-2-branch 2003-11-24 15:21:14 +00:00
Keith Whitwell 5b5cf9cb8b Remove a lot of rcs tags, avoid merge conflicts 2003-11-24 15:19:27 +00:00
Karl Rasche 79e0dad79e - parse_alias() Was totally borked
- forgot a ++ in texSrcBit switch
- copy/paste error in arbfragparse.c
2003-11-23 19:29:18 +00:00
Karl Rasche 4eebfa14e7 - Create a dummy program to keep from segfaulting when parsing
fails
	- Change to grammar .emit to fix single LOCAL/ENV param usage
2003-11-23 17:54:39 +00:00
Brian Paul 4774cd9568 pass ctx to fetch_vector4_deriv() 2003-11-22 18:29:43 +00:00
Brian Paul 96ad2cde2c GL_ARB_point_sprite is not part of 1.5 2003-11-22 18:28:21 +00:00
Daniel Borca 533733d1d4 updated core makefiles to include arbparse 2003-11-22 11:27:33 +00:00
Brian Paul a1769b0287 fix some bugs in computation of DDX, DDY commands 2003-11-21 20:48:16 +00:00
Brian Paul b9c5672d22 s/byte/GLubyte/ and other minor clean-ups 2003-11-21 17:07:59 +00:00
Brian Paul 6d66ba171e reformat comments for 80-column viewing 2003-11-21 16:50:03 +00:00
Brian Paul ba254c08c0 fix a bunch of warnings 2003-11-21 16:38:56 +00:00
Daniel Borca 663a9e1b7e more texture compression 2003-11-21 09:56:50 +00:00
Jouk Jansen 8b07e9d8a4 Committing in .
- Added arbparse.c to OpenVMS makefile
   - Added 2 type casts in a strcmp call to make my compiler happy.

 Modified Files:
 	Mesa-newtree/src/mesa/main/arbparse.c
 	Mesa-newtree/src/mesa/main/descrip.mms
 ----------------------------------------------------------------------
2003-11-21 08:24:40 +00:00
Karl Rasche a6a4257f76 Caught missing parse_color_type() [Jacob Jansen] 2003-11-21 01:22:46 +00:00
Daniel Borca c07cd5b99f small matters 2003-11-20 17:05:56 +00:00
Karl Rasche 00ad4e109a Initial checkin of new ARB frag/vertex program parser 2003-11-19 13:21:20 +00:00
Karl Rasche 75b5cb4317 Initial checkin of new ARB_frag/vertex program parser 2003-11-19 13:17:33 +00:00
Karl Rasche 1c27a1e957 Initial checking of new ARB_frag/vertex program parser 2003-11-19 13:15:13 +00:00
Daniel Borca ef563d011b doc updates; GLUT timer additions; fixed compilation warnings 2003-11-18 12:18:13 +00:00
Brian Paul aa0d6dcd65 added reference to original half/float conversion code 2003-11-18 03:44:53 +00:00
Brian Paul 10b09212e8 added missing <type> error checking in read_index_pixels() 2003-11-18 03:42:17 +00:00
Brian Paul 7eb3e9b964 Some groundwork for supporting GLhalf datatype. 2003-11-18 03:41:14 +00:00
Brian Paul 56fe4dc391 fix comments about Cr==V, Cb==U 2003-11-18 00:48:24 +00:00