diff options
author | Axel Davy <[email protected]> | 2019-01-23 22:48:17 +0100 |
---|---|---|
committer | Axel Davy <[email protected]> | 2019-04-30 19:18:52 +0200 |
commit | 9942ba2ea3bdfc55e2c832c8a03623d35e3bfe1f (patch) | |
tree | 37890c559e5020c469420de63dd72ae3f3f9739e /src/freedreno/vulkan/tu_android.c | |
parent | a3cdc466e75814cf5e18b51c760d17385771938d (diff) |
st/nine: Cache constant buffer size
The shader constant buffer size with the
constant compaction code can vary depending
on the shader variant compiled (for example if
fog constants are required, etc).
Thus instead of using fixed size for the shader,
add in the variant cache the size required, pass it
to the context, and use this value.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/freedreno/vulkan/tu_android.c')
0 files changed, 0 insertions, 0 deletions