mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
cell: adjust structure padding
The size of some core Gallium state structures has changed so the padding on some cell structs needed to be adjusted to keep them a multiple of 16 bytes.
This commit is contained in:
parent
e4afe725ee
commit
0087f9dc06
1 changed files with 2 additions and 1 deletions
|
|
@ -230,6 +230,7 @@ struct cell_command_rasterizer
|
|||
{
|
||||
opcode_t opcode; /**< CELL_CMD_STATE_RASTERIZER */
|
||||
struct pipe_rasterizer_state rasterizer;
|
||||
uint32_t pad[1];
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -326,7 +327,7 @@ struct cell_command_sampler
|
|||
opcode_t opcode; /**< CELL_CMD_STATE_SAMPLER */
|
||||
uint unit;
|
||||
struct pipe_sampler_state state;
|
||||
uint32_t pad_[2];
|
||||
uint32_t pad_[3];
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue