Skip to content
Snippets Groups Projects
Commit 5e7c96b9 authored by Emma Anholt's avatar Emma Anholt
Browse files

freedreno: Fix UBO load range detection on booleans.


NIR 1-bit bool dests will have a bit size of 1, and thus a calculated
"bytes" of 0.  load_ubo is always loading from dwords in the source.

Fixes: 893425a6 ("freedreno/ir3: Push UBOs to constant file")
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
parent 23a7feda
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment