summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-27gallium: add $(PROGS_DEPS) as dependencies for $(PROGS)Luca Barbieri
Commit 80ee3a440cd3c0403004cf35e0638fc52088b9ff added a PROGS_DEPS definition, but no uses, even though it seems clearly intended to be a set of additional dependencies for $(PROGS). Correct this.
2010-09-27mesa: make makedepend an hard requirementLuca Barbieri
Currently makedepend is used by the Mesa Makefile-based build system, but not required. Unfortunately, not having it makes dependency resolution non-existent, which is a source of subtle bugs, and is a rarely tested configuration, since all Mesa developers likely have it installed. Furthermore some idioms require dependency resolution to work at all, such as making headers depend on generated files.
2010-09-27r600g: Fixed two texture surface leaks in r600_blit_uncompress_depth().Tilman Sauerbeck
Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-09-27r600g: add evergreen texture resource properly.Dave Airlie
adding sampler border looks impossible with current design, another day, another corner case not worked out.
2010-09-26r600g: Silence uninitialized variable warnings.Vinson Lee
Fixes these GCC warnings. r600_shader.c: In function 'tgsi_tex': r600_shader.c:1611: warning: 'src2_chan' may be used uninitialized in this function r600_shader.c:1611: warning: 'src_chan' may be used uninitialized in this function
2010-09-26r300g: fix macrotiling on R350Marek Olšák
MACRO_SWITCH on R350 appears to use the RV350 mode by default. Who knew? NOTE: This is a candidate for the 7.9 branch.
2010-09-26r600g: use depth decompression in new pathJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-26r600g: move around variables to share depth uncompression codeJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-26radeong: fix leaksJoakim Sindholt
2010-09-26util/u_blitter: fix leakJoakim Sindholt
2010-09-26r600g: set ENABLE_KILL on evergreen tooBas Nieuwenhuizen
2010-09-26r600g: set ENABLE_KILL in the shader state in the new designBas Nieuwenhuizen
2010-09-26r600g: disable early cull optimization when occlusion query runningJerome Glisse
When occlusion query are running we want to have accurate fragment count thus disable any early culling optimization GPU has. Based on work from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-26r600g: Include p_compiler.h instead of malloc.h.Vinson Lee
2010-09-26r600g: Remove unused variables.Vinson Lee
Fixes these GCC warnings. radeon.c: In function 'radeon_new': radeon.c:59: warning: unused variable 'k' radeon.c:59: warning: unused variable 'j' radeon.c:59: warning: unused variable 'id' radeon.c:59: warning: unused variable 'i'
2010-09-26r600g: Don't return a value in function returning void.Vinson Lee
Fixes this GCC warning. radeon_state.c: In function 'radeon_state_fini': radeon_state.c:140: warning: 'return' with a value, in function returning void
2010-09-26r300g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r300_state.c: In function 'r300_create_rs_state': r300_state.c:925: warning: unused variable 'i'
2010-09-26r300g: fix glsl-fs-pointcoordDave Airlie
Move GB_ENABLE to derived rs state, and find sprite coord for the correct generic and enable the tex coord for that generic. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-09-25r600g: Remove unused variable.Vinson Lee
Fixes this GCC warning. radeon_bo_pb.c: In function 'radeon_bo_pb_create_buffer': radeon_bo_pb.c:178: warning: unused variable 'domain'
2010-09-25r300/compiler: Fix two mistakes in the presubtract optimization pass.Tom Stellard
1. We can't turn an instruction into a presubtract operation if it writes to one of the registers it reads from. 2. If we turn an instruction into a presubtract operation, we can't remove that intruction unless all readers can use the presubtract operation. This fixes fdo bug 30337. This is a candidate for the 7.9 branch.
2010-09-25softpipe: minor asst. clean-upsBrian Paul
2010-09-25softpipe: make clip state functions staticBrian Paul
2010-09-25softpipe: make stream out state functions staticBrian Paul
2010-09-25softpipe: make rasterizer state functions staticBrian Paul
2010-09-25softpipe: make vertex state functions staticBrian Paul
2010-09-25softpipe: make sampler state functions staticBrian Paul
2010-09-25softpipe: make blend/stencil/depth functions staticBrian Paul
2010-09-25softpipe: make shader-related functions staticBrian Paul
2010-09-25softpipe: rename sp_state_fs.c -> sp_state_shader.cBrian Paul
2010-09-25st/dri: Remove unnecessary header.Vinson Lee
2010-09-25swrast: update comments for REMAINDER() macroBrian Paul
2010-09-25gallivm: fix repeat() function for NPOT texturesBrian Paul
The trick of casting the coord to an unsigned value only works for POT textures. Add a bias instead. This fixes a few piglit texwrap failures.
2010-09-25softpipe: fix repeat() function for NPOT texturesBrian Paul
The trick of casting the coord to an unsigned value only works for POT textures. Add a bias instead. This fixes a few piglit texwrap failures.
2010-09-25intel: Remove unnecessary header.Vinson Lee
2010-09-25r600g: Disable unused variables.Vinson Lee
The variables are used only in currently disabled code. Fixes this GCC warning. r600_context.c: In function 'r600_flush': r600_context.c:76: warning: unused variable 'dname' r600_context.c:75: warning: unused variable 'dc'
2010-09-25r600g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r600_draw.c: In function 'r600_draw_common': r600_draw.c:71: warning: unused variable 'format'
2010-09-25r600g: Remove unused variable.Vinson Lee
Fixes this GCC warning. r600_screen.c: In function 'r600_screen_create': r600_screen.c:239: warning: unused variable 'family'
2010-09-25nv50: fix/handle a few more PIPE_CAPsChristoph Bumiller
2010-09-25nv50: use CLEAR_BUFFERS for surface fillsChristoph Bumiller
The 2D engine's fill doesn't seem suited for RGBA32F or ZS buffers.
2010-09-25nv50: use formats table in nv50_surface.cChristoph Bumiller
2010-09-25r600g: fix vertex resource & polygon offsetJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-25r600g: add eg db count control register.Dave Airlie
2010-09-25r600g: make index bias fix for evergreenDave Airlie
2010-09-25gallivm: Remove dead experimental code.José Fonseca
2010-09-25llvmpipe: handle up to 8 planes in triangle binnerKeith Whitwell
2010-09-25llvmpipe: handle FACING interpolants in line and point setupKeith Whitwell
2010-09-25gallivm: Fetch the lod from the dynamic state when min_lod == max_lod.José Fonseca
2010-09-25draw: Fullfil the new min_lod/max_lod/lod_bias/border_color dynamic stateJosé Fonseca
2010-09-25gallivm: optimize yuv decodingRoland Scheidegger
this is more a proof to show vector shifts on x86 with per-element shift count are evil. Since we can avoid the shift with a single compare/select, use that instead. Replaces more than 20 instructions (and slow ones at that) with about 3, and cuts compiled shader size with mesa's yuvsqure demo by over 10% (no performance measurements done - but selection is blazing fast). Might want to revisit that for future cpus - unfortunately AVX won't have vector shifts neither, but AMD's XOP will, but even in that case using selection here is probably not slower.
2010-09-25gallivm: don't use URem/UDiv when calculating offsets for blocksRoland Scheidegger
While it's true that llvm can and will indeed replace this with bit arithmetic (since block height/width is POT), it does so (llvm 2.7) by element and hence extracts/shifts/reinserts each element individually. This costs about 16 instructions (and extract is not really fast) vs. 1...