mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
nak/qmd: QMD versions 4.0 and 5.0 are both 384B
Reviewed-by: Mel Henning <mhenning@darkrefraction.com> Backport-to: 25.2 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36995>
This commit is contained in:
parent
0e268dad00
commit
00a845a698
1 changed files with 4 additions and 4 deletions
|
|
@ -472,12 +472,12 @@ mod qmd_4_0 {
|
|||
|
||||
#[repr(transparent)]
|
||||
pub struct Qmd4_0 {
|
||||
qmd: [u32; 64],
|
||||
qmd: [u32; 96],
|
||||
}
|
||||
|
||||
impl QMD for Qmd4_0 {
|
||||
fn new() -> Self {
|
||||
let mut qmd = [0; 64];
|
||||
let mut qmd = [0; 96];
|
||||
let mut bv = QMDBitView::new(&mut qmd);
|
||||
qmd_init!(bv, clcbc0, QMDV04_00, 4, 0);
|
||||
Self { qmd }
|
||||
|
|
@ -514,12 +514,12 @@ mod qmd_5_0 {
|
|||
}
|
||||
|
||||
pub struct Qmd5_0 {
|
||||
qmd: [u32; 64],
|
||||
qmd: [u32; 96],
|
||||
}
|
||||
|
||||
impl QMD for Qmd5_0 {
|
||||
fn new() -> Self {
|
||||
let mut qmd = [0; 64];
|
||||
let mut qmd = [0; 96];
|
||||
let mut bv = QMDBitView::new(&mut qmd);
|
||||
qmd_init!(bv, clcdc0, QMDV05_00, 5, 0);
|
||||
set_field!(bv, clcdc0, QMDV05_00, QMD_TYPE, 0x2);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue