Re: [Mesa-dev] [PATCH] st: Choose a 2101010 format for GL_RGB/GL_RGBA with a 2_10_10_10 type.

2018-04-25 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Wed, Apr 25, 2018 at 3:08 PM, Eric Anholt wrote: > GLES's GL_EXT_texture_type_2_10_10_10_REV allows uploading this type to an > unsized internalformat, and it should be non-color-renderable. > fbobject.c's implementation

[Mesa-dev] [PATCH] st: Choose a 2101010 format for GL_RGB/GL_RGBA with a 2_10_10_10 type.

2018-04-25 Thread Eric Anholt
GLES's GL_EXT_texture_type_2_10_10_10_REV allows uploading this type to an unsized internalformat, and it should be non-color-renderable. fbobject.c's implementation of the check for color-renderable is checks that the texture has a 2101010 mesa format, so make sure that we have chosen a 2101010