[v2 PATCH 03/10] d3d10/effect: Use data_size of the variable as buffer size.