summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300: recalculate used inputs and outputs after dead code removalMaciej Cencora2009-07-131-0/+28
|
* r300: move fragment program selection before vertex program selectionMaciej Cencora2009-07-131-19/+25
| | | | Prepare for wpos and fogc handling rewrite.
* r300: implement proper IsProgramNative check for vertex programsMaciej Cencora2009-07-135-12/+23
|
* r300: don't modify original vertex programMaciej Cencora2009-07-133-28/+28
| | | | Keep the original vertex program untouched because it may be needed after some state change for generating new r300 specific vertex program.
* r300: cache translated fragment programsMaciej Cencora2009-07-136-124/+173
|
* r300: update state parameters only once per rendering operationMaciej Cencora2009-07-133-15/+3
|
* r300: translate non native insts earlier for easier debuggingMaciej Cencora2009-07-131-0/+202
|
* r300: print vertex program after adding artificial output instsMaciej Cencora2009-07-131-12/+12
|
* 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-1316-22/+138
|\
| * 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]
| * demos: set 4th component of texcoord to 1.0Brian Paul2009-07-101-0/+1
| | | | | | | | Avoid potential randomness in resulting texcoords.
| * Remove stale reference to non-Gallium nouveau driver from configure.ac.Michel Dänzer2009-07-101-1/+1
| |
| * 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-093-7/+11
|\|
| * docs: document gl_TextureMatrix[i][j] array indexing bug fixBrian Paul2009-07-091-0/+1
| |
| * 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.
| * docs: document glMaterial/glShadeModel display list optimizationBrian Paul2009-07-081-0/+1
| |
* | 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
| |
* | demos: indentation fixBrian Paul2009-07-081-1/+1
| |
* | demos: use glEnable/DisableClientState() for vertex arraysBrian Paul2009-07-087-27/+27
| |
* | 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.