summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-07gallium: Propagate tex_usage flags down to winsys.José Fonseca
2008-05-07gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.José Fonseca
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-06mesa: free shader program data before deleting shader objects.Brian
Picked from master. Fixes mem corruption seen when glean/api2 test exits.
2008-05-06Merge commit 'anholt/drm-gem' into drm-gemKeith Packard
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-06gallium: implement 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. Another memory bug involving shaders yet to be fixed...
2008-05-06mesa: comments, whitespaceBrian
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-06Update make output for autoconf helpDan Nicholson
2008-05-06GEM: Fix previous commit to avoid asserting when we run into reserved space.Eric Anholt
These are the dwords that the reserved space is for.
2008-05-06gallium: re-enable temporarily disabled code in do_copy_texsubimage()Brian Paul
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-06GEM: Don't emit an extra MI_FLUSH in the batch since GEM handles it.Eric Anholt
2008-05-06Add support for ATI_separate_stencil in display lists.Michal Wajdeczko
2008-05-06gallium: create drawing surfaces as GPU_READ/WRITE onlyBrian Paul
Create different temporary surfaces for CPU_READ/WRITE when needed (such as for glReadPixels, glAccum, some glCopy/DrawPixels, glCopyTexSubImage, etc).
2008-05-06gallium: create renderbuffer surface w/out CPU_READ/WRITE flagsMichal Danzer
2008-05-06gallium: move setup of dest_surface in do_copy_texsubimage()Michal Danzer
2008-05-07gallium: Simple facility to dump and view images for debugging.José Fonseca
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-06Add .PHONY targets to top Makefile for non-file targetsDan Nicholson
When a make target doesn't result in a file of the same name, adding it to a .PHONY target means make won't look for such a file, speeding the build up a bit. This allows `make doxygen' to work since otherwise make will consider the doxygen directory as up to date.
2008-05-06autoconf: Replace the configs/current symlink from config.statusDan Nicholson
Minor tweak so that running config.status will entirely recreate the configure settings by replacing the configs/current symlink.
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-06gallium: change calculate_first_last_level() to match gallium-tex-surfaces ↵Brian Paul
branch
2008-05-06gallium: sync up texture/sampler changes with masterBrian Paul
2008-05-06gallium: Make sure to release texture surfaces (at the right time).Michel Dänzer
2008-05-06gallium: glCopyTexSubImage improvement.Michel Dänzer
Only get a texture surface for attempting an accelerated copy, and mark it for GPU use only.
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-06gallium: Define util_sprintf for non-WIN32.Michel Dänzer
2008-05-06Merge commit 'origin/gallium-0.1' into gallium-tex-surfacesKeith Whitwell
Conflicts: src/mesa/state_tracker/st_atom_sampler.c src/mesa/state_tracker/st_cb_texture.c
2008-05-06gallium: New pipe_screen interface to overlay a texture on existing memory.José Fonseca
2008-05-05Dump buffer tiled status from intelPrintSAREAKeith Packard
2008-05-05autoconf: Sanitize asm build for cross-compiling and --enable-*-bitDan Nicholson
Two fixes to the asm configuration: - Disable when the user is cross-compiling for x86 or x86_64 since it requires running an executable compiled for the target host. - If the user has specified --enable-32-bit on x86_64 or --enable-64-bit on x86, respect that and choose the correct asm architecture.
2008-05-06r300: fragment.position input needs no blanking out, it's correctly handled ↵Markus Amsler
in insert_wpos. fixes bug 15447
2008-05-05autoconf: Error for incompatible version of libdrmDan Nicholson
The DRI modules can only be built against libdrm master (currently version 2.3.1), so this should be enforced to save people from trying to build against older versions. Added a section at the top of the script to consolidate all required versions.
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-05autoconf: More quoting, just to be safeDan Nicholson
2008-05-05Ignore xdemos/sharedtexDan Nicholson
2008-05-05autoconf: Allow non-pkg-config builds to succeedDan Nicholson
The variable no_x was being set to yes when libX11 was not found through pkg-config. This causes AC_PATH_XTRA to skip its search for the X11 libraries, which was not the intended effect. Also switched to using the PKG_CHECK_EXISTS autoconf macro.
2008-05-05fix _mesa_ffs for alternative compilersAlan Hourihane