Skip to content
Snippets Groups Projects
Commit 0741463b authored by Emma Anholt's avatar Emma Anholt Committed by Juan A. Suárez
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>
(cherry picked from commit 5e7c96b9)
parent d54dc24d
No related branches found
No related tags found
Loading
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