summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* glsl: Add validation that a swizzle only references valid channels.Eric Anholt2010-09-271-0/+18
| | | | Caught the bug in the previous commit.
* glsl: Fix broadcast_index of lower_variable_index_to_cond_assign.Eric Anholt2010-09-271-1/+1
| | | | | | | | | | It's trying to get an int smeared across all channels, not trying to get a 1:1 mapping of a subset of a vector's channels. This usually ended up not mattering with ir_to_mesa, since it just smears floats into every chan of a vec4. Fixes: glsl1-temp array with swizzled variable indexing
* Remove unnescessary initializations of UpdateTexturePaletteIan Romanick2010-09-274-5/+0
| | | | This is already NULL'ed in _mesa_init_driver_functions.
* Regenerate files changed by previous commitIan Romanick2010-09-279-2523/+2395
|
* Remove GL_EXT_cull_vertexIan Romanick2010-09-2713-1885/+1719
| | | | | This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
* Remove GL_MESA_packed_depth_stencilIan Romanick2010-09-274-19/+3
| | | | This extension was never enabled in any driver.
* mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick2010-09-2714-41/+9
| | | | As per discussions at XDS.
* mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick2010-09-274-12/+6
| | | | As per discussions at XDS.
* d3d1x: work around crash in widlLuca Barbieri2010-09-282-2/+12
|
* d3d11: fix reference counting so devices get freedLuca Barbieri2010-09-271-0/+2
|
* dri: Ensure that DRI driver cpp files are in tarballsIan Romanick2010-09-271-0/+1
|
* softpipe: fix swizzling of texture border colorBrian Paul2010-09-273-3/+29
| | | | | We ask the texture tile cache to swizzle the color for us since that's where the view/swizzling info is available.
* llvmpipe: fix swizzling of texture border colorBrian Paul2010-09-271-2/+2
| | | | | | | | The pipe_sampler_view's swizzle terms also apply to the texture border color. Simply move the apply_sampler_swizzle() call after we fetch the border color. Fixes many piglit texwrap failures.
* r600g: fix occlusion query after change to block structureJerome Glisse2010-09-271-3/+3
| | | | | | | block->reg point to register value not block->pm4 which point to packet. Signed-off-by: Jerome Glisse <[email protected]>
* softpipe: allocate tile data on demandBrian Paul2010-09-272-42/+113
| | | | | | | | | | | | | | | | Changes in v2: - Invalidate last_tile_addr on any change, fixing regressions - Correct coding style Currently softpipe ends up allocating more than 200 MB of memory for each context due to the tile caches. Even worse, this memory is all explicitly cleared, which means that the kernel must actually back it with physical RAM right away. This change allocates tile memory on demand. Signed-off-by: Brian Paul <[email protected]>
* d3d1x: fix MapLuca Barbieri2010-09-271-4/+6
|
* d3d1x: rework DXGI for occlusion testing and default width/heightLuca Barbieri2010-09-273-29/+174
|
* d3d1x: put proper calling convention in headers, fixes 64-bit buildsLuca Barbieri2010-09-272-2/+2
|
* d3d1x: properly support specifying MipLevels as 0Luca Barbieri2010-09-271-6/+15
|
* d3d1x: support centroid interpolationLuca Barbieri2010-09-271-10/+16
|
* ureg: support centroid interpolationLuca Barbieri2010-09-272-9/+31
|
* d3d1x: link to libdrm for X11 platform tooLuca Barbieri2010-09-271-1/+1
| | | | Thanks to Xavier Chantry.
* d3d11: ignore StructureByteStrideLuca Barbieri2010-09-271-4/+0
| | | | | D3D11 applications are allowed to pass a random value if the buffer is not structured
* d3d11: advertise IDXGIDevice1, not just IDXGIDeviceLuca Barbieri2010-09-271-1/+1
| | | | Fixes failure to create device in DirectX SDK samples.
* scons: Add MinGW-w64 prefixes for MinGW build.Vinson Lee2010-09-271-0/+2
|
* r600g: fix routing btw vertex & pixel shaderJerome Glisse2010-09-273-2/+18
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix pointsprite & resource unbindingJerome Glisse2010-09-274-16/+44
| | | | | | | | | | When asking to bind NULL resource assume it's unbinding so free resource and unreference assoicated buffer. Also fix pointsprite parameter. Fix glsl-fs-pointcoord & fp-fragment-position Signed-off-by: Jerome Glisse <[email protected]>
* r600g: build packet header onceJerome Glisse2010-09-274-85/+178
| | | | | | | | Build packet header once and allow to add fake register support so we can handle things like indexed set of register (evergreen sampler border registers for instance. Signed-off-by: Jerome Glisse <[email protected]>
* r600g: fix index buffer drawingJerome Glisse2010-09-272-3/+5
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* d3d1x: link progs with CXXFLAGSLuca Barbieri2010-09-271-4/+4
|
* d3d1x: fix progs linking if not all EGL platforms are enabledLuca Barbieri2010-09-271-4/+18
|
* d3d1x: add private gitignore fileLuca Barbieri2010-09-271-0/+20
|
* d3d1x: fix parallel buildLuca Barbieri2010-09-272-2/+4
|
* gallium: add $(PROGS_DEPS) as dependencies for $(PROGS)Luca Barbieri2010-09-271-1/+1
| | | | | | | | 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.
* mesa: make makedepend an hard requirementLuca Barbieri2010-09-271-0/+4
| | | | | | | | | | | | 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.
* r600g: Fixed two texture surface leaks in r600_blit_uncompress_depth().Tilman Sauerbeck2010-09-271-0/+3
| | | | Signed-off-by: Tilman Sauerbeck <[email protected]>
* r600g: add evergreen texture resource properly.Dave Airlie2010-09-273-11/+122
| | | | adding sampler border looks impossible with current design, another day, another corner case not worked out.
* r600g: Silence uninitialized variable warnings.Vinson Lee2010-09-261-0/+5
| | | | | | | 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
* r300g: fix macrotiling on R350Marek Olšák2010-09-261-2/+2
| | | | | | MACRO_SWITCH on R350 appears to use the RV350 mode by default. Who knew? NOTE: This is a candidate for the 7.9 branch.
* r600g: use depth decompression in new pathJerome Glisse2010-09-262-11/+53
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* r600g: move around variables to share depth uncompression codeJerome Glisse2010-09-263-12/+11
| | | | Signed-off-by: Jerome Glisse <[email protected]>
* radeong: fix leaksJoakim Sindholt2010-09-261-0/+3
|
* util/u_blitter: fix leakJoakim Sindholt2010-09-261-1/+1
|
* r600g: set ENABLE_KILL on evergreen tooBas Nieuwenhuizen2010-09-261-0/+8
|
* r600g: set ENABLE_KILL in the shader state in the new designBas Nieuwenhuizen2010-09-261-0/+8
|
* r600g: disable early cull optimization when occlusion query runningJerome Glisse2010-09-265-0/+61
| | | | | | | | | | 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 <[email protected]> Signed-off-by: Jerome Glisse <[email protected]>
* r600g: Include p_compiler.h instead of malloc.h.Vinson Lee2010-09-261-1/+1
|
* r600g: Remove unused variables.Vinson Lee2010-09-261-1/+1
| | | | | | | | | 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'
* r600g: Don't return a value in function returning void.Vinson Lee2010-09-261-1/+1
| | | | | | 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
* r300g: Remove unused variable.Vinson Lee2010-09-261-1/+0
| | | | | | Fixes this GCC warning. r300_state.c: In function 'r300_create_rs_state': r300_state.c:925: warning: unused variable 'i'