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

Chris Forbes chrisf at ijw.co.nz
Mon Apr 28 23:56:54 PDT 2014


Yep, I'll push this as-is, and look at converting it to a
shader_runner test when the issues there are sorted.

On Sun, Apr 27, 2014 at 6:51 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> 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>
>


More information about the Piglit mailing list