freedreno/ir3: Drop unnecessary alignment of pushed UBO size.
authorEric Anholt <eric@anholt.net>
Mon, 1 Jun 2020 18:40:36 +0000 (11:40 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 5 Jun 2020 20:36:29 +0000 (13:36 -0700)
commit9e58ab09ffbd18355868000b2da90a5cd73b5c09
treedd36928392b8bb2b79ee26cfc8a86aeecd1568f4
parent07ec745014a9fd07a1948aa0f653b1a57b9b5e12
freedreno/ir3: Drop unnecessary alignment of pushed UBO size.

The analysis pass gives us vec4-aligned size, and all of our other
constbuf allocations here are in vec4 units, so we can just divide by 16.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5273>
src/freedreno/ir3/ir3_nir.c