mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 13:00:09 +01:00
freedreno: a2xx: increase size of the offset field in instr_fetch_vtx_t
The offset field is 22 bit large. 11 bits are necessary because MaxVertexAttribRelativeOffset = 2047 Signed-off-by: Jonathan Marek <jonathan@marek.ca> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
parent
69ae42ca4c
commit
d5ff36b97b
1 changed files with 2 additions and 4 deletions
|
|
@ -366,10 +366,8 @@ typedef struct PACKED {
|
|||
uint8_t pred_select : 1;
|
||||
/* dword2: */
|
||||
uint8_t stride : 8;
|
||||
/* possibly offset and reserved4 are swapped on a200? */
|
||||
uint8_t offset : 8;
|
||||
uint8_t reserved4 : 8;
|
||||
uint8_t reserved5 : 7;
|
||||
uint32_t offset : 22;
|
||||
uint8_t reserved4 : 1;
|
||||
uint8_t pred_condition : 1;
|
||||
} instr_fetch_vtx_t;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue