From: Egbert Eich e...@freedesktop.org
When glXBindTexImageEXT is called and SWrast is used there will be a crash when
sPriv-swrast_loader-getImage() is called from swrastSetTexBuffer2(). Reason:
no memory has been allocated for the destination thus texImage-Data is NULL.
Call
On 29 August 2013 21:31, Kenneth Graunke kenn...@whitecape.org wrote:
On 08/29/2013 04:06 PM, Eric Anholt wrote:
The struct argument is what makes me cringe. If upload_vs_state() was:
static void
upload_vs_state(struct brw_context *brw)
{
struct gl_context *ctx = brw-ctx;
This fixes shaders produced by supertuxkart.
Cc: 9.2 mesa-sta...@lists.freedesktop.org
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu
---
src/gallium/drivers/nv30/nvfx_fragprog.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/gallium/drivers/nv30/nvfx_fragprog.c
Some driver/card combinations (r200/RV280, i915/915G) don't support
OpenGL 2.1. These create in some corner cases an indirect context
instead of a direct context when calling glXCreateContextAttribsARB().
This happens because of a bad default value. To avoid this, choose a
more sane default
On 08/30/2013 12:26 PM, Paul Berry wrote:
On 30 August 2013 10:36, Eric Anholt e...@anholt.net
mailto:e...@anholt.net wrote:
Kenneth Graunke kenn...@whitecape.org
mailto:kenn...@whitecape.org writes:
can_cut_index_handle_prims() was passed an array of _mesa_prim
objects
can_cut_index_handle_prims() was passed an array of _mesa_prim objects
and a count, and ran a loop for that many iterations. However, it
treated the array like a pointer, repeatedly checking the first element.
This patch makes it actually check every primitive.
Signed-off-by: Kenneth Graunke