[Piglit] [PATCH] [v3] Add test case on error check on glGetTexImage with type

Brian Paul brianp at vmware.com
Thu Dec 15 05:13:28 PST 2011

On 12/14/2011 07:10 PM, jian.j.zhao at intel.com wrote:
> From: Jian Zhao<jian.j.zhao at intel.com>
> As glGetTexImage in OpenGL 4.2 Reference Pages:
>   "GL_INVALID_OPERATION is returned if type is one of GL_UNSIGNED_BYTE_3_3_2,
> GL_UNSIGNED_SHORT_5_6_5_REV, or GL_UNSIGNED_INT_10F_11F_11F_REV and format is
> not GL_RGB".
> v2: change the test name to be more specific and change some code style to be
> easier to read (per Brian's suggest).
> v3: move the case to the spec directory and rename it to getteximage_error_check.c (per Brian's suggest)
> Signed-off-by: Jian Zhao<jian.j.zhao at intel.com>

Reviewed-by: Brian Paul <brianp at vmware.com>

More information about the Piglit mailing list