On Sun, Feb 7, 2010 at 3:16 PM, Pauli Nieminen <suok...@gmail.com> wrote:
> Queried variables GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS and
> GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS are not part ARB_vertex_program.
> Mesa only returns them if driver implements ARB_vertex_shader
> which is correct according to extension specifications.
>
> Signed-off-by: Pauli Nieminen <suok...@gmail.com>
> ---
>  tests/shaders/vp-combined-image-units.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/tests/shaders/vp-combined-image-units.c 
> b/tests/shaders/vp-combined-image-units.c
> index 743fc3d..0dc4a42 100644
> --- a/tests/shaders/vp-combined-image-units.c
> +++ b/tests/shaders/vp-combined-image-units.c
> @@ -74,5 +74,6 @@ piglit_display(void)
>  void
>  piglit_init(int argc, char **argv)
>  {
> -       piglit_require_extension("GL_ARB_vertex_program");
> +       piglit_require_extension("GL_ARB_vertex_shader");
>  }
> +
> --

There's also a comment near the top of the file which should be
updated.  Thanks.

Can you commit to piglit?

-Brian

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to