summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
Commit message (Collapse)AuthorAgeFilesLines
* i965: update TexSrcUnit for OPCODE_TXBXiang, Haihao2008-08-061-0/+5
|
* dri: Fix write/read depth buffer issue under 16bpp mode. See bug #16646Xiang, Haihao2008-08-0514-5/+63
|
* i965: Use program->SamplerUnits[] to get the appropriate texture unit.Xiang, Haihao2008-08-052-10/+15
| | | | | | inst->TexSrcUnit is used as an index into program->SamplerUnits[] since the commit ade508312c701ce89d3c2cd717994dbbabb4f207, and program->SamplerUnits is a sampler-to-texture-unit mapping.
* intel: sync to vblank by defaultJesse Barnes2008-07-311-1/+1
| | | | | | Effectively default to vblank_mode=3 on Intel to avoid tearing by default. Users wanting to go "as fast as possible" (despite not being able to see frames faster than their refresh rate allows) can still set the vblank_mode manually.
* r300: Fix off-by-one error in calculation of scissor cliprect.Michel Dänzer2008-07-281-2/+2
| | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16123 .
* r300: Fix a crash related to depth textures (triggered by Glest w/ shadowmaps)Nicolai Haehnle2008-07-271-0/+2
|
* r300: Implement ARB_shadow_ambient; add STATE_SHADOW_AMBIENTNicolai Haehnle2008-07-273-19/+60
|
* r300: Fix point minmax sizeNicolai Haehnle2008-07-271-2/+2
| | | | There are 6 subpixel units per pixel, not 16.
* r300: Implement hardware acceleration for ColorLogicOpNicolai Haehnle2008-07-275-4/+49
|
* r500: Handle non-native swizzles in texture instructionsNicolai Haehnle2008-07-272-26/+79
| | | | This fixes piglit's fp-kil and fp-generic/kil-swizzle tests.
* r500: Redirect TEX writes to output registersNicolai Haehnle2008-07-271-0/+7
| | | | | | | | While R500 fragment program texture instructions appear to support writemasks, they cannot write to the output FIFO immediately, so we need to insert a MOV for these instructions. This fixes piglit's fp-fragment-position and fp-incomplete-tex tests.
* r200: Do not set second coordinate clamping for 1D texturesNicolai Haehnle2008-07-261-31/+33
| | | | Fixes piglit's tex1d-border test.
* r300: Always emit LOAD_VBPNTR immediately before index-based renderingNicolai Haehnle2008-07-261-1/+12
| | | | This fixes one type of lockup I've been seeing on my test system.
* i965: fixup format for TFP zero copyDave Airlie2008-07-251-2/+12
|
* Revert "intel: disable zero-copy TFP."Dave Airlie2008-07-251-4/+0
| | | | | | This reverts commit 94979950e8991bd44899eb4067c3ae43449ce51e. I've fixed it instead
* i965: make tex offset override work..Dave Airlie2008-07-251-19/+31
| | | | should fix fd.o 14441
* intel: disable zero-copy TFP.Dave Airlie2008-07-251-0/+4
| | | | | patch from Fedora. maybe someone can fix this later but for now lets try and release Mesa so ajax can live his life and get Xorg 7.4 out.
* intel: remove buffer swap debug outputJesse Barnes2008-07-241-8/+2
| | | | Accidentally pushed as part of the last commit.
* Revert "965: Fix color clamping issues"Ian Romanick2008-07-241-23/+3
| | | | | | This reverts commit b993d539a76e7f1446890a85e4b61deec4d4162d. The patch was applied incorrectly. Actual fix coming soon. Sorry for the noise.
* 965: Fix partially transparent textures in Doom 3 engine gamesPawel Pieczul2008-07-231-7/+8
| | | | | Numbers of destination depth registers corrected (destination stencil register was sent as depth register).
* intel: fix buffer swaps and enable page flipping on 965Jesse Barnes2008-07-221-39/+15
| | | | | | | | | | Some buffer swap intel render buffer fields (pf_num_pages & vbl_pending) are also used for page flipping, so enable the code that sets & updates them on 965. This allows buffer swaps and page flips to work on 965 and prevents hangs in LOCK_HARDWARE in the buffer swap case due to an uninitialized vbl_pending field. Fixes FDO #16118.
* 965: Fix color clamping issuesPawel Pieczul2008-07-211-3/+23
|
* intel: fix texture border issue. (bug #16697)Xiang, Haihao2008-07-184-4/+16
|
* intel: Clean-up ARB_texture_env_crossbarIan Romanick2008-07-163-13/+3
| | | | | Enable support for ARB_texture_env_crossbar in the master extension list instead of in every single device-specific list.
* radeon: SetTexOffset supportChris Rankin2008-07-145-21/+82
| | | | | This patch is a straightforward duplication of the R200 SetTexOffset code, except that there is no big-endian tx_table[] array.
* nouveau: say goodbye to the old DRI driver...Stephane Marchesin2008-07-1462-21639/+0
|
* 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-121-1/+1
| | | | | | 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-121-1/+1
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.
* 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-125-12/+462
| | | | 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-111-0/+1
|
* intel: fix batch flushing problem with cliprects handling.Dave Airlie2008-07-112-2/+7
| | | | pointed out and debugged by stringfellow on #dri-devel
* i915: fall back to software rendering when shadow comparison isXiang, Haihao2008-07-091-7/+4
| | | | enabled for 1D texture. fix #12176
* i965: official name for GM45 chipsetXiang, Haihao2008-07-0810-30/+33
|
* Set library and header installation directories from configurationDan Nicholson2008-07-062-8/+11
| | | | | | | | | | | | | | 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
|