mesa/xfb: report calculated size for XFB buffer objects.
authorDave Airlie <airlied@redhat.com>
Sun, 29 May 2016 20:56:52 +0000 (06:56 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 30 May 2016 11:18:54 +0000 (21:18 +1000)
commitbac39dddcf28d9d2df2f60c8dbb384c54366ed73
treef7436d11dfe9b0e0e708326cd1d8b3361c803ef9
parente7bd5b4b77ec521c3e00ffeb276904d2da1e7078
mesa/xfb: report calculated size for XFB buffer objects.

This fixes:
GL45-CTS.direct_state_access.xfb_buffers

This test looks correct to me, we should work out the
size value and report it rather than using only the size
from the Range interface.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/transformfeedback.c