mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 09:40:08 +01:00
gallivm: initialize texture_unit_offset in emit_size_query
this fixes a crash, 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:
parent
60272d7db4
commit
fd7a968c36
1 changed files with 1 additions and 0 deletions
|
|
@ -2654,6 +2654,7 @@ emit_size_query( struct lp_build_tgsi_soa_context *bld,
|
|||
|
||||
params.int_type = bld->bld_base.int_bld.type;
|
||||
params.texture_unit = unit;
|
||||
params.texture_unit_offset = NULL;
|
||||
params.target = pipe_target;
|
||||
params.context_ptr = bld->context_ptr;
|
||||
params.is_sviewinfo = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue