Re: [Mesa-dev] [PATCH v2] mesa: add GL_RED, GL_RG support for floating point textures

2015-06-09 Thread Tapani Pälli
On 06/09/2015 11:25 AM, Kenneth Graunke wrote: On Tuesday, June 09, 2015 09:53:42 AM Tapani Pälli wrote: Mesa supports EXT_texture_rg and OES_texture_float. This patch adds support for using unsized enums GL_RED and GL_RG for floating point targets and writes proper checks for internalformat w

Re: [Mesa-dev] [PATCH v2] mesa: add GL_RED, GL_RG support for floating point textures

2015-06-09 Thread Kenneth Graunke
On Tuesday, June 09, 2015 09:53:42 AM Tapani Pälli wrote: > Mesa supports EXT_texture_rg and OES_texture_float. This patch adds > support for using unsized enums GL_RED and GL_RG for floating point > targets and writes proper checks for internalformat when format is > GL_RED or GL_RG and type is of

[Mesa-dev] [PATCH v2] mesa: add GL_RED, GL_RG support for floating point textures

2015-06-08 Thread Tapani Pälli
Mesa supports EXT_texture_rg and OES_texture_float. This patch adds support for using unsized enums GL_RED and GL_RG for floating point targets and writes proper checks for internalformat when format is GL_RED or GL_RG and type is of GL_FLOAT or GL_HALF_FLOAT. Later, internalformat will get adjust