[Piglit] [PATCH] gl-3.1: Add test for attributeless rendering with gl_VertexID

Kenneth Graunke kenneth at whitecape.org
Sat Apr 26 23:51:10 PDT 2014


On 04/22/2014 02:47 PM, Chris Forbes wrote:
> This tests that rendering with no vertex attributes bound works, in the
> core profile. The vertex positions are determined using gl_VertexID.
> 
> This currently provokes some bad behavior in the i965 backend --
> the whole array of constant data gets spilled to scratch to support the
> nonconstant index.
> 
> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>

I think Jordan's right that this could probably be made a shader_runner
test, but it sounds like there are some issues there at the moment.

In case you want to proceed with it as is, this is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140426/93ebb331/attachment.sig>


More information about the Piglit mailing list