Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r300_fragprog: Use nqssa+dce and program_pair for emit | Nicolai Haehnle | 2008-07-12 | 11 | -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 libraries | Dan Nicholson | 2008-07-12 | 9 | -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 interpreter | Dan Nicholson | 2008-07-12 | 23 | -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 interpreter | Dan Nicholson | 2008-07-12 | 2 | -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 configs | Dan Nicholson | 2008-07-12 | 1 | -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 platforms | Dan Nicholson | 2008-07-12 | 2 | -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_alu | Nicolai Haehnle | 2008-07-12 | 1 | -50/+60 |
| | |||||
* | r500: Set Saturate correctly in radeon_program_pair | Nicolai Haehnle | 2008-07-12 | 1 | -1/+6 |
| | |||||
* | r300: Fix input register allocation in radeon_program_pair | Nicolai Haehnle | 2008-07-12 | 1 | -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 RSQ | Nicolai Haehnle | 2008-07-12 | 1 | -0/+11 |
| | | | | This fixes the last r500 bug related to glean/fragProg1. | ||||
* | r500_fragprog: Major refactoring of final emit | Nicolai Haehnle | 2008-07-12 | 8 | -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 pass | Nicolai Haehnle | 2008-07-12 | 7 | -24/+524 |
| | | | | In addition, this pass fixes non-native swizzles. | ||||
* | r500_fragprog: Transform trigonometric functions in first pass | Nicolai Haehnle | 2008-07-12 | 4 | -90/+65 |
| | |||||
* | R300: update vap_cntl values for NUM_FPUS | Alex Deucher | 2008-07-11 | 2 | -8/+10 |
| | | | | based on info from hw team | ||||
* | Remove generated pkg-config files on `make clean' | Dan Nicholson | 2008-07-11 | 6 | -2/+6 |
| | |||||
* | autoconf: Add information about the --x-* options to --help output | Dan Nicholson | 2008-07-11 | 1 | -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 output | Dan Nicholson | 2008-07-11 | 1 | -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 Airlie | 2008-07-11 | 2 | -2/+7 |
| | | | | pointed out and debugged by stringfellow on #dri-devel | ||||
* | mesa: return -1, not GL_FALSE if _glapi_add_dispatch() fails name sanity check | Brian Paul | 2008-07-09 | 1 | -2/+2 |
| | |||||
* | mesa: fix state.clip[n].plane parsing bug (bug 16611) | Brian Paul | 2008-07-09 | 1 | -3/+6 |
| | |||||
* | mesa: check for OpenBSD (bug 15604) | Brian Paul | 2008-07-09 | 1 | -1/+7 |
| | |||||
* | i915: fall back to software rendering when shadow comparison is | Xiang, Haihao | 2008-07-09 | 1 | -7/+4 |
| | | | | enabled for 1D texture. fix #12176 | ||||
* | mesa: remove debug codemesa_7_1_rc3 | Brian Paul | 2008-07-08 | 1 | -1/+0 |
| | |||||
* | add yet another Makefile | Brian Paul | 2008-07-08 | 1 | -0/+1 |
| | |||||
* | bump version to rc3 | Brian Paul | 2008-07-08 | 2 | -5/+5 |
| | |||||
* | added more Makefiles to file list | Brian Paul | 2008-07-08 | 1 | -0/+2 |
| | |||||
* | mesa: implement glGetUniformiv() with new ctx->Driver function | Brian Paul | 2008-07-08 | 3 | -9/+45 |
| | | | | The old implementation could overwrite the caller's param buffer. | ||||
* | added src/mesa/drivers/Makefile to file list | Brian Paul | 2008-07-08 | 1 | -0/+1 |
| | |||||
* | mesa: bump version to rc2mesa_7_1_rc2 | Brian Paul | 2008-07-08 | 2 | -5/+5 |
| | |||||
* | added null texObj ptr check (bug 15567) | Brian Paul | 2008-07-08 | 1 | -12/+16 |
| | |||||
* | mesa: more debug output | Brian Paul | 2008-07-08 | 1 | -22/+62 |
| | |||||
* | mesa: compute global var size before doing codegen | Brian Paul | 2008-07-08 | 1 | -9/+9 |
| | |||||
* | mesa: add missing VARYING case to storage_string() | Brian Paul | 2008-07-08 | 1 | -0/+2 |
| | |||||
* | i965: official name for GM45 chipset | Xiang, Haihao | 2008-07-08 | 10 | -30/+33 |
| | |||||
* | glx: add LIBGL_ALWAYS_SOFTWARE | George Sapountzis | 2008-07-07 | 1 | -2/+9 |
| | | | | | | this disables accelerated DRI and fallbacks to client-side software rendering. compile-tested only. | ||||
* | autoconf: Allow commas or spaces to separate DRI drivers | Dan Nicholson | 2008-07-06 | 1 | -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 configuration | Dan Nicholson | 2008-07-06 | 16 | -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 parameters | Nicolai Haehnle | 2008-07-06 | 1 | -1/+2 |
| | |||||
* | r300_fragprog: Emulate trigonometric functions in radeon_program_alu | Nicolai Haehnle | 2008-07-06 | 4 | -207/+153 |
| | |||||
* | r300: Translate fragment program DST in radeon_program_alu | Nicolai Haehnle | 2008-07-06 | 3 | -36/+14 |
| | |||||
* | r300: Translate fragment program LRP in radeon_program_alu.c | Nicolai Haehnle | 2008-07-06 | 3 | -45/+15 |
| | |||||
* | r300: Allow adding parameters during fragprog transform, share LIT code | Nicolai Haehnle | 2008-07-06 | 7 | -258/+216 |
| | |||||
* | r300: Correctly scan for used temporary registers | Nicolai Haehnle | 2008-07-05 | 6 | -79/+126 |
| | | | | This fixes a regression introduced by dea8719f0... | ||||
* | r500: Major refactoring of fragment program emit | Nicolai Haehnle | 2008-07-05 | 3 | -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_program | Nicolai Haehnle | 2008-07-05 | 10 | -460/+157 |
| | |||||
* | r500_fragprog: Cleanup some unused variables and code. | Nicolai Haehnle | 2008-07-05 | 2 | -46/+1 |
| | |||||
* | r500: Fix a mixup in fragment program LRP instruction emit | Nicolai Haehnle | 2008-07-05 | 1 | -5/+4 |
| | |||||
* | r500: Fix blend color. | Nicolai Haehnle | 2008-07-05 | 2 | -12/+25 |
| | |||||
* | _mesa_clone_program: Copy ShadowSamplers | Nicolai Haehnle | 2008-07-05 | 1 | -0/+1 |
| | |||||
* | r300: Fix depth texture in compare mode | Nicolai Haehnle | 2008-07-04 | 2 | -48/+68 |
| | | | | Missed the homogenous divide of R by Q before... |