nak: Count GLOBAL_SIZE_OFFSET in bytes, not words

This matches what nvk_mme_dispatch_indirect expects

Fixes: 16f2249a ("nvk: Use the NAK helpers to fill QMDs")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28844>
This commit is contained in:
M Henning 2024-04-21 16:53:54 -04:00 committed by Marge Bot
parent 34ffa4cd10
commit f6301a7727

View file

@ -68,7 +68,7 @@ macro_rules! qmd_impl_common {
const GLOBAL_SIZE_OFFSET: usize = {
let w = paste! {$c::[<$s _CTA_RASTER_WIDTH>]};
assert!(w.end == w.start + 32);
w.start / 32
w.start / 8
};
fn set_global_size(&mut self, width: u32, height: u32, depth: u32) {