summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-11Test the GL_ARB_draw_buffers extension.Brian
Also requires GL_EXT_framebuffer_object and OpenGL 2.0 (for GLSL).
2007-03-11Implement support for GL_ARB_draw_buffers with GL_MAX_DRAW_BUFFERS > 1.Brian
GL_MAX_DRAW_BUFFERS is currently 4. Added gl_FragData[] output for fragment programs. In _swrast_write_rgba_span() loop over the color outputs/renderbuffers.
2007-03-10Merge branch 'master' of git+ssh://brianp@git.freedesktop.org/git/mesa/mesa ↵Brian
into glsl-compiler-1
2007-03-10Fix TEXREL issues.Brian
Patch submitted by Christoph Brill. See http://www.gentoo.org/proj/en/hardened/pic-fix-guide.xml
2007-03-10check for EXT_blend_equation_separate for 2.0Brian
2007-03-10Implement gl_FrontFacing for fragment shaders.Brian
For the time being, we put the gl_FrontFacing value in the FOGC.Y input register. Combining FOGC and FrontFacing in one register is a bit of a hack and may need to be changed someday.
2007-03-10clean-up formattingBrian
2007-03-10add NULL ptr check in emit_cond()Brian
2007-03-10i915tex: Fix build against libdrm git...Michel Dänzer
2007-03-10i915tex: Fix intel_wait_flips being declared implicitly.Michel Dänzer
2007-03-10i915tex: Fix build against released version of libdrm.Michel Dänzer
2007-03-10nouveau: fix nv04 swtcl.Stephane Marchesin
2007-03-10nouveau: fix the nv04 swtcl code.Stephane Marchesin
2007-03-10nouveau: oops don't debug by default.Stephane Marchesin
2007-03-10nouveau: some fixes to the nv04 state code.Stephane Marchesin
2007-03-10nouveau: add a fifo size debug check.Stephane Marchesin
2007-03-09use gl_ModelViewProjectionMatrixTranspose in ftransform()Brian
2007-03-09add NULL ptr checkBrian
2007-03-10Merge branch 'i915tex-pageflip'Michel Dänzer
2007-03-09added GL_CURRENT_PROGRAMBrian
2007-03-09i915tex: Wait for pending scheduled flips before switching vsync pipe.Michel Dänzer
This avoids hangs when the vblank sequence numbers are not in sync between pipes, in particular when they run at different refresh rates.
2007-03-09i915tex: Set intel_fb->vbl_waited to current instead of what we aimed for.Michel Dänzer
2007-03-09Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/context.c
2007-03-09fix _mesa_uniform_matrix() transpose bugBrian
2007-03-09i915tex: Sync pages between pipes immediately again.Michel Dänzer
This should be safe now that we no longer use the MI_WAIT_FOR_EVENT instruction incorrectly and should also work correctly with applications that render to the front buffer.
2007-03-09gl_ClipVertex not supported yetBrian
2007-03-09i915tex: Do not wait for pending flips on both pipes at the same time.Michel Dänzer
The MI_WAIT_FOR_EVENT instruction does not support waiting for several events at once, so this should fix the lockups with page flipping when both pipes are enabled.
2007-03-09New IMAGE_RED_TO_LUMINANCE flag passed to _mesa_pack_rgba_span_float() to ↵Brian
fix glGetTexImage(GL_LUMINANCE) bug #10232.
2007-03-09r300: Also update window state when it's already bound but its stamp changed.Michel Dänzer
And set new cliprects before deriving other state from them. This ensures cliprects aren't accessed after having been freed. Thanks to Panagiotis Papadakos for testing various iterations of this.
2007-03-08added missing bvec2/3/4 constructorsBrian
2007-03-08fix broken vec4_seq, vec4_sne instructionsBrian
2007-03-08Update lessThan(), lessThanEqual() functions, improve some matrix constructors.Brian
2007-03-08Added IR_SLE and IR_SLT for <= and < operations.Brian
Using IR_SGE and IR_SGT with transposed args doesn't work since the __asm calls don't do argument matching by name, but by position. This fixes the broken lessThan() and lessThanEqual() functions.
2007-03-08fix tmp storage problem for IR_I_TO_FBrian
2007-03-08fix assertionBrian
2007-03-08; and {} statements were brokenBrian
2007-03-08remove unused new_cjump()Brian
2007-03-08IR_CJUMP0/1 no longer used/neededBrian
2007-03-08rewrite _slang_gen_select() to use IF nodeBrian
2007-03-08s/_slang_gen_hl_if/_slang_gen_if/Brian
2007-03-08s/_slang_gen_hl_if/_slang_gen_if/Brian
2007-03-08remove old assertionBrian
2007-03-08check for attempted writes to read-only varsBrian
2007-03-08Rework matrix-related code.Brian
GLSL matrices are stored in column-major order while GL_ARB_vertex/fragment_program use row-major. So, need to use STATE_MATRIX_TRANSPOSE for built-in matrices. Unfortunately, this means that the expression M * V isn't very efficient since we need to extract the rows out of M. And that's the typical expression for vertex transformation: gl_ModelViewProjectionMatrix * gl_Position. Solve this inefficiency by looking for M*V expressions and replacing them with V*Transpose(M). Also, add support for GLSL 1.20's MatrixTranspose, Inverse and InverseTranspose matrices.
2007-03-08 remove a if-statementXiang, Haihao
glMaterial changes the current specular exponent or glLight changes the intensity distribution of the light, but _mesa_update_state doesn't update the corresponding light table. So they must be updated at this time.
2007-03-08fix ProjectionMatrix typoBrian
2007-03-08fix gl_TextureMatrix indexingBrian
2007-03-08 Updates of the OpenVMS makefiles.J.Jansen
-include missing definitions -add files to compile -remove files from compile list which are removed from the repositry -add support for vbo new file: src/mesa/vbo/descrip.mms modified: src/mesa/descrip.mms modified: src/mesa/drivers/osmesa/descrip.mms modified: src/mesa/drivers/x11/descrip.mms modified: src/mesa/swrast_setup/descrip.mms modified: src/mesa/tnl/descrip.mms
2007-03-07more DEBUG_PROGBrian
2007-03-07update commentsBrian