projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4afe72
)
cell: adjust structure padding
author
Brian Paul
<brianp@vmware.com>
Fri, 12 Feb 2010 18:07:01 +0000
(11:07 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 12 Feb 2010 18:07:51 +0000
(11:07 -0700)
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.
src/gallium/drivers/cell/common.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/cell/common.h
b/src/gallium/drivers/cell/common.h
index 7f2b33c2dcc9eafd13d9f620bdf6a2d7d0cf2ba1..bbb112fd3366b79f34289dcc5d983a9bdfe6cbd7 100644
(file)
--- a/
src/gallium/drivers/cell/common.h
+++ b/
src/gallium/drivers/cell/common.h
@@
-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
];
};