summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-10-27r300g: add a default channel ordering of texture border for unhandled formatsMarek Olšák
It should fix the texture border for compressed textures. Broken since 8449a4772a73f613d9425b691cffba6a261df813.
2010-10-27r600c: add missing radeon_prepare_render() call on evergreenAlex Deucher
2010-10-27r100: revalidate after radeon_update_renderbuffersAlex Deucher
This is a port of 603741a86df0e43c0b52e8c202a35c7fe2fc1d9c to r100. Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-10-27swrast: Print out format on unexpected failure in _swrast_ReadPixels.Vinson Lee
2010-10-27egl: Remove unnecessary headers.Vinson Lee
2010-10-27mesa: Remove unnecessary header.Vinson Lee
2010-10-27st/mesa: Remove unnecessary header.Vinson Lee
2010-10-27r600g: Silence uninitialized variable warnings.Vinson Lee
2010-10-27mesa: Remove unnecessary headers.Vinson Lee
2010-10-27r300g: Silence uninitialized variable warning.Vinson Lee
Fixes this GCC warning. r300_state_derived.c: In function 'r300_update_derived_state': r300_state_derived.c:593: warning: 'r' may be used uninitialized in this function r300_state_derived.c:593: note: 'r' was declared here
2010-10-27r600g: Destroy the blitter.Tilman Sauerbeck
This fix got lost in the state rework merge. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-10-27r600g: In radeon_bo(), call LIST_INITHEAD early.Tilman Sauerbeck
radeon_bo_destroy() will want to read the list field. Without this patch, we'd end up evaluating the list pointers before they have been properly set up when we destroyed the newly created bo if it cannot be mapped. Signed-off-by: Tilman Sauerbeck <tilman@code-monkey.de>
2010-10-26mesa: rename function to _mesa_is_format_integer_color()Brian Paul
Be a bit more clear about its operation.
2010-10-26mesa: fix bug in _mesa_is_format_integer()Brian Paul
We only want to return true if it's an integer _color_ format, not a depth and/or stencil format. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31143
2010-10-26mesa: remove the unused _mesa_is_fragment_shader_active() functionBrian Paul
This reverts commit 013d5ffeec3af5665c81c6a7a8370d21699ca609.
2010-10-26mesa: call _mesa_valid_to_render() in glDrawPixels, glCopyPixels, glBitmapBrian Paul
This lets us simplify and consolidate some state checking code. This implements the GL_INVALID_OPERATION check for all drawing commands required by GL_EXT_texture_integer.
2010-10-26mesa: do integer FB / shader validation check in _mesa_valid_to_render()Brian Paul
2010-10-26i965: Disable register spilling on gen6 until it's fixed.Eric Anholt
Avoids GPU hang on glsl-fs-convolution-1.
2010-10-26i965: Fix VS URB entry sizing.Eric Anholt
I'm trying to clamp to a minimum of 1 URB row, not a maximum of 1. Fixes: glsl-kwin-blur glsl-max-varying glsl-routing
2010-10-26i965: Drop the eot argument to read messages, which can never be set.Eric Anholt
2010-10-26i965: Add support for constant buffer loads on gen6.Eric Anholt
Fixes glsl-fs-uniform-array-5.
2010-10-26i965: Set up the constant buffer on gen6 when it's needed.Eric Anholt
This was slightly confused because gen6_wm_constants does the push constant buffer, while brw_wm_constants does pull constants.
2010-10-26i965: Fix typo in comment about state flags.Eric Anholt
2010-10-26i965: Handle new ir_unop_round_even in channel expression splitting.Eric Anholt
2010-10-26i965: Add support for discard instructions on gen6.Eric Anholt
It's a little more painful than before because we don't have the handy mask register any more, and have to make do with cooking up a value out of the flag register.
2010-10-26i965: Add disasm for the flag register.Eric Anholt
2010-10-26i965: Clear some undefined fields of g0 when using them for gen6 FB writes.Eric Anholt
This doesn't appear to help any testcases I'm looking at, but it looks like it's required.
2010-10-26i965: Use SENDC on the first render target write on gen6.Eric Anholt
This is apparently required, as the thread will be initiated while it still has dependencies, and this is what waits for those to be resolved before writing color.
2010-10-26i965: Clarify an XXX comment in FB writes with real info.Eric Anholt
2010-10-26i965: Add EU code for dword scattered reads (constant buffer array indexing).Eric Anholt
2010-10-26egl_dri2: Fix a typo that make glFlush be called at wrong time.Chia-I Wu
We want to call glFlush when there is a current context. That is, old_ctx. This is a regression introduced by d19afc57fe49816f3f3290410e0124d326577be2.
2010-10-26r600g: add assembler support for all the kcache fields.Dave Airlie
2010-10-25mesa: additional teximage error checks for GL_EXT_texture_integerBrian Paul
2010-10-25mesa: additional switch cases for GL_EXT_texture_integerBrian Paul
2010-10-25mesa: additional glReadPixels error checks for GL_EXT_texture_integerBrian Paul
2010-10-26r600g: fix magic 0x1 ->flat shade enaDave Airlie
2010-10-25glsl: Fix constant component count in vector constructor emitting.Kenneth Graunke
Fixes freedesktop.org bug #31101 as well as piglit test cases assignment-type-mismatch.vert and constructor-28.vert.
2010-10-25glsl: Fix ast-to-hir for ARB_fragment_coord_conventionsChad Versace
Function ast_declarator_list::hir(), when processing keywords added by extension ARB_fragment_coord_conventions, made the mistake of checking only if the extension was __supported by the driver__. The correct behavior is to check if the extensi0n is __enabled in the parse state__. NOTE: this is a candidate for the 7.9 branch. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-10-25translate: remove unused prototypesBrian Paul
2010-10-25translate: use function typedefs, casts to silence warningsBrian Paul
2010-10-25st/mesa: support RGBA16 and use it for RGBA12 as wellMarek Olšák
Tested with r300g. Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-10-25rtasm: use pointer_to_func() to silence warningBrian Paul
2010-10-25util: use pointer_to_func() to silence warningBrian Paul
2010-10-25xlib: silence unused var warningBrian Paul
2010-10-25mesa: fix uninitialized var warningBrian Paul
http://bugs.freedesktop.org/show_bug.cgi?id=31067
2010-10-25mesa: silence enum comparison warningBrian Paul
http://bugs.freedesktop.org/show_bug.cgi?id=31069
2010-10-24r300g: fix texture border for 16-bits-per-channel formatsMarek Olšák
This is kinda hacky, but it's hard to come up with a generic solution for all formats when only a few are used in practice (I mostly get B8G8R8*8).
2010-10-24mesa: allow FBO attachments of formats LUMINANCE, LUMINANCE_ALPHA, and INTENSITYMarek Olšák
As per the GL_ARB_framebuffer_object specification. Signed-off-by: Marek Olšák <maraeo@gmail.com>
2010-10-24Ensure -L$(TOP)/$(LIB_DIR) appears in link line before any -L in $LDFLAGSJon TURNEY
Ensure -L$(TOP)/$(LIB_DIR) (the staging dir for build products), appears in the link line before any -L in $LDFLAGS, so that we link driver we are building with libEGL we have just built, and not an installed version [olv: make a similar change to targets/egl] Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>