From 854fb27275c7744ea022ef9a2eb6320b59388834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 3 Aug 2022 10:54:03 -0400 Subject: [PATCH] gallium/u_blitter: fix the has_txf support condition GLSL 1.30 has it too. Reviewed-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/auxiliary/util/u_blitter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c index 02467822d80..8db2f4d64d3 100644 --- a/src/gallium/auxiliary/util/u_blitter.c +++ b/src/gallium/auxiliary/util/u_blitter.c @@ -215,7 +215,7 @@ struct blitter_context *util_blitter_create(struct pipe_context *pipe) ctx->has_tex_lz = pipe->screen->get_param(pipe->screen, PIPE_CAP_TGSI_TEX_TXF_LZ); ctx->has_txf = pipe->screen->get_param(pipe->screen, - PIPE_CAP_GLSL_FEATURE_LEVEL) > 130; + PIPE_CAP_GLSL_FEATURE_LEVEL) >= 130; ctx->has_sample_shading = pipe->screen->get_param(pipe->screen, PIPE_CAP_SAMPLE_SHADING); ctx->cube_as_2darray = pipe->screen->get_param(pipe->screen,