mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
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:
parent
34ffa4cd10
commit
f6301a7727
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue