gallivm: fix TXQ crash with MSAA samplers

suggested by Dave Airlie

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17692>
This commit is contained in:
Marek Olšák 2022-08-03 14:03:07 -04:00 committed by Marge Bot
parent c7e155628d
commit 60272d7db4

View file

@ -2624,6 +2624,8 @@ emit_size_query( struct lp_build_tgsi_soa_context *bld,
case TGSI_TEXTURE_BUFFER:
case TGSI_TEXTURE_RECT:
case TGSI_TEXTURE_SHADOWRECT:
case TGSI_TEXTURE_2D_MSAA:
case TGSI_TEXTURE_2D_ARRAY_MSAA:
has_lod = 0;
break;
default: