commit | 56842d33d53f3ea76b9359e8ead2ea4487e62dc1 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Thu Jun 06 14:27:13 2019 -0700 |
committer | Eric Anholt <eric@anholt.net> | Fri Jun 21 17:14:43 2019 -0700 |
tree | 0d1a7f1cef82c1a321b2d3b9869b18b685b1f94d | |
parent | 5e7c96b95df0f2d792820a27b278a95a90893e4a [diff] |
freedreno: Fix up end range of unaligned UBO loads. We need the constants uploaded to cover the NIR offset plus the size, not the aligned-down start of our upload range plus the size. Fixes mistaken UBO analysis with mat3 loads. Fixes: 893425a607a6 ("freedreno/ir3: Push UBOs to constant file") Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Rob Clark <robdclark@gmail.com>