mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
pan/bi: Passthrough ZERO in branch packing
There's a special mode for it. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5260>
This commit is contained in:
parent
d619ff009b
commit
f1298ae336
1 changed files with 1 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ bi_assign_uniform_constant_single(
|
|||
|
||||
bi_foreach_src(ins, s) {
|
||||
if (s == 0 && (ins->type == BI_LOAD_VAR_ADDRESS || ins->type == BI_LOAD_ATTR)) continue;
|
||||
if (s == 1 && (ins->type == BI_BRANCH)) continue;
|
||||
|
||||
if (ins->src[s] & BIR_INDEX_CONSTANT) {
|
||||
/* Let direct addresses through */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue