Skip to content

Draft: vrend: use glGetQueryBufferObject*

Juston Li requested to merge justonli/virglrenderer:vrend-query-buffer into main

When retrieving queries into query buffers, use glGetQueryBufferObject* which bounds checks the offsets.

See https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/mesa/main/queryobj.c#L1143

Tested glcts --deqp-case=KHR-GL46.*query*

Closes: https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/394

/cc @linyaa @tintou @gerddie @digetx

Edited by Juston Li

Merge request reports

Loading