summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2008-01-25i965: valid message length includes message header.Xiang, Haihao1-1/+1
2008-01-25i965: re-define the type of reg.loopcount.Xiang, Haihao1-1/+1
avoid some issues such that 1 + (-2) gets a big positive value.
2008-01-23Assorted patches for miniglx/linux-solo (Gavin Li <codeview@gmail.com>)Brian3-0/+32
2008-01-22fix pc vs. gc->ps usage (bug 14197)Brian1-4/+4
2008-01-21prep for 7.0.3 releaseBrian1-2/+2
2008-01-14i965: Fix byte vs. pixel unit mixup for aligned texture pitch.Michel Dänzer1-1/+1
I sincerely hope I don't manage to mess this up yet again... Thanks again to Todd Merrill for pointing out the problem and testing the fix on IRC.
2008-01-11i965: Fix unresolved symbol intel_miptree_pitch_align.Michel Dänzer2-0/+27
For some reason, I thought that function was shared with i915tex... The good news is that i965 gets to keep the lower pitch alignment requirements. Thanks to Todd Merrill for pointing out the problem on IRC.
2008-01-08i915tex: Centralize mipmap pitch computations.Keith Packard8-36/+64
mipmap pitches must account for the device alignment requirements, which used to be fairly simple; just align to a 4-byte boundary. However, to allow textures to be drawn to under TTM, they now need to be aligned to a 64-byte boundary. Placing all of the alignment constraints in a single function allows this new constraint to be applied uniformly. There was some pitch constraining code in intel_miptree_create, but that was modifying the pitch long after the miptree had been layed out, so it only served to wreck the mipmap and cause rendering errors. (cherry picked from commit a183efc132c8db1bb42525ac177ffff96f69a59b with manual changes for mesa_7_0_branch by Michel Dänzer. One side effect of this is that i965 also aligns the pitch of 2D textures to multiples of 64 bytes, hopefully that won't cause any issues)
2008-01-05fix depth/1 typo in glTexImage3D proxy codeBrian1-4/+4
2008-01-02additional stub functionsBrian1-0/+4
2008-01-02additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian1-0/+8
2008-01-01fix vbo display list memleak upon context destructionBrian2-0/+16
2008-01-01additional GL_COLOR_ATTACHMENTx_EXT cases (bug 13767)Brian1-0/+8
2008-01-01Convert to 0/1 when setting boolean uniformsBruce Merry1-0/+7
Also add some extra tests to the shader_api regression tests
2008-01-01Make use of count in _mesa_uniform_matrixBruce Merry1-13/+25
2008-01-01More fixes to shader_apiBruce Merry1-7/+16
- return GL_INVALID_OPERATION instead of GL_INVALID_VALUE if location is bad - correct the type-checking of uniforms from my previous commit - accept location of -1 in _mesa_uniform_matrix
2008-01-01Fix several bugs relating to uniforms and attributes in GLSL APIBruce Merry1-11/+73
- fix sizes for GL_FLOAT_MAT2x3 and GL_FLOAT_MAT4x3 in sizeof_glsl_type - fix size returns in _mesa_get_active_attrib - fix out-of-bounds array access to vec_types in _mesa_get_active_attrib - fix queries of matrix uniforms in _mesa_get_uniformfv - fix _mesa_get_uniformfv to only return one base, even from an array - allow location == -1 in _mesa_uniform - validate types in _mesa_uniform - allow array overruns in _mesa_uniform
2008-01-01added 'get' info for framebuffer object tokensBrian2-8/+18
2008-01-01add 'Get' info for MAX_3D_TEXTURE_SIZE (for bug 13811)Brian1-1/+3
2007-12-22fix GL_LINE_LOOP with drivers using own render pipeline stage (#12410, #13527)Roland Scheidegger10-10/+10
primitive needs to include the begin/end flags (broken since vbo-0.2). Should fix missing first/last line segment on gamma, i810, i915, mga, r200, radeon, s3v, savage, unichrome (r300 already correct). Tested on r200, fixes #13527.
2007-12-20return correct size from glGetActiveUniform (bug 13751)Brian1-3/+55
2007-12-19i965: allocate GRF registers before building subroutines,Xiang, Haihao3-16/+25
it ensures there are sufficient registers for all subroutines.
2007-12-19i965: restore the flag after building the subroutine of theXiang, Haihao1-2/+11
GS thread. fix #13240
2007-12-18Remove -I$(TOP)/src/mesa/transformBrian1-1/+0
2007-12-18simplify update two-side lighting test (follow-on to previous ↵Brian1-3/+1
front/back-face changes)
2007-12-18fix NEED_SECONDARY_COLOR for vert/frag progsBrian1-4/+4
2007-12-17i915tex: Fix issues with glDrawBuffer(GL_NONE).Michel Dänzer1-27/+23
Don't dereference NULL renderbuffer pointer, and make sure the software fallback sticks. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=13694 .
2007-12-14fix polygon cull regressionBrian1-7/+3
2007-12-04fix span->facing computation and gl_FrontFacing initializationBrian2-7/+5
2007-12-04Fix gl_FrontFacing compilation problemBrian1-1/+2
2007-12-03fix DD_TRI_LIGHT_TWOSIDE bug (#13368)Brian1-4/+4
2007-12-03Fix the library name in glw.pcDan Nicholson1-1/+1
Fix a copy and paste error s/GLU/GLw/ in glw.pc. (cherry picked from commit 2dc85e8078bed67cb5d8bc3e16484f56c61c61ca)
2007-12-03added missing quote charBrian1-1/+1
2007-12-03i915tex: Fix up state changes for i8xx.Michel Dänzer1-6/+56
(cherry picked from commit 2af613e0b8e6f89cc7528ff5a969e18f077e61fc)
2007-11-30fix-build: remove ctx->_Facing assignmentBrian1-8/+0
2007-11-30fix broken two-sided stencilBrian15-24/+49
2007-11-30i965: use uncompressed instruction to ensure onlyXiang, Haihao1-0/+1
Pixel Mask Copy is modified as the pixel shader thread turns off pixels based on kill instructions.
2007-11-29New ctx->Driver.Map/UnmapTexture() functions for accessing textures from ↵Brian4-1/+56
t_vb_program.c
2007-11-29cleanups, commentsBrian1-31/+34
Conflicts: src/mesa/tnl/t_vb_program.c
2007-11-29Move _mesa_load_tracked_matrices() from TNL module to prog_statevars.cBrian4-102/+101
2007-11-29make sure state token values are fully initializedRoland Scheidegger2-2/+2
2007-11-28r200: Fix texture format regression on big endian systems.Michel Dänzer1-3/+6
See https://bugs.freedesktop.org/show_bug.cgi?id=13324 . Also use tx_table_be for VALID_FORMAT, in case r200SetTexImages ever gets called for MESA_FORMAT_RGB888. (cherry picked from commit dc88a96631c21c2bc2cdffefc8947e8924d77c91)
2007-11-27use DEFAULT_SOFTWARE_DEPTH_BITSDelle1-7/+9
2007-11-27set fp->UsesKill when emitting OPCODE_KILBrian1-1/+7
2007-11-27improve 24-bit Z to 32-bit Z conversionBrian1-2/+3
2007-11-26i915tex: Fix some minor batchbuffer errors.Keith Whitwell1-1/+5
2007-11-26i915tex: Catch cases where not all state is emitted for a new batchbuffer.Keith Whitwell6-2/+57
This could lead to incorrect rendering or even lockups.
2007-11-26i915tex: Some additional blit fixes and assertions.Michel Dänzer1-8/+24
2007-11-26i915tex: Actually wait for previous commands to complete for glFinish().Michel Dänzer1-1/+1
2007-11-23Consolidate texture fetch code and use partial derivatives when possible.Brian3-75/+79