aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* r300_fragprog: Use nqssa+dce and program_pair for emitNicolai Haehnle2008-07-1211-1688/+521
| | | | | | | Share almost all code with r500_fragprog now. This also fixes Piglit's texrect-many test, which means that the compiz bicubic plugin should work with hardware acceleration now.
* Always pass -linker and -ldflags to mklib for shared librariesDan Nicholson2008-07-129-19/+22
| | | | | | This just makes the use of mklib more consistent throughout Mesa where we always want to pass the linker and LDFLAGS when we might be making a shared library.
* Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson2008-07-1223-31/+27
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.
* Call minstall with $(SHELL) so the user controls the interpreterDan Nicholson2008-07-122-2/+1
| | | | | | Running minstall directly means that /bin/sh is always used as hte interpreter. If the user needs or wants to use a different shell fo minstall, they can use the SHELL make variable.
* Set $(SHELL) for all configsDan Nicholson2008-07-121-0/+1
| | | | | | | Most make implementations will use /bin/sh as the interpreter for commands and only use a different shell when the $(SHELL) make variable is set. This makes the setting explicit and allows $(SHELL) to be used in the commands themselves.
* autoconf: Subsitute SHELL for all platformsDan Nicholson2008-07-122-8/+4
| | | | | | | | | | | | | | Establish the shell that make will use from configure. This is exactly how autoconf/automake operate, with the environment variable CONFIG_SHELL respected to override the autoconf checks. In the usual case where the user just executes `./configure', autoconf will pick a shell from the current shell, sh, bash, ksh or sh5 that meets its base criteria. The special Solaris case of looking for a POSIX shell has been changed to just set the SHELL variable since autoconf substitutes this already. The EXTRA_CONFIG_LINES substitution is dropped as it should no longer be needed.
* r300: Fix saturate mode handling in radeon_program_aluNicolai Haehnle2008-07-121-50/+60
|
* r500: Set Saturate correctly in radeon_program_pairNicolai Haehnle2008-07-121-1/+6
|
* r300: Fix input register allocation in radeon_program_pairNicolai Haehnle2008-07-121-7/+15
| | | | | | | When an input is marked in gl_program.InputsRead but is not actually read in the final program (due to dead-code elimination or whatever), the order of input registers must still match gl_program.InputsRead. This is done even more explicitly now.
* r300: Explicitly set absolute value for the argument of RSQNicolai Haehnle2008-07-121-0/+11
| | | | This fixes the last r500 bug related to glean/fragProg1.
* r500_fragprog: Major refactoring of final emitNicolai Haehnle2008-07-128-825/+1290
| | | | | | | | | | Use an abstracted instruction scheduling and register allocation algorithm that we will be able to share with r300_fragprog. Unlike the original emit code, this code tries to pair instructions that only use the RGB part of the ALU with instructions that only use the alpha part. However, the pairing algorithm still has some shortcomings; for example, it doesn't generate optimal code for the emulation of LIT.
* r500: Add "Not quite SSA" and dead code elimination passNicolai Haehnle2008-07-127-24/+524
| | | | In addition, this pass fixes non-native swizzles.
* r500_fragprog: Transform trigonometric functions in first passNicolai Haehnle2008-07-124-90/+65
|
* R300: update vap_cntl values for NUM_FPUSAlex Deucher2008-07-112-8/+10
| | | | based on info from hw team
* Remove generated pkg-config files on `make clean'Dan Nicholson2008-07-116-2/+6
|
* autoconf: Add information about the --x-* options to --help outputDan Nicholson2008-07-111-1/+7
| | | | | Try to tell the user that the --x-* options are only used when the X libraries can't be found by pkg-config.
* autoconf: Tell the user about docs/autoconf.html in --help outputDan Nicholson2008-07-111-0/+4
| | | | | | The documentation in autoconf.html is much more explicit about how the different configure options control the build. This adds a notice at the end of the `./configure --help' output to tell the user about it.
* intel: fix batch flushing problem with cliprects handling.Dave Airlie2008-07-112-2/+7
| | | | pointed out and debugged by stringfellow on #dri-devel
* mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity checkBrian Paul2008-07-091-2/+2
|
* mesa: fix state.clip[n].plane parsing bug (bug 16611)Brian Paul2008-07-091-3/+6
|
* mesa: check for OpenBSD (bug 15604)Brian Paul2008-07-091-1/+7
|
* i915: fall back to software rendering when shadow comparison isXiang, Haihao2008-07-091-7/+4
| | | | enabled for 1D texture. fix #12176
* mesa: remove debug codemesa_7_1_rc3Brian Paul2008-07-081-1/+0
|
* add yet another MakefileBrian Paul2008-07-081-0/+1
|
* bump version to rc3Brian Paul2008-07-082-5/+5
|
* added more Makefiles to file listBrian Paul2008-07-081-0/+2
|
* mesa: implement glGetUniformiv() with new ctx->Driver functionBrian Paul2008-07-083-9/+45
| | | | The old implementation could overwrite the caller's param buffer.
* added src/mesa/drivers/Makefile to file listBrian Paul2008-07-081-0/+1
|
* mesa: bump version to rc2mesa_7_1_rc2Brian Paul2008-07-082-5/+5
|
* added null texObj ptr check (bug 15567)Brian Paul2008-07-081-12/+16
|
* mesa: more debug outputBrian Paul2008-07-081-22/+62
|
* mesa: compute global var size before doing codegenBrian Paul2008-07-081-9/+9
|
* mesa: add missing VARYING case to storage_string()Brian Paul2008-07-081-0/+2
|
* i965: official name for GM45 chipsetXiang, Haihao2008-07-0810-30/+33
|
* glx: add LIBGL_ALWAYS_SOFTWAREGeorge Sapountzis2008-07-071-2/+9
| | | | | | this disables accelerated DRI and fallbacks to client-side software rendering. compile-tested only.
* autoconf: Allow commas or spaces to separate DRI driversDan Nicholson2008-07-061-1/+1
| | | | | | Explicitly allow the argument to --with-dri-drivers to contain comma-separated or space-separated drivers. A space-separated driver list worked by chance before.
* Set library and header installation directories from configurationDan Nicholson2008-07-0616-58/+72
| | | | | | | | | | | | | | Currently the installation directories for libraries and headers are resolved within the install commands. For instance, the libraries will be installed to $(INSTALL_DIR)/$(LIB_DIR). This limits the flexibility of the installation, such as when the libraries should be installed to a subdirectory like /usr/lib/tls. This adds the make variables $(INSTALL_LIB_DIR) and $(INSTALL_INC_DIR) to define the locations that the libraries and headers are installed. For the static configs, this resolves exactly as before to $(INSTALL_DIR)/include and $(INSTALL_DIR)/$(LIB_DIR). For autoconf, they are derived directly from the --libdir and --includedir settings.
* r500_fragprog: Fix RSQ with negative parametersNicolai Haehnle2008-07-061-1/+2
|
* r300_fragprog: Emulate trigonometric functions in radeon_program_aluNicolai Haehnle2008-07-064-207/+153
|
* r300: Translate fragment program DST in radeon_program_aluNicolai Haehnle2008-07-063-36/+14
|
* r300: Translate fragment program LRP in radeon_program_alu.cNicolai Haehnle2008-07-063-45/+15
|
* r300: Allow adding parameters during fragprog transform, share LIT codeNicolai Haehnle2008-07-067-258/+216
|
* r300: Correctly scan for used temporary registersNicolai Haehnle2008-07-056-79/+126
| | | | This fixes a regression introduced by dea8719f0...
* r500: Major refactoring of fragment program emitNicolai Haehnle2008-07-053-775/+458
| | | | | | | Use the common facilities to convert non-native instructions into native ones. Worked hard to make the code easier to read (hopefully), by using helper functions instead of direct manipulation of the machine code. Fixes two bugs related to FLR and XPD.
* r300: Remove clause stuff for now in favour of a cloned generic gl_programNicolai Haehnle2008-07-0510-460/+157
|
* r500_fragprog: Cleanup some unused variables and code.Nicolai Haehnle2008-07-052-46/+1
|
* r500: Fix a mixup in fragment program LRP instruction emitNicolai Haehnle2008-07-051-5/+4
|
* r500: Fix blend color.Nicolai Haehnle2008-07-052-12/+25
|
* _mesa_clone_program: Copy ShadowSamplersNicolai Haehnle2008-07-051-0/+1
|
* r300: Fix depth texture in compare modeNicolai Haehnle2008-07-042-48/+68
| | | | Missed the homogenous divide of R by Q before...