mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
freedreno/a6xx: don't emit a bogus size for empty cb slots
Noticed that asphalt9 had no uniforms bound, so cb[0] is null. In theory shouldn't cause a problem, since nothing is doing `ldc` against cb[0], but to be safe we should use SIZE=0. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6117>
This commit is contained in:
parent
ba9d502d24
commit
82b419fefd
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ fd6_emit_ubos(struct fd_context *ctx, const struct ir3_shader_variant *v,
|
|||
0);
|
||||
} else {
|
||||
OUT_RING(ring, 0xbad00000 | (i << 16));
|
||||
OUT_RING(ring, 0xbad00000 | (i << 16));
|
||||
OUT_RING(ring, A6XX_UBO_1_SIZE(0));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue