mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 07:08:04 +02:00
zink: fix broken compiler assert
cc: mesa-stable
(cherry picked from commit 44f2c40830)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40092>
This commit is contained in:
parent
c4bb652871
commit
641a3ea0d9
2 changed files with 2 additions and 2 deletions
|
|
@ -2814,7 +2814,7 @@
|
|||
"description": "zink: fix broken compiler assert",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -753,7 +753,7 @@ lower_line_smooth_gs_store(nir_builder *b,
|
|||
gl_varying_slot location = var->data.location;
|
||||
unsigned location_frac = var->data.location_frac;
|
||||
if (location != VARYING_SLOT_POS) {
|
||||
assert(state->varyings[location]);
|
||||
assert(state->varyings[location][location_frac]);
|
||||
nir_store_var(b, state->varyings[location][location_frac],
|
||||
intrin->src[1].ssa,
|
||||
nir_intrinsic_write_mask(intrin));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue