radv/winsys: fix padding command stream for SI
authorDave Airlie <airlied@redhat.com>
Wed, 26 Jul 2017 02:25:24 +0000 (03:25 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 26 Jul 2017 22:38:23 +0000 (23:38 +0100)
commitd4b079e708b8e4dab45f2f8467b2a8a4c37bbfa6
treed59b8c9eae4280a5a80da711cd8002e596726a6c
parenta81e99f50a718790de379087c9f5a636e32b2a28
radv/winsys: fix padding command stream for SI

We were adding pad to size after creating the object, so we could
submit a CS bigger than the bo created for it.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c