[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] vertexAttribPointer conformance test
- To: Kenneth Russell <kbr@google.com>
- Subject: Re: [Public WebGL] vertexAttribPointer conformance test
- From: "Gregg Tavares (wrk)" <gman@google.com>
- Date: Wed, 22 Dec 2010 11:55:35 -0800
- Cc: Erik Möller <emoller@opera.com>, "public_webgl@khronos.org" <public_webgl@khronos.org>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1293047738; bh=WXxcvFSrGrbT4n/iIFeCIRAsM9Y=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=bX4DG796bbk9v5JMycg/9HimO5pWIgDnxBp8KPrZOJFyVwy5HJ0dlgqzVslrKCJIU HFvmkHpxGY+cog0Np9G/g==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=9XjomDmk6Bzvn+BNj5yFCSucXpILWk46V67oCWALPjw=; b=Cuf5teDRIdVskH2xczkAh062uj2RvlOq6WXOauxrogYioA8afr0n8HQveZUAyZzQn0 vm+1sjWC5A99gLB1GjRQ==
- Domainkey-signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=SoPYw0eKc1phWxobul5wdvjD3ScVkJ8xLS4+6oDM+W9Rtu7OJDP5UGsYKDEb5zjTk0 qktJg9euCSPLwLqA4jHQ==
- In-reply-to: <AANLkTimGNRzXQCef=62XgpqM1rUs3=iupTWGM+sOXkQd@mail.gmail.com>
- List-id: Public WebGL Mailing List <public_webgl.khronos.org>
- References: <op.vn38wmgfr4mipi@emoller-pc.gothenburg.osa> <AANLkTimGNRzXQCef=62XgpqM1rUs3=iupTWGM+sOXkQd@mail.gmail.com>
- Sender: owner-public_webgl@khronos.org
On Wed, Dec 22, 2010 at 10:17 AM, Kenneth Russell
<kbr@google.com> wrote:
On Wed, Dec 22, 2010 at 4:56 AM, Erik Möller <
emoller@opera.com> wrote:
> Hi,
>
> seems to be a small error in the gl-vertexattribpointer test. It's checking
> that gl.vertexAttribPointer(0, 1, gl.FLOAT, 0, 255, 0); is allowed. Should
> be changed to gl.BYTE so the stride is a valid multiple of the type size.
Sure I can change it. I'm curious though, why the change from the OpenGL spec? There are lots of things I would love to change about OpenGL, why this one in particular?
CC'ing Gregg. Looking at that test, it seems to me it should be split
into two sections, one with valid offsets and one with invalid offsets
verifying that INVALID_OPERATION is generated.
> Also a reference from drawElements and vertexAttribPointer to section 6.3
> would be good.
Added.
-Ken
> --
> Erik Möller
> Core Developer
> Opera Software
> -----------------------------------------------------------
> You are currently subscribed to
public_webgl@khronos.org.
> To unsubscribe, send an email to
majordomo@khronos.org with
> the following command in the body of your email:
>
>