summaryrefslogtreecommitdiff
path: root/src/mesa
AgeCommit message (Collapse)Author
2010-04-29st/mesa: remove unused/disabled codeBrian Paul
2010-04-29mesa: added _mesa_print_framebuffer() for debuggingBrian Paul
2010-04-29i965: Reject shaders with uninlined function calls instead of hanging.Eric Anholt
Most of the failure from using uninlined function calls ends up being just bad rendering, but nested function calls in the VS currently hang the GPU, so reject them and explain why.
2010-04-29mesa: Don't overwrite a driver's shader infolog with generic failure message.Eric Anholt
2010-04-29i965: Fix cube map layouts on Ironlake.Eric Anholt
We were doubling up the offsets for the mipmap levels for CPU access. Instead of reimplementing i945_miptree_layout_2d with 6 cube images separated by qpitch, share that function and provide the level offsets later. Fixes piglit cubemap and fbo-cubemap.
2010-04-29i965: Implement VS MAX in a more obvious way.Eric Anholt
This should be functionally equivalent, with the possible exception of NaN handling.
2010-04-29i965: Use immediate float operands for some VS instructions.Eric Anholt
We could use this to reduce constant register pressure, but for now it makes the resulting program assembly much more readable.
2010-04-28st/mesa: move/improve Mesa GPU program debuggingBrian Paul
Print the program (plus its parameters) before calling st_translate_mesa_program() in case we die in that function.
2010-04-28st/mesa: add missing debug entry for DEBUG_CONSTANTSBrian Paul
2010-04-28Merge branch '7.8'Brian Paul
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c
2010-04-28st/mesa: fix incorrect RowStride computationBrian Paul
Fixes incorrect stride when getting a compressed tex image.
2010-04-28st/mesa: fill in stImage->level in st_generate_mipmap()Brian Paul
Before, this field was always zero for all the new mipmap levels. Fixes problems with glGetTexImage() from a generated mipmap.
2010-04-28Merge branch '7.8'Brian Paul
Conflicts: src/glx/dri2_glx.c src/glx/glx_pbuffer.c
2010-04-27Disable scissor when begining meta operationsPierre Willenbrock
Signed-off-by: Eric Anholt <eric@anholt.net>
2010-04-27Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targetsPierre Willenbrock
Signed-off-by: Eric Anholt <eric@anholt.net>
2010-04-27Fill the padding between entrys in the sampler keyPierre Willenbrock
This struct is used to generate a hash, ignoring the entry boundaries. Signed-off-by: Eric Anholt <eric@anholt.net>
2010-04-27i915: Add debugging for just prorgam compile under INTEL_DEBUG=wmEric Anholt
2010-04-27i915: Provide counts in the error messages for program limits.Eric Anholt
2010-04-28radeon: fix warningsMarek Olšák
2010-04-27mesa: Disable scissor when begining meta operationsPierre Willenbrock
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-27Add missing _ in extension category nameIan Romanick
2010-04-27mesa: Don't set srcLevel on GL_TEXTURE_RECTANGLE_ARB targetsPierre Willenbrock
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-04-27mesa: move/rename is_depth_or_stencil_format()Brian Paul
Put it with other, similar functions.
2010-04-27st/mesa: rename var and update st_choose_format() commentsBrian Paul
2010-04-27glapi: Fix loading of old DRI drivers.Chia-I Wu
The removal of _glapi_noop_enable_warnings and _glapi_set_warning_func in e4f168a6f4911a096be97d2e83ef8ad9c5862ec0 prevents DRI drivers built before the commit from loading. Add stub versions of the functions to make them load again.
2010-04-27st/mesa: call is_format_supported() for compressed formatsBrian Paul
These compressed format switch cases shouldn't be hit if we don't support the compressed texture extensions, but let's be safe and ask the driver if they're supported as we do in other cases.
2010-04-27st/mesa: 80-column wrappingBrian Paul
2010-04-27st/mesa: try to get actual compressed format for GL_COMPRESSED_RGB[A] formatsBrian Paul
2010-04-27st/mesa: fix strides in (de)compress_image() functionsBrian Paul
Mipmap generation for compressed textures works now.
2010-04-27dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz
In short what the code did before: __DRIscreen *psp = NULL; if (pcp) psp = pcp->psb; assert(psp); if (psp->stuff) other_stuff(); return psb->even_more(pcp); Remove all that stupid checking which still segfaults/asserts later on and just do what we do in driUnbindContext. Also limited testing show libGL never call driUnbindContext or driBindContext with cPriv == NULL.
2010-04-26mesa: start adding GL 3.1 signed normalized texture formatsBrian Paul
2010-04-26r600: add support for more rendering formatsAlex Deucher
2010-04-26r600: avoid setting invalid bit on r7xx for blitsAlex Deucher
2010-04-26r600: enable VERT_RESULT_PSIZ - makes point size & attenuation workAndre Maasikas
doc additions: shader export ARRAY_BASE for EXPORT_POS: 60 is position, 61 is misc vec(VS_OUT_MISC_VEC - used here), 62, 63 are clip distance vectors(VS_OUT_CCDIST#) sorry for formating - there seem to be so many different styles in r600
2010-04-26r600: adjust point sprites after 911fa4a4a1Andre Maasikas
there's no more vp results for point coords so we cannot iterate over vp outputs. Use only Point.CoordReplace[i]
2010-04-26st_api: Remove st_moduleJakob Bornecrantz
The struct st_module isn't needed as it is the same thing as the st_api struct. That is they both represent the API. Instead just use a single function entry point to the the API.
2010-04-24radeon: Remove NULL check of bo_legacy->tobj.Vinson Lee
bo_legacy->tobj cannot be NULL before the call to driUpdateTextureLRU. There is a NULL check earlier in the routine, and if bo_legacy->tobj is NULL, memory is allocated.
2010-04-24dri: Remove unnecessary header.Vinson Lee
2010-04-24mesa: Eliminate multiple va_list usage.José Fonseca
va_list is a mutable iterator. When passed to a function it will likely point to somewhere else. This fixes segmentation fault in glean vertProg1 on Ubuntu 9.10.
2010-04-23st/mesa: checkpoint WIP: mipmap generation for compressed texturesBrian Paul
Something is wrong with the images strides when compressing/decompressing images...
2010-04-23st/mesa: minor improvements in fallback_generate_mipmap()Brian Paul
2010-04-23st/mesa: remove unneeded #includes and add/update commentsBrian Paul
2010-04-23st/mesa: clean-up: use st_context() everywhereBrian Paul
2010-04-23mesa: simplify some code in _mesa_generate_mipmap()Brian Paul
2010-04-23st/mesa: re-do binding flags in st_ChooseTextureFormat(), againBrian Paul
Try to specify render target bindings flags first. If that fails, try again with just sampler view binding. Note that we try to create the texture resource with render target binding flags later when we allocate the texture. Then, in FBO validation, we check if we can actually render to the textures. If that fails, we generate GL_FRAMEBUFFER_UNSUPPORTED_EXT. Changes suggested by Jose.
2010-04-23st/mesa: replace 'usage' with 'bindings'Brian Paul
2010-04-23st/mesa: replace 'usage' with 'bindings' to be consistentBrian Paul
Plus, update comments and formatting.
2010-04-23st/mesa: don't set RENDER_TARGET/DEPTH_STENCIL flag for compressed texturesBrian Paul
2010-04-23st/mesa: get rid of default_deep_rgba_format()Brian Paul
This special-case code used to be used for the accum buffer but the accum buffer implementation was changed some time ago.
2010-04-23mesa: make is_compressed_format() non-staticBrian Paul