aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
Commit message (Collapse)AuthorAgeFilesLines
* r300: rewrite FOGC and HPOS attribs handlingMaciej Cencora2009-07-137-122/+130
| | | | Rewrite vertex and fragment programs so that we don't have to do any hacks on lower level.
* r300: bind vertex program to fragment programMaciej Cencora2009-07-134-114/+103
|
* 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-134-3/+8
|\
| * 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
| |
| * i965: fix fetching constants from constant buffer in glsl pathRoland Scheidegger2009-07-044-17/+16
| | | | | | | | | | | | | | | | | | | | | | | | the driver used to overwrite grf0 then use implicit move by send instruction to move contents of grf0 to mrf1. However, we must not overwrite grf0 since it's still used later for fb write. Instead, do the move directly do mrf1 (we could use implicit move from another grf reg to mrf1 but since we need a mov to encode the data anyway it doesn't seem to make sense). I think the dp_READ/WRITE_16 functions may suffer from the same issue. While here also remove unnecessary msg_reg_nr parameter from the dataport functions since always message register 1 is used.
| * i965: Remove bad constant buffer constant-reg-already-loaded optimization.Eric Anholt2009-07-041-13/+11
| | | | | | | | | | | | | | Thanks to branching, the state of c->current_const[i].index at the point of emitting constant loads for this instruction may not match the actual constant currently loaded in the reg at runtime. Fixes a regression in my GLSL program for idr's class since b58b3a786aa38dcc9d72144c2cc691151e46e3d5.
* | 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
| |
* | glx: death to RCS tagRALOVICH, Kristóf2009-07-081-1/+0
| |
* | 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
| |
* | 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.
* | radeon: ensure cmdbuf space for state + AOS is availableDave Airlie2009-07-061-0/+6
| | | | | | | | | | | | | | | | | | | | The problem is if we find out later we don't have any cmdbuf space but we've already written the arrays to the DMA buffer object, we end up emitting the current cmdbuf which has references to the current DMA object we then send that to the hw and we can't reference the arrays we just emitted to the old DMA buffer. things go bad, crash boom. This can probably be tuned further + swtcl probably needs some fixes
* | r200: fix makefileDave Airlie2009-07-061-1/+1
| |
* | radeon: fixup FBO depth 24 allocations to avoid assertDave Airlie2009-07-061-3/+3
| |
* | radeon/r200/r300: port to new space checking code in libdrmDave Airlie2009-07-0616-223/+417
| | | | | | | | | | This moves a big chunk of the space checking code into libdrm so it can be shared by the DDX.
* | r300: fix vertex limitsMaciej Cencora2009-07-052-22/+7
| | | | | | | | | | | | | | - don't limit vertex count if we are using indices - max indices count is 65535 not 65536 - remove some comments that don't apply anymore - remove unreachable code
* | Merge branch 'mesa_7_5_branch'Jakob Bornecrantz2009-07-031-0/+1
|\| | | | | | | | | | | Conflicts: src/mesa/main/dlist.c src/mesa/vbo/vbo_save_api.c
| * intel: Also update stencil bits in intel_update_wrapper().Michel Dänzer2009-07-031-0/+1
| | | | | | | | | | Fixes assertion failure when binding depth/stencil texture to FBO stencil attachment.
| * i915: Fix assertion failure on remapping a non-BO-backed VBO.Eric Anholt2009-06-301-1/+4
| | | | | | | | | | | | Failure to set the obj->Pointer back to null tripped up the assertion. Bug #22428. (cherry picked from commit 57a06d3a48c9af1067ec05e3ad96c58f4b9b99be)
* | radeon: Wait for BO idle if necessary before mapping it.Michel Dänzer2009-07-031-0/+2
| | | | | | | | Fixes fighting between GPU and software rendering with TTM.
* | r300: Guard debugging output.Michel Dänzer2009-07-031-2/+3
| |
* | intel: Fall back on glBitmap with fog enabled.Eric Anholt2009-07-021-0/+6
| | | | | | | | | | | | | | We would have to build the program with the appropriate fog mode, and also supply the fog coordinate if appropriate. Bug #19413.
* | intel: Flush when mapping buffer objects so writes don't get reordered.Eric Anholt2009-07-022-0/+5
| | | | | | | | | | While GEM covers this for execution it knows about, it doesn't know about the batchbuffer we're preparing. Fixes piglit vbo-map-remap.c testcase.
* | intel: Fix leak of DRI option info due to using the wrong free routine.Eric Anholt2009-07-021-1/+1
| |