Maybe combine common items with ARB_texture_float check below? You could
introduce something like:
if (ctx->Extensions.ARB_texture_float ||
ctx->Extensions.OES_texture_half_float) {
...
}
if (ctx->Extensions.ARB_texture_float ||
ctx->Extensions.OES_texture_float) {
...
}
On 10/20/2017
On Fri, Oct 20, 2017 at 10:21:21PM +0200, Christian Gmeiner wrote:
> Signed-off-by: Christian Gmeiner
> ---
> src/mesa/main/glformats.c | 19 +++
> 1 file changed, 19 insertions(+)
Reviewed-by: Wladimir J. van der Laan
(as far as
Signed-off-by: Christian Gmeiner
---
src/mesa/main/glformats.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c
index 1e797c24c2..78299aebae 100644
--- a/src/mesa/main/glformats.c
+++