projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e1556
)
gallivm: fix TXQ crash with MSAA samplers
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 3 Aug 2022 18:03:07 +0000
(14:03 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 9 Aug 2022 19:19:09 +0000
(19:19 +0000)
suggested by Dave Airlie
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17692>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index
290cea4
..
5f4f122
100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@
-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: