mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 11:00:11 +01:00
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:
parent
2057516922
commit
854fb27275
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue