[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Public WebGL] vertexAttribPointer conformance test
- To: Erik Möller <emoller@opera.com>, Gregg Tavares <gman@google.com>
- Subject: Re: [Public WebGL] vertexAttribPointer conformance test
- From: Kenneth Russell <kbr@google.com>
- Date: Wed, 22 Dec 2010 10:17:16 -0800
- Cc: "public_webgl@khronos.org" <public_webgl@khronos.org>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1293041838; bh=vrEwXWmGtHSESzAxoZcgGAOip+g=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=AGJpEBUqzzlk0hygnQz5axm4F8m6pm2gWAC9fBewuQqEMqc9MeY10EBwEnf7fFIO0 kTU/Re7KsMWA2r6Dk9gZg==
- 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 :content-transfer-encoding; bh=QHSkLWfZpaCElpO2/XfQ278pyDRA/PxmZ5vj7wgRDyI=; b=jwS+QlC1KIpI1bBCruUqoLkUUCdoiEtsJRbOzfvg1bAcrQA5jZYnk/NJnFnRuZ3HGk K7lIlYE58yOlAnKaJXSQ==
- 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:content-transfer-encoding; b=CmRt3m9GWSnjZseZm4cx3DBVSL9XZLEToOwImVfrrCjAX0vWMfrmHfNeZudPKxlc7m EJrdNz7I/yEpLOWTgytA==
- In-reply-to: <op.vn38wmgfr4mipi@emoller-pc.gothenburg.osa>
- List-id: Public WebGL Mailing List <public_webgl.khronos.org>
- References: <op.vn38wmgfr4mipi@emoller-pc.gothenburg.osa>
- Sender: owner-public_webgl@khronos.org
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.
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:
>
>
-----------------------------------------------------------
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: