Home
last modified time | relevance | path

Searched refs:valid_layer_stride (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c48 uint32_t valid_stride, valid_layer_stride; in vtest_get_transfer_size() local
56 valid_layer_stride = util_format_get_2d_size(res->format, valid_stride, in vtest_get_transfer_size()
60 valid_layer_stride = layer_stride; in vtest_get_transfer_size()
64 return valid_layer_stride * box->depth; in vtest_get_transfer_size()
/external/virglrenderer/src/
Dvrend_renderer.c5949 GLuint valid_stride, valid_layer_stride; in check_iov_bounds() local
5962 valid_layer_stride = util_format_get_2d_size(res->base.format, valid_stride, in check_iov_bounds()
5976 if (info->layer_stride < valid_layer_stride) in check_iov_bounds()
5978 valid_layer_stride = info->layer_stride; in check_iov_bounds()
5982 send_size = valid_layer_stride * info->box->depth; in check_iov_bounds()