[Piglit] [PATCH] Verify that vertex shader attributes are assigned in order starting w/0

Chad Versace chad.versace at linux.intel.com
Tue Jun 11 12:57:58 PDT 2013


On 06/08/2013 01:04 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> THIS IS NOT REQUIRED BY ANY VERSION OF THE OpenGL SPECIFICATION!
>
> However, almost every OpenGL implementation happens to behave this way
> when there is a single vertex shader compilation unit linked into the
> program.  As a result, some programs accidentally rely on this behavior.
> If the application was never tested on a implementation that behaves any
> other way, there's a reasonable chance it has bugs without its
> developers even knowing.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: Chad Versace <chad.versace at linux.intel.com>
> ---
>   tests/all.tests                            |   1 +
>   tests/spec/gl-2.0/api/CMakeLists.gl.txt    |   1 +
>   tests/spec/gl-2.0/api/attrib-assignments.c | 111 +++++++++++++++++++++++++++++
>   3 files changed, 113 insertions(+)
>   create mode 100644 tests/spec/gl-2.0/api/attrib-assignments.c

Reviewed-by: Chad Versace <chad.versace at linux.intel.com>


More information about the Piglit mailing list