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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user