aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r300: use mesa provided function for adding MVP codeMaciej Cencora2009-07-132-95/+7
|
* r300: simplify insert_wpos a littleMaciej Cencora2009-07-131-45/+31
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-07-1314-21/+136
|\
| * r128: fix two-sided lighting segfault seen in GLUT's olight demoPeteri Andras2009-07-133-2/+7
| |
| * intel: Bump driver data, add RC3 tagintel_2009q2_rc3Ian Romanick2009-07-121-1/+1
| |
| * gallium: compare the actual register, not all the inputsZack Rusin2009-07-111-1/+1
| | | | | | | | otherwise we decrement indexes for all registers
| * tgsi: update some assertionsBrian Paul2009-07-101-4/+4
| |
| * tgsi: tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | | | | | Same story as in the tgsi_dump.c code (see prev commit).
| * tgsi: add semantic_names[] string for TGSI_SEMANTIC_FACEBrian Paul2009-07-101-1/+6
| | | | | | | | | | | | | | | | Fixes TGSI dump output when front/back-face register is declared. Also, add some assertions to make sure the semantic/interpolate string arrays have as many elements as there are tokens in the p_shader_tokens.h file. That should catch problems like this in the future.
| * st/mesa: implement indirect addressing for destination registersBrian Paul2009-07-101-0/+5
| |
| * tgis: implement indirect addressing for destination registersBrian Paul2009-07-106-11/+101
| | | | | | | | Includes the TGSI interpreter, but not the SSE/PPC/etc code generators.
| * vbo: fix vbo/dlist memory leakBrian Paul2009-07-101-0/+5
| | | | | | | | Based on a patch by [email protected]
| * mesa: From float type modifier from values to large for singlesIan Romanick2009-07-091-7/+7
| | | | | | | | | | | | | | | | | | The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344. (cherry picked from commit 70e72070fce6aa1e0918dcc62c1949465cee69f7)
* | radeon: port more front fixes from intel.Dave Airlie2009-07-143-1/+24
| | | | | | | | Port fixes to read buffer from front.
* | radeon/r200: fix color masking under dri2Dave Airlie2009-07-142-13/+37
| | | | | | | | Need to retrieve the bits from the rrb not from screen struct
* | radeon: Use Stencil.Enabled instead of Stencil._Enabled in DrawBuffers.Dave Airlie2009-07-141-2/+1
| | | | | | | | | | | | The _Enabled field isn't updated at the point that DrawBuffers is called, and the Driver.Enable() function does the testing for stencil buffer presence anyway.
* | radeon/fbo: stencil bits fix from Michel in intel fbo codeDave Airlie2009-07-141-0/+1
| |
* | i965: add support for new chipsetsXiang, Haihao2009-07-1333-149/+823
| | | | | | | | | | | | | | | | | | | | 1. new PCI ids 2. fix some 3D commands on new chipset 3. fix send instruction on new chipset 4. new VUE vertex header 5. ff_sync message (added by Zou Nan Hai <[email protected]>) 6. the offset in JMPI is in unit of 64bits on new chipset 7. new cube map layout
* | r300: move fallback warnings inside fallback debuggingDave Airlie2009-07-121-1/+2
| | | | | | | | random output is bad
* | r300: fix clear mask to not use sw if not necessaryDave Airlie2009-07-121-0/+2
| |
* | radeon: Fix crash when rendering to incomplete texture and other formatsNicolai Hähnle2009-07-121-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | It is possible to bind texture images of an incomplete mipmapped texture. Software fallbacks in this case incorrectly tried to mmap the entire texture. Additionally, add span functions for 1555 and 4444 formats. This fixes crashes in piglit's fbo-readpixels test; unfortunately, the test itself still fails - this needs to be investigated. Signed-off-by: Nicolai Hähnle <[email protected]>
* | radeon: update clear code from Intel codebase.Dave Airlie2009-07-122-35/+74
| | | | | | | | | | | | This updates some of the clear code from Intel gives a 5x clearspd perf for me here. played openarena also, not sure if the viewport changes broke anything,
* | radeon: fbo fix firecube crashesDave Airlie2009-07-121-0/+14
| | | | | | | | it might still be misrendering not sure
* | radeon: Fix scissor rectangle calculation when rendering to FBO.Michel Dänzer2009-07-111-3/+8
| | | | | | | | fgl_glxgears -fbo runs, though the gears don't look right yet.
* | radeon: enable GL_NV_texture_rectangle under dri2.Dave Airlie2009-07-111-1/+1
| |
* | radeon: set texture in state properly.Dave Airlie2009-07-112-3/+5
| | | | | | | | make sure to turn off when no texture is used in hw
* | radeon: make swtcl emit size biggerDave Airlie2009-07-111-1/+1
| |
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-07-092-7/+9
|\|
| * glsl: do const parameter optimization for array element actual parametersBrian Paul2009-07-091-2/+3
| | | | | | | | | | | | | | | | | | | | When a function parameter is const-qualified we can avoid making a copy of the actual parameter (we basically do a search/replace when inlining). This is now done for array element params too, resulting in better code (fewer MOV instructions). We should allow some other types of function arguments here but let's be conservative for the moment.
| * glsl: fix incorrect indexing for gl_TextureMatrix[i][j]Brian Paul2009-07-091-5/+6
| | | | | | | | | | The two indexes were mixed up when accessing a row of a matrix in an array of matrices.
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-051-3/+12
|\|
| * mesa: only use fallback texture when using shaders, not fixed-function (take ↵Brian Paul2009-07-071-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | two) The semantics are a little different for shaders vs. fixed-function when trying to use an incomplete texture. The fallback texture returning (0,0,0,1) should only be used with shaders. For fixed function, the texture unit is truly disabled/ignored. Fixes glean fbo test regression. (cherry picked from commit 01e16befd4809e3e93ee7855a4a5d7df9fe010d9) (cherry picked from commit 51325f44d1e7e62b47795a79f8038d10dc5bc30b) [anholt: squashed these two together from master, skipping the mess in between]
| * gallium: fixup register indexes for fog/frontface/point coordZack Rusin2009-07-071-3/+12
| |
* | glx: death to RCS tagRALOVICH, Kristóf2009-07-081-1/+0
| |
* | r300g: Remove VAP_CNTL_STATUS from invariant state.Corbin Simpson2009-07-081-6/+1
| | | | | | | | Seriously.
* | r300g: Disable MSPOS registers for glisse's CS security checker.Corbin Simpson2009-07-081-4/+7
| | | | | | | | These will come back in someday, when we can properly use them.
* | r300-gallium: Unify sampler and texture emit.Corbin Simpson2009-07-083-39/+26
| | | | | | | | They have to cross into each other's registers.
* | r300-gallium: Mipmap setup.Corbin Simpson2009-07-082-10/+19
| | | | | | | | (cherry picked from commit 88c01a15da5639dd68a6a0133724994cb66f1316)
* | r300g: Add endian fix to vertex fetcher setup.Corbin Simpson2009-07-081-2/+9
| | | | | | | | As reported and initially tested by MrCooper.
* | gallium: Add endian detection to p_config.Corbin Simpson2009-07-081-0/+13
| |
* | r300: fix regression introduced by ca13937ef97c7779f639dcfc95b3798a11de01bdMaciej Cencora2009-07-081-1/+1
| | | | | | | | | | | | Stride == 0 means that we value for first vertex should be copied to every other vertices (e.g. constant color). This fixes glean/vertProg1 and sauerbraten with enabled shaders.
* | radeon: fix copy and paste typoMaciej Cencora2009-07-081-1/+1
| |
* | mesa/vbo: always recalculate min_index and max_index when splitting verticesMaciej Cencora2009-07-081-26/+10
| |
* | intel: Fix flipped Y for glDrawPixels(GL_STENCIL_INDEX) to window system.Eric Anholt2009-07-071-5/+17
| | | | | | | | | | Even after fixing bugs in this code, it doesn't make me feel any cleaner. Fixes piglit stencil-drawpixels.
* | intel: Fall back on glCopyPixels(GL_DEPTH) or GL_STENCIL.Eric Anholt2009-07-071-0/+6
| |
* | i965: Remove BRW_NEW_INPUT_VARYINGEric Anholt2009-07-073-10/+1
| | | | | | | | This state flag has been unused since the ffvertex_prog move to core.
* | Cap array elements at 0 when passed an invalid pointer for an array object.Eric Anholt2009-07-071-0/+10
| | | | | | | | | | | | | | Otherwise, a pointer greater than the size would underflow and give a large maximum element. Reviewed-by: Brian Paul <[email protected]> (previous version)
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-0413-160/+362
|\|
| * gallium: Fixes for clobbering stencil values in combined depth/stencil textures.Michel Dänzer2009-07-073-11/+64
| | | | | | | | | | Also fix one case where a 32 bit depth value was incorrectly converted to a combined depth/stencil value.
| * GLX/DRI1: Mark GLX visuals with depth != screen depth non-conformant.Michel Dänzer2009-07-071-0/+23
| | | | | | | | | | Such visuals are subject to automatic compositing in the X server, so DRI1 can't render to them properly.