summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-09-28r300/compiler: fix shadow sampling with swizzled coordsMarek Olšák
Taking the W component from coords directly ignores swizzling. Instead, take the component which is mapped to W in the TEX instruction parameter. The same for Z. NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300/compiler: do not use copy propagation if SaturateMode is usedMarek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300/compiler: fix projective mapping of 2D NPOT texturesMarek Olšák
NOTE: This is a candidate for the 7.9 branch.
2010-09-28r300g: code cleanupsMarek Olšák
Some random stuff I had here. 1) Fixed some misleading comments. 2) Removed fake_npot, since it's redundant. 3) lower_texture_rect -> scale_texcoords 4) Reordered and reindented some TEX transform code.
2010-09-27i965: Add support for dFdx()/dFdy() to the FS backend.Eric Anholt
Fixes: glsl-fwidth glsl-derivs-swizzle
2010-09-27i965: Fix vector splitting RHS channel selection with sparse writemasks.Eric Anholt
Fixes: glsl-fs-all-02 glsl-fs-dot-vec2
2010-09-27i965: Handle all_equal/any_nequal in the new FS.Eric Anholt
These are generated for scalar operands instead of plain equal/nequal. But for scalars, they're the same anyway. +30 piglits.
2010-09-27i965: Remove swizzling of assignment to vector-splitting single-channel LHS.Eric Anholt
We'd end up reading some non-x component of the float RHS. +53 piglits.
2010-09-27i965: Fix up writemasked assignments in the new FS.Eric Anholt
Not sure how I managed to get tests to succeed without this. +54 piglits.
2010-09-27glsl: Add validation that a swizzle only references valid channels.Eric Anholt
Caught the bug in the previous commit.
2010-09-27glsl: Fix broadcast_index of lower_variable_index_to_cond_assign.Eric Anholt
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
2010-09-27Remove unnescessary initializations of UpdateTexturePaletteIan Romanick
This is already NULL'ed in _mesa_init_driver_functions.
2010-09-27Regenerate files changed by previous commitIan Romanick
2010-09-27Remove GL_EXT_cull_vertexIan Romanick
This is only used in the i915 driver where it provides little benefit for very few applications that use it with fixed function TNL.
2010-09-27Remove GL_MESA_packed_depth_stencilIan Romanick
This extension was never enabled in any driver.
2010-09-27mesa: Force GL_SGIS_generate_mipmap to always be enabledIan Romanick
As per discussions at XDS.
2010-09-27mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick
As per discussions at XDS.
2010-09-28d3d1x: work around crash in widlLuca Barbieri
2010-09-27d3d11: fix reference counting so devices get freedLuca Barbieri
2010-09-27dri: Ensure that DRI driver cpp files are in tarballsIan Romanick
2010-09-27softpipe: fix swizzling of texture border colorBrian Paul
We ask the texture tile cache to swizzle the color for us since that's where the view/swizzling info is available.
2010-09-27llvmpipe: fix swizzling of texture border colorBrian Paul
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.
2010-09-27r600g: fix occlusion query after change to block structureJerome Glisse
block->reg point to register value not block->pm4 which point to packet. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27softpipe: allocate tile data on demandBrian Paul
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 <brianp@vmware.com>
2010-09-27d3d1x: fix MapLuca Barbieri
2010-09-27d3d1x: rework DXGI for occlusion testing and default width/heightLuca Barbieri
2010-09-27d3d1x: put proper calling convention in headers, fixes 64-bit buildsLuca Barbieri
2010-09-27d3d1x: properly support specifying MipLevels as 0Luca Barbieri
2010-09-27d3d1x: support centroid interpolationLuca Barbieri
2010-09-27ureg: support centroid interpolationLuca Barbieri
2010-09-27d3d1x: link to libdrm for X11 platform tooLuca Barbieri
Thanks to Xavier Chantry.
2010-09-27d3d11: ignore StructureByteStrideLuca Barbieri
D3D11 applications are allowed to pass a random value if the buffer is not structured
2010-09-27d3d11: advertise IDXGIDevice1, not just IDXGIDeviceLuca Barbieri
Fixes failure to create device in DirectX SDK samples.
2010-09-27scons: Add MinGW-w64 prefixes for MinGW build.Vinson Lee
2010-09-27r600g: fix routing btw vertex & pixel shaderJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27r600g: fix pointsprite & resource unbindingJerome Glisse
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 <jglisse@redhat.com>
2010-09-27r600g: build packet header onceJerome Glisse
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 <jglisse@redhat.com>
2010-09-27r600g: fix index buffer drawingJerome Glisse
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
2010-09-27d3d1x: link progs with CXXFLAGSLuca Barbieri
2010-09-27d3d1x: fix progs linking if not all EGL platforms are enabledLuca Barbieri
2010-09-27d3d1x: add private gitignore fileLuca Barbieri
2010-09-27d3d1x: fix parallel buildLuca Barbieri
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>