b2613ba0fb
Use the SAMPLE_COUNT_END_OFFSET attribute when writing out the sample count at the end of ZPASS_DONE event, if the GPU version supports it. The write is done 16 bytes into the specified iova address, which is already where the tu_renderpass_samples struct on top of that address expects the end value. Signed-off-by: Zan Dobersek <zdobersek@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28610>