summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-05-07GEM: Remove already-disabled PIPE_CONTROL command.Eric Anholt
This existed to get the icache flushed. However, GEM handles this for us now for sure, and we had disabled it prematurely anyway.
2008-05-07GEM: Make dri_emit_reloc take GEM domain flags instead of TTM flags.Eric Anholt
The GEM flags are much more descriptive for what we need. Since this makes bufmgr_fake rather device-specific, move it to the intel common directory. We've wanted to do device-specific stuff to it before.
2008-05-07Never fail `make clean'Dan Nicholson
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2008-05-07Run `make clean' in drivers/xorg, tooDan Nicholson
2008-05-07GEM: Don't emit an extra MI_FLUSH in the batch since GEM handles it.Eric Anholt
2008-05-07Refactor installation targetsDan Nicholson
Currently, there is a single path in src/mesa/Makefile to install that has a few conditionals in it. This commit changes install to act like default where we loop over $(DRIVER_DIRS), deciding what to do. A new target, install-headers, has been broken out to accomodate installing a standalone OSMesa where neither libGL or gl.pc are wanted.
2008-05-07Ensure recursive makes always propagate errorsDan Nicholson
There were a couple spots left where a recursive make could fail in a chain of commands without stopping.
2008-05-07r500: cleanup r500 RS setupDave Airlie
2008-05-07r500: for rectangular textures set to unscaled coordinates.Dave Airlie
2008-05-07r5xx: Fix FP inputs. (For good?)Corbin Simpson
FP inputs are now counted and mapped correctly, and temps are allocated tightly and correctly.
2008-05-06r5xx: Fix false error with DP3/DP4.Corbin Simpson
DP3/DP4 only takes two arguments, but tried to load three, causing a false fallback to the dumb shader.
2008-05-06r5xx: Index inputs and temps.Corbin Simpson
This is not the same as r3xx indexing. It only tries to protect inputs on the pixel stack from getting clobbered by temps or texs. Texs don't need special treatment since they read from special input regs and write to the same temp regs as ALU/FC instructions.
2008-05-06implement full reference counting for vertex/fragment programsBrian
Use _mesa_reference_vert/fragprog() wherever we assign program pointers. Fixes a memory corruption bug found with glean/api2 test.
2008-05-06[intel-GEM] partial support for memory domains.Keith Packard
Doesn't deal with local modifications yet (need new kernel set_domain ioctl for that to work). Also, guesses what domains are affected based on the read/write bits set in the flags. Works for 915, probably not so much for 965.
2008-05-06r5xx: FP: Add OPCODE_TXB.Corbin Simpson
Tex lookup with biased LOD. Should magically work.
2008-05-06r5xx: FP: Make MOV/ABS look pretty.Corbin Simpson
We can't really do anything like emit_alu, so we're doing emit_mov instead.
2008-05-06Merge branch 'master' of ssh://git.freedesktop.org/git/mesa/mesaDan Nicholson
2008-05-06Prevent makedepend from running multiple timesDan Nicholson
The default target in src/mesa/Makefile calls a recursive $(MAKE). With parallel jobs, this causes makedepend to run twice. Instead, block on the first make until depend has been created.
2008-05-06Always cleanup the makedepend backup filesDan Nicholson
Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
2008-05-06Add support for ATI_separate_stencil in display lists.Michal Wajdeczko
2008-05-06r5xx: Emit an OUT instruction at the end of execution.Corbin Simpson
This should make TEX/TXP work right. (Note: "Should" is not "does.")
2008-05-06r5xx: We update max_temp_idx now, so no need to hard-code it.Corbin Simpson
This roughly doubles the speed of glxgears (GINAB) by allowing more pixels to run concurrently.
2008-05-06Error consistently when running recursive makeDan Nicholson
When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
2008-05-06r5xx: Fix typo.Corbin Simpson
Gotta be more careful with my cut'n'paste, lawl.
2008-05-06r5xx: Use max_temp_idx.Corbin Simpson
2008-05-06[intel-GEM] Add tiling support to swrast.Keith Packard
Accessing tiled surfaces without using the fence registers requires that software deal with the address swizzling itself.
2008-05-06i965: fix googleearth in classic mode.Dave Airlie
In classic mode googleearth triggered a case where vbos weren't getting accounted properly.
2008-05-05Dump buffer tiled status from intelPrintSAREAKeith Packard
2008-05-06r300: fragment.position input needs no blanking out, it's correctly handled ↵Markus Amsler
in insert_wpos. fixes bug 15447
2008-05-05GEM: Allocate the right number of relocs, avoiding heap smashing.Eric Anholt
2008-05-05GEM: Include target buffer handle in relocation debug.Eric Anholt
2008-05-05GEM: Set validate index to keep the same buffer from being duped on the list.Eric Anholt
2008-05-05Print GEM handles instead of BO pointers in debugging.Eric Anholt
small integers are much prettier, and let me correlate to DRM debug output.
2008-05-05Initialize bufmgr_gem->validate_array[i].offset.Eric Anholt
This is just cosmetic, to produce less scary values when the ioctl fails and doesn't return values there.
2008-05-05Make intel_{batch,exec}_ioctl return an error code so we can recover better.Eric Anholt
2008-05-05Add intel_bufmgr_gem.c to i915Keith Packard
2008-05-05Temporarily disable intel pixel ops on i915 for GEMKeith Packard
Instead of attempting to fix these for GEM, just disable until GEM is working.
2008-05-05glcore: Set all external variables in configurationGeorge Sapountzis
based on patch by Dan Nicholson <dbn.lists@gmail.com>
2008-05-05r500: consolidate tex instructionsDave Airlie
you cannot change a tex into an output so this means we have to actually do another instruction after this one to mov if its an output
2008-05-05r500: mov cleanup macrosDave Airlie
2008-05-05r500: make tri-param workDave Airlie
This makes constant work which are 32-bit on r500 unlike r300. Switch MOV to using MAD no idea if we might have negative things MAX 0,-5 is likely to do the wrong thing..
2008-05-05r500: make sure we emit max temp atom.Dave Airlie
We don't appear to update max_temp_idx yet anywhere though
2008-05-05r300: fix swtcl texrect path properly.Dave Airlie
We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690
2008-05-05i965: Don't cast the result of brw_prepare_vertices to an unsigned value.Xiang, Haihao
Negative value means other errors, not aperture overflow. fix bug #15752
2008-05-05r300: fix swtcl texrect path properly.Dave Airlie
We really need to update the shader state so the texrect parameters work. This should fix compiz looking crappy on rs480 and rs690 (cherry picked from commit 66a5562ce2906fbf5b96d1cee18f9a31a78c4360)
2008-05-05r300: add R300_NO_TCL to allow testing of non-tcl on tcl cardsDave Airlie
(cherry picked from commit 026ef8111a94f6449dfa5e5cc0ae91fca4e68c0c)
2008-05-04r300: Set correct VAP_CNTL per vertex program.Markus Amsler
2008-05-03r300: Set correct VAP_CNTL per vertex program.Markus Amsler
adapted from Markus' patch on bug 15386 with updates for non-TCL and R500.
2008-05-03r5xx: Fix for loops.Corbin Simpson
Thanks to dli in IRC for pointing this out.
2008-05-03r5xx: Fix dumb shader.Corbin Simpson
For some reason, FGLRX doesn't actually set R500_US_INST_TEX. Let us not make that same mistake.