Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put gl_program_machine into swrast structure rather than using a local variable. | Brian | 2007-04-19 | 2 | -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]. | Brian | 2007-04-19 | 1 | -3/+5 |
| | |||||
* | remove invalid assertion (span->facing may be set because of polygonmode) | Brian | 2007-04-19 | 1 | -2/+0 |
| | |||||
* | remove invalid assertion | Brian | 2007-04-19 | 1 | -1/+0 |
| | |||||
* | fix crash when program has invalid structure field | Brian | 2007-04-19 | 1 | -3/+4 |
| | |||||
* | init A.curFuncEndLabel = NULL | Brian | 2007-04-19 | 1 | -0/+1 |
| | |||||
* | In _mesa_unpack_depth_span() look for special cases of GLuint->GLushort and ↵ | Brian | 2007-04-19 | 1 | -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. | Brian | 2007-04-19 | 1 | -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 warning | Brian | 2007-04-18 | 1 | -2/+2 |
| | |||||
* | comments, assertions | Brian | 2007-04-18 | 1 | -2/+3 |
| | |||||
* | new comments | Brian | 2007-04-18 | 1 | -0/+13 |
| | |||||
* | record proper datatypes for uniforms/samplers | Brian | 2007-04-18 | 1 | -6/+4 |
| | |||||
* | added _slang_gltype_from_specifier() | Brian | 2007-04-18 | 3 | -68/+78 |
| | |||||
* | Start fixing some issues with uniform variables and their types. | Brian | 2007-04-18 | 5 | -27/+31 |
| | |||||
* | Fix some bugs related to querying active uniforms. | Brian | 2007-04-18 | 3 | -10/+53 |
| | |||||
* | fix error strings, add a sanity check | Brian | 2007-04-18 | 1 | -2/+14 |
| | |||||
* | xmesa: drop glide (FX) backend. | George Sapountzis | 2007-04-19 | 3 | -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(). | Brian | 2007-04-18 | 1 | -2/+1 |
| | | | | Fixes crashes w/ Brad King's depth peeling test. | ||||
* | s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token) | Brian | 2007-04-18 | 3 | -6/+6 |
| | |||||
* | Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name(). | Brian | 2007-04-18 | 3 | -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 linking | Brian | 2007-04-18 | 1 | -0/+6 |
| | |||||
* | check _PreferPixelFog in _swrast_span_default_fog(), see bug 10669 | Brian | 2007-04-18 | 1 | -5/+14 |
| | |||||
* | improved fog comment | Brian | 2007-04-18 | 1 | -1/+1 |
| | |||||
* | fig segment fault issue in TAG(triangle), (see bug 10589) | Xiang, Haihao | 2007-04-18 | 1 | -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?) | Brian | 2007-04-17 | 1 | -3/+1 |
| | |||||
* | Enable texture sampling for vertex programs/shaders. | Brian | 2007-04-17 | 4 | -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. | Brian | 2007-04-17 | 1 | -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. | ||||
* | regenerated | Brian | 2007-04-17 | 2 | -378/+438 |
| | |||||
* | fix/simplify some texture functions | Brian | 2007-04-17 | 1 | -23/+10 |
| | |||||
* | more matrix function updates | Brian | 2007-04-17 | 1 | -96/+300 |
| | |||||
* | don't set GL_TEXTURE_MAX_LEVEL for GL_TEXTURE_RECTANGLE_ARB as that ↵ | Brian | 2007-04-17 | 1 | -1/+2 |
| | | | | generates an error | ||||
* | Defer buffer pool creation to the first context creation. | Thomas Hellstrom | 2007-04-17 | 3 | -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.c | Roland Scheidegger | 2007-04-17 | 1 | -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 McFadden | 2007-04-17 | 1 | -1/+0 |
| | |||||
* | just clean-ups | Brian | 2007-04-16 | 2 | -55/+48 |
| | |||||
* | move GL_EXT_stencil_two_side into alphabetical position | Brian | 2007-04-16 | 1 | -1/+1 |
| | |||||
* | Fix glActiveStencilFaceEXT dispatch problem (bug 10523). | Brian | 2007-04-16 | 1 | -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_stage | Brian | 2007-04-16 | 1 | -1/+0 |
| | |||||
* | remove _tnl_arb_vertex_program_stage | Brian | 2007-04-16 | 6 | -11/+0 |
| | |||||
* | need to clamp MAD for linear fog | Brian | 2007-04-16 | 1 | -0/+1 |
| | |||||
* | removed unused t_vb_arbprogram stage | Brian | 2007-04-16 | 3 | -3153/+0 |
| | |||||
* | remove t_vb_arbprogram.c | Brian | 2007-04-16 | 1 | -2/+0 |
| | |||||
* | unhook t_vb_arbprogram.c code - it's going away | Brian | 2007-04-16 | 3 | -14/+19 |
| | |||||
* | Use generic program limits instead of NV-specific ones to init program ↵ | Brian | 2007-04-16 | 2 | -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. | Brian | 2007-04-16 | 1 | -4/+19 |
| | |||||
* | use b->display instead of b->xm_visual->display to fix some problems ↵ | Brian | 2007-04-16 | 1 | -7/+7 |
| | | | | detected w/ valgrind | ||||
* | Make sure we are locked when creating drm buffer objects. | Thomas Hellstrom | 2007-04-16 | 6 | -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_ARB | Brian | 2007-04-14 | 1 | -4/+8 |
| | |||||
* | implement shadow2DRect functions | Brian | 2007-04-14 | 2 | -74/+72 |
| | |||||
* | Fix sample_depth_texture() to handle texture rectangle coords. | Brian | 2007-04-14 | 1 | -30/+85 |
| |