summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Put gl_program_machine into swrast structure rather than using a local variable.Brian2007-04-192-10/+13
| | | | | Basically an easy way to make sure the memory gets initialized once (to zero) to avoid lots of valgrind warnings.
* Fix valgrind problem caused by reading text[-1].Brian2007-04-191-3/+5
|
* remove invalid assertion (span->facing may be set because of polygonmode)Brian2007-04-191-2/+0
|
* remove invalid assertionBrian2007-04-191-1/+0
|
* fix crash when program has invalid structure fieldBrian2007-04-191-3/+4
|
* init A.curFuncEndLabel = NULLBrian2007-04-191-0/+1
|
* In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵Brian2007-04-191-0/+31
| | | | | | | | GLushort->GLuint conversion. This improves performance and avoids int/float/int conversion problems that can introduce errors during glCopyTexImage(). Another fix for the depth peeling algorithm.
* Don't allow deferredTexture if using occlusion query and a frag shader.Brian2007-04-191-4/+17
| | | | | | Occlusion query might depend on the shader killing/discarding fragments. Helps fix depth peeling technique. Also, minor tweaks in interpolate_wpos().
* fix an uninitialized variable and a warningBrian2007-04-181-2/+2
|
* comments, assertionsBrian2007-04-181-2/+3
|
* new commentsBrian2007-04-181-0/+13
|
* record proper datatypes for uniforms/samplersBrian2007-04-181-6/+4
|
* added _slang_gltype_from_specifier()Brian2007-04-183-68/+78
|
* Start fixing some issues with uniform variables and their types.Brian2007-04-185-27/+31
|
* Fix some bugs related to querying active uniforms.Brian2007-04-183-10/+53
|
* fix error strings, add a sanity checkBrian2007-04-181-2/+14
|
* xmesa: drop glide (FX) backend.George Sapountzis2007-04-193-284/+6
| | | | | | glide is no longer compiled with stand-alone libGL, so this will not link. There are still the glide config files. some code in demos and the GLX_MESA_set_3dfx_mode code which could be removed.
* Remove bad assertions, decrement NumShaders in _mesa_detach_shader().Brian2007-04-181-2/+1
| | | | Fixes crashes w/ Brad King's depth peeling test.
* s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token)Brian2007-04-183-6/+6
|
* Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name().Brian2007-04-183-8/+13
| | | | | | The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK.
* call ProgramStringNotify() after linkingBrian2007-04-181-0/+6
|
* check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669Brian2007-04-181-5/+14
|
* improved fog commentBrian2007-04-181-1/+1
|
* fig segment fault issue in TAG(triangle), (see bug 10589)Xiang, Haihao2007-04-181-19/+24
| | | | | | Bit SS_TWOSIDE_BIT is set if gl_FrontFacing lives in fragment input (see commit 10b5895597d5e069183cb647d17eb412effceb4f). However, VB->ColorPtr[1] isn't assigned after that.
* omit the glide/svga sources from stand-alone libGL (anyone using them?)Brian2007-04-171-3/+1
|
* Enable texture sampling for vertex programs/shaders.Brian2007-04-174-20/+70
| | | | | | | This is a bit of a hack for now because the tnl module is using the swrast module to fetch texels. The texture fetch/filter code should probably be moved into the main/ module since it doesn't really depend upon other swrast code.
* In bind_inputs() set VB->EdgeFlag to NULL if it's not needed.Brian2007-04-171-1/+4
| | | | | | Otherwise, the clip/interp code was finding VB->EdgeFlag to be non-null and reading/writing it when the memory may have been freed earlier in free_space(). This fixes several VTK segfaults/failures reported by Brad King @ Kitware.
* regeneratedBrian2007-04-172-378/+438
|
* fix/simplify some texture functionsBrian2007-04-171-23/+10
|
* more matrix function updatesBrian2007-04-171-96/+300
|
* don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵Brian2007-04-171-1/+2
| | | | generates an error
* Defer buffer pool creation to the first context creation.Thomas Hellstrom2007-04-173-43/+55
| | | | | | This way we have a hw context so that we can take the hardware lock. Also, at this point, AIGLX isn't locked with the X server context as it is at screen creation.
* cleanups for t_vb_program.cRoland Scheidegger2007-04-171-13/+19
| | | | | | use VertexProgram._Current instead of VertexProgram.Current in a few more places. Only fixup fogc and psiz in case this is really a nv program (others are fine if undefined), and fix this case up so the values actually get written.
* r300: r300_render.c:391: warning: unused variable 'i'Oliver McFadden2007-04-171-1/+0
|
* just clean-upsBrian2007-04-162-55/+48
|
* move GL_EXT_stencil_two_side into alphabetical positionBrian2007-04-161-1/+1
|
* Fix glActiveStencilFaceEXT dispatch problem (bug 10523).Brian2007-04-161-6/+3
| | | | | | | | OK, _all_ extensions that might get enabled by the driver need to be in the card_extensions[] list. driInitExtensions() is called at least twice: first during screen creation, then once for each context that's created. The first call sets up the dispatch table. The second call just sets the extension enable/disable flags.
* remove _tnl_arb_vertex_program_stageBrian2007-04-161-1/+0
|
* remove _tnl_arb_vertex_program_stageBrian2007-04-166-11/+0
|
* need to clamp MAD for linear fogBrian2007-04-161-0/+1
|
* removed unused t_vb_arbprogram stageBrian2007-04-163-3153/+0
|
* remove t_vb_arbprogram.cBrian2007-04-161-2/+0
|
* unhook t_vb_arbprogram.c code - it's going awayBrian2007-04-163-14/+19
|
* Use generic program limits instead of NV-specific ones to init program ↵Brian2007-04-162-5/+8
| | | | | | | | | constants. Previously, this limited us to 12 temp regs for vertex programs. Many vertex shaders could exceed that. This forces us to stop using t_vb_arbprogram.c for now because of its particular register indexing scheme. Need to increase bits allocated for register indexing, etc.
* Fix some assertions that could occur when an error was earlier logged.Brian2007-04-161-4/+19
|
* use b->display instead of b->xm_visual->display to fix some problems ↵Brian2007-04-161-7/+7
| | | | detected w/ valgrind
* Make sure we are locked when creating drm buffer objects.Thomas Hellstrom2007-04-166-5/+37
| | | | | Don't place buffer objects on unfenced list when newly created. Fix a buffer object wait-for-idle deadlock.
* illegal to set GL_TEXTURE_MAX_LEVEL w/ GL_TEXTURE_RECTANGLE_ARBBrian2007-04-141-4/+8
|
* implement shadow2DRect functionsBrian2007-04-142-74/+72
|
* Fix sample_depth_texture() to handle texture rectangle coords.Brian2007-04-141-30/+85
|