gallium/u_blitter: fix the has_txf support condition

GLSL 1.30 has it too.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17692>
This commit is contained in:
Marek Olšák 2022-08-03 10:54:03 -04:00 committed by Marge Bot
parent 2057516922
commit 854fb27275

View file

@ -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,