summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-09-27r300/compiler: Print immediate values after "dead constants" passTom Stellard
2010-09-27r300/compiler: Add more helper functions for iterating through sourcesTom Stellard
rc_for_all_reads_src() and rc_pair_for_all_reads_arg() pass references to instruction sources to the callback so they can be modified directly.
2010-09-28r300g: add support for 3D NPOT textures without mipmappingMarek Olšák
The driver actually creates a 3D texture aligned to POT and does all the magic with texture coordinates in the fragment shader. It first emulates REPEAT and MIRRORED wrap modes in the fragment shader to get the coordinates into the range [0, 1]. (already done for 2D NPOT) Then it scales them to get the coordinates of the NPOT subtexture. NPOT textures are now less of a lie and we can at least display something meaningful even for the 3D ones. Supported wrap modes: - REPEAT - MIRRORED_REPEAT - CLAMP_TO_EDGE (NEAREST filtering only) - MIRROR_CLAMP_TO_EDGE (NEAREST filtering only) - The behavior of other CLAMP modes is undefined on borders, but they usually give results very close to CLAMP_TO_EDGE with mirroring working perfectly. This fixes: - piglit/fbo-3d - piglit/tex3d-npot
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-27Remove unnescessary initializations of UpdateTexturePaletteIan Romanick
This is already NULL'ed in _mesa_init_driver_functions.
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-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-25swrast: update comments for REMAINDER() macroBrian Paul
2010-09-25intel: Remove unnecessary header.Vinson Lee
2010-09-25mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0Dave Airlie
1acadebd6270d3604b026842b8a21360968618a0 fixed the pointer but not the cast.
2010-09-24intel: Remove unnecessary headers.Vinson Lee
2010-09-24unichrome: Remove unnecessary header.Vinson Lee
2010-09-24mesa: Remove unnecessary headers.Vinson Lee
2010-09-24intel: Fix implicit declaration of function '_mesa_meta_Bitmap' warning.Vinson Lee
Fix this GCC warning. intel_pixel_bitmap.c: In function 'intelBitmap': intel_pixel_bitmap.c:343: warning: implicit declaration of function '_mesa_meta_Bitmap'
2010-09-24mesa: Fix type typo in glGenerateMipmap handling of GL_UNSIGNED_INT data.Eric Anholt
Fixes ARB_depth_texture/fbo-generatemipmap-formats.
2010-09-24intel: Improve some of the miptree debugging.Eric Anholt
2010-09-24intel: More reverting of the sw fallback for depth texture border color.Eric Anholt
The rest was done with 9aec1288eeae8e87adc9a99f377be536892941b2
2010-09-24intel: Add fallback debug to glGenerateMipmap.Eric Anholt
2010-09-24intel: Fix segfault on INTEL_DEBUG=fbo with unsupported framebuffers.Eric Anholt
2010-09-24i965: Add support for rendering to SARGB8 FBOs.Eric Anholt
Tested with fbo-generatemipmap-formats GL_EXT_texture_srgb. The test still fails on SLA8, though.
2010-09-24intel: Corresponding FinishRenderTexture debug to BeginRenderTexture.Eric Anholt
2010-09-24intel: Dead comment removal.Eric Anholt
2010-09-24r600c: fix mipmap stride on evergreenAlex Deucher
taken from Dave's r600g fix
2010-09-24st/mesa: use the wrapped renderbuffer in CopyPixels()Brian Paul
Fixes assertion failures when copying stencil pixels. NOTE: this is a candidate for the 7.9 branch.
2010-09-24st/mesa: add missing MESA_FORMAT_S8 case in st_mesa_format_to_pipe_format()Brian Paul
NOTE: this is a candidate for the 7.9 branch.
2010-09-24mesa: fix assertions to handle srgb formatsBrian Paul
http://bugs.freedesktop.org/show_bug.cgi?id=30333 NOTE: This is a candidate for the 7.9 branch.
2010-09-23i915: Remove a dead if (0) block.Eric Anholt
2010-09-23intel: Remove dead intelIsTextureResident().Eric Anholt
It always returned 1 (GL_TRUE), which is the same thing that happens when the driver hook isn't present.
2010-09-23unichrome: Mostly revert my convolution removal changes.Eric Anholt
For this driver, the minimum pitch alignment stuff does appear to be necessary, so leave the separate munged width/height variable in place.
2010-09-23radeon: Remove copied minimum pitch alignment code.Eric Anholt
This is already covered by radeon_mipmap_tree.c, and my convolution cleanups broke in the presence of this code. Thanks to Marek Olšák for tracking down the relevant miptree code for me.
2010-09-23intel: Replace my intel_texture_bitmap code with _mesa_meta_Bitmap.Eric Anholt
The meta code is more general than mine, and appears to pass the same sets of tests (piglit + some oglconform).
2010-09-23intel: Remove unnecessary minimum pitch alignment to 32 bytes.Eric Anholt
This broke with the cleanup I did in convolution removal. It's unnecessary anyway since region_alloc_tiled adjusts pitches for us (64 byte alignment)
2010-09-23intel: Remove disabled stencil drawpixels acceleration.Eric Anholt
We still retain the fallback override for GL_STENCIL_INDEX, because the metaops version fails at oglconform.
2010-09-23mesa: Remove EXT_convolution.Eric Anholt
More optional code.
2010-09-23mesa: Remove SGI_color_matrix.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove SGI_color_table.Eric Anholt
Another optional ARB_imaging subset extension.
2010-09-23mesa: Remove EXT_histogram.Eric Anholt
This has always been optional, and not useful.
2010-09-23mesa: Remove the non-required ARB_imaging extension.Eric Anholt
Many of the EXT_ extensions in the subset have significant code overhead with no users. It is not a required part of GL -- though text describing the extension is part of the core spec since 1.2, it is always conditional on the ARB_imaging extension.
2010-09-23egl: fix build since 17eace581d25a626a7d75d9d1205d012cbb14a6eDave Airlie
looks like mesa st didn't get updated.