aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* make sure ctx->Driver.Flush is valid before calling itAlex Deucher2009-07-152-4/+8
|
* Use memcpy directly in the common codeAlex Deucher2009-07-153-20/+12
| | | | This alleviates the need for an additional symbol.
* R6xx/r7xx: implement memcpy buffer swapsAlex Deucher2009-07-141-0/+18
| | | | | | | This allows double buffered apps to run, but perfomance will be awful until we implement something faster. You must update to the latest kernel modules.
* r6xx/r7xx: fix buffer aging bugAlex Deucher2009-07-142-28/+33
| | | | | We were using sparse indexing for aos, while the common code expected packed indexing.
* R6xx/R7xx: no irqs yet.Alex Deucher2009-07-141-2/+5
|
* Disable shader dumpsAlex Deucher2009-07-141-0/+3
|
* R6xx/r7xx: Fix specular lighting issueCooper Yuan2009-07-141-19/+23
|
* R6xx/r7xx: use packet 3 for scratch emitAlex Deucher2009-07-101-2/+3
| | | | no need to allow packet 0 scratch regs in the drm
* R6xx/r7xx: disable CS dumpAlex Deucher2009-07-091-1/+1
| | | | Don't fprintf to a xterm with the lock held.
* Fix buffer age implementaion bug.Richard Li2009-07-082-3/+35
|
* R6xx/r7xx: remove some left over debuggingAlex Deucher2009-07-071-2/+0
|
* R6xx/R7xx: fix texture reloc emitAlex Deucher2009-07-071-1/+5
| | | | Textures don't look right yet, but tex demos run.
* r6xx/r7xx: add sw blit for tex uploadAlex Deucher2009-07-072-38/+64
| | | | Can be used for buffer swap as well.
* tex wipAlex Deucher2009-07-072-5/+1
|
* R6xx/r7xx: first pass at texture supportAlex Deucher2009-07-0613-1701/+1365
| | | | texture bo setup isn't quite working yet
* R6xx/r7xx: DEPTH_CONTROL will be reset by this functionCooper Yuan2009-07-061-1/+0
|
* r6xx/r7xx: Better fix for fragment tempsRichard Li2009-07-021-1/+1
| | | | This doesn't waste as many in generic cases.
* R6xx/r7xx: Fix line width issue, ROUND_MODE and QUANT_MODE aren't bits of ↵Cooper Yuan2009-07-021-4/+0
| | | | LINE_CNTL
* R6xx/r7xx: Correct the indeices of DRAW_INDEX_IMMDCooper Yuan2009-07-021-2/+4
|
* r6xx/r7xx: rework aos setupAlex Deucher2009-07-011-4/+4
| | | | | | In theory this should fix the stride = 0 case, but I can't seem to reproduce that anymore with mesa master.
* R6xx/R7xx: Fix number of temps used in fragment programAlex Deucher2009-07-011-1/+1
| | | | | Spotted by Cooper. This gets hello, aargb, smooth, etc. working.
* R6xx/r7xx: fix locking for clearAlex Deucher2009-06-302-6/+1
| | | | this allows redbook hello to render correctly mostly.
* Fix viewport issueCooper Yuan2009-06-262-1/+6
|
* Fix color data can't be fetched issueCooper Yuan2009-06-252-4/+1
|
* correct scissor and cliprect settingCooper Yuan2009-06-231-4/+4
|
* functions declaration with 'extern'Cooper Yuan2009-06-221-0/+3
|
* Pass viewport id to r700SendViewportState function, otherwise the radom ↵Cooper Yuan2009-06-221-1/+1
| | | | value may beyond R700_MAX_VIEWPORTS
* add LINK_STATES for SPI_PS and SEMANTICCooper Yuan2009-06-223-6/+137
|
* Merge master and fix conflictsAlex Deucher2009-06-12146-4096/+6167
|\
| * radeon: fix size of mipmap texture arrayDave Airlie2009-06-121-1/+3
| |
| * radeon/r200/r300: fix max texture levels assertDave Airlie2009-06-122-6/+3
| | | | | | | | use the actual value set in the context
| * Merge remote branch 'main/radeon-rewrite'Dave Airlie2009-06-12118-18854/+16421
| |\
| | * r300: fix VAP setupMaciej Cencora2009-06-111-5/+6
| | | | | | | | | | | | If GL context had e.g. tex0, tex2 and fog the VAPOutputCntl1 returned 0x104 instead of 0x124 - that meaned we're sending only 8 texcoords (instead of 12) which ended up in GPU hang.
| | * r300: fix for SW TCL pathMaciej Cencora2009-06-111-1/+1
| | | | | | | | | | | | | | | We shouldn't use i variable for SWTCL_OVM_TEX because textures doesn't have to be enabled in "packed" order. We could have tex1,tex3 and fog which would receive 7,9,8 OVM locations instead of 6,7,8.
| | * r300: don't send unused attributes for SW TCL pathMaciej Cencora2009-06-111-14/+14
| | |
| | * r300: send only RS_IP_* regs that we are going to useMaciej Cencora2009-06-112-10/+4
| | |
| | * r300: fix RS setup when no colors and textures are sent to FPMaciej Cencora2009-06-111-4/+6
| | | | | | | | | | | | RS_COL_FMT field is part of RS_IP_* reg not RS_INST_*
| | * r300: r500 fragment program fixesMaciej Cencora2009-06-111-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | - when rewriting per component negate swizzle, first instruction should get not negated source - KIL instruction ignores swizzles TODO: - tex instructions does not support saturation - tex instructions cannot read from consant memory
| | * radeon: increase max bo countMaciej Cencora2009-06-111-1/+1
| | |
| | * r300: fix a GPU lock upMaciej Cencora2009-06-113-21/+24
| | | | | | | | | | | | | | | | | | Sending from VAP more texture coordinates than RS expects results in GPU hang. Fixes BumpSelfShadow from DirectX8 SDK.
| | * r300: fix vertex program bugMaciej Cencora2009-06-111-6/+10
| | | | | | | | | | | | | | | | | | If the vertex program didn't write position attribute, the position invariant function would add necessary instructions, but the vertex position would be overwritten by artificial outputs insts added to satisfy fragment program requirements. Fixes "whole screen is gray" problem for HW TCL path in sauerbraten when shaders are enabled, and whole slew of wine d3d9 tests.
| | * r300: move some code for easier debuggingMaciej Cencora2009-06-111-17/+37
| | |
| | * r300: print vertex program when debugging is enabledMaciej Cencora2009-06-111-3/+14
| | |
| | * r300: fix output register allocation for vertex shadersMaciej Cencora2009-06-111-9/+19
| | | | | | | | | | | | If the vertex program wrote secondary color without primary color, the secondary color output register index would be 0 which resulted in overwriting vertex position in some cases.
| | * r300: hw doesn't support saturation for tex instructionsMaciej Cencora2009-06-111-0/+3
| | |
| | * r300: fix indexed primitive rendering when using memory managerJerome Glisse2009-06-111-2/+2
| | |
| | * r300: make sure indexed rendering doesn't try to use more than the num of ↵Jerome Glisse2009-06-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | vertices When with memory manager we need to make sure the GPU won't try to access beyond vertex buffer size, do so by enforcing that the maximun index is the last vertex of the buffer.
| | * radeon: fix mipmap_limits crasher.Dave Airlie2009-06-091-1/+1
| | | | | | | | | | | | This gets the correct srclvl image map when uploading images to the new mipmap.
| | * r300: fix regression caused by 056bc77547c304021a0faf204897ed238a5cf424Maciej Cencora2009-06-081-0/+1
| | | | | | | | | | | | Fixes GPU hangs in software TCL path
| | * Merge remote branch 'origin/master' into radeon-rewriteDave Airlie2009-06-0734-194/+377
| | |\